ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/CMakeLists.txt
Revision: 1.12
Committed: Fri Jul 26 16:18:06 2019 UTC (4 years, 9 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 1.11: +3 -0 lines
Log Message:
Moved rcode map support to common directory

File Contents

# Content
1 set(rtrad_SOURCES
2 addobjnotify.c
3 badarg.c
4 biggerlib.c
5 bmalloc.c
6 bmpfile.c
7 bsdf.c
8 bsdf_m.c
9 bsdf_t.c
10 byteswap.c
11 caldefn.c
12 calexpr.c
13 calfunc.c
14 calprnt.c
15 ccolor.c
16 ccyrgb.c
17 chanvalue.c
18 clip.c
19 color.c
20 colrops.c
21 cone.c
22 cvtcmd.c
23 depthcodec.c
24 dircode.c
25 disk2square.c
26 ealloc.c
27 eputs.c
28 erf.c
29 error.c
30 expandarg.c
31 ezxml.c
32 face.c
33 falsecolor.c
34 fdate.c
35 fgetline.c
36 fgetval.c
37 fgetword.c
38 fixargv0.c
39 font.c
40 fputword.c
41 free_os.c
42 fropen.c
43 fvect.c
44 gethomedir.c
45 getlibpath.c
46 getpath.c
47 header.c
48 hilbert.c
49 idmap.c
50 image.c
51 instance.c
52 interp2d.c
53 invmat4.c
54 lamps.c
55 linregr.c
56 loadbsdf.c
57 loadvars.c
58 lookup.c
59 mat4.c
60 mesh.c
61 modobject.c
62 multisamp.c
63 myhostname.c
64 normcodec.c
65 objset.c
66 octree.c
67 otypes.c
68 paths.c
69 plocate.c
70 portio.c
71 process.c
72 quit.c
73 readfargs.c
74 readmesh.c
75 readobj.c
76 readoct.c
77 resolu.c
78 rexpr.c
79 savestr.c
80 savqstr.c
81 sceneio.c
82 spec_rgb.c
83 tcos.c
84 timegm.c
85 tmap16bit.c
86 tmapcolrs.c
87 tmapluv.c
88 tmaptiff.c
89 tmesh.c
90 tonemap.c
91 triangulate.c
92 urand.c
93 urind.c
94 wordfile.c
95 words.c
96 wputs.c
97 xf.c
98 zeroes.c
99 )
100
101 if(UNIX)
102 list(APPEND rtrad_SOURCES unix_process.c)
103 else()
104 list(APPEND rtrad_SOURCES win_process.c win_popen.c win_usleep.c strlcpy.c)
105 endif()
106
107 add_library(rtrad ${rtrad_SOURCES})
108 target_link_libraries(rtrad ${LIB_M})
109 if(WIN32)
110 target_link_libraries(rtrad ws2_32)
111 endif()
112
113 add_library(rgl
114 rgldomat.c
115 rglfile.c
116 rglinst.c
117 rglmat.c
118 rglsrc.c
119 rglsurf.c
120 )
121
122 add_library(mgf
123 mgf_context.c
124 mgf_object.c
125 mgf_parser.c
126 mgf_xf.c
127 )
128
129 add_library(libreetz
130 g3affine.c
131 g3affine.h
132 g3flist.c
133 g3flist.h
134 g3list.h
135 g3nlist.h
136 g3sphere.c
137 g3sphere.h
138 g3vector.c
139 g3vector.h
140 gbasic.c
141 gbasic.h
142 muc_randvar.c
143 muc_randvar.h
144 )
145
146 add_executable(testBSDF
147 bsdf.c
148 rtio.h
149 testBSDF.c
150 )
151 target_link_libraries(testBSDF radiance rtrad)
152
153 install(TARGETS rtrad mgf
154 LIBRARY DESTINATION "bin"
155 ARCHIVE DESTINATION "bin"
156 )
157
158 file(COPY tmesh.cal
159 DESTINATION "${CMAKE_BINARY_DIR}/lib"
160 )