ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/CMakeLists.txt
Revision: 1.19
Committed: Fri Aug 2 18:47:25 2024 UTC (12 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 1.18: +1 -0 lines
Log Message:
feat(gensdaymtx,epw2wea,genssky): Taoning added new gensdaymtx and updated others

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 data.c
24 depthcodec.c
25 dircode.c
26 disk2square.c
27 ealloc.c
28 eputs.c
29 erf.c
30 error.c
31 expandarg.c
32 ezxml.c
33 face.c
34 falsecolor.c
35 fdate.c
36 fgetline.c
37 fgetval.c
38 fgetword.c
39 fixargv0.c
40 fltdepth.c
41 font.c
42 fputword.c
43 free_os.c
44 fropen.c
45 fvect.c
46 gethomedir.c
47 getlibpath.c
48 getpath.c
49 header.c
50 hilbert.c
51 idmap.c
52 image.c
53 instance.c
54 interp2d.c
55 invmat4.c
56 jitteraperture.c
57 lamps.c
58 linregr.c
59 loadbsdf.c
60 loadvars.c
61 lookup.c
62 mat4.c
63 mesh.c
64 modobject.c
65 multisamp.c
66 myhostname.c
67 normcodec.c
68 objset.c
69 octree.c
70 otypes.c
71 paths.c
72 plocate.c
73 portio.c
74 process.c
75 quit.c
76 readfargs.c
77 readmesh.c
78 readobj.c
79 readoct.c
80 resolu.c
81 rexpr.c
82 savestr.c
83 savqstr.c
84 sceneio.c
85 spec_rgb.c
86 tcos.c
87 timegm.c
88 tmap16bit.c
89 tmapcolrs.c
90 tmapluv.c
91 tmaptiff.c
92 tmesh.c
93 tonemap.c
94 triangulate.c
95 urand.c
96 urind.c
97 wordfile.c
98 words.c
99 wputs.c
100 xf.c
101 zeroes.c
102 )
103
104 if(UNIX)
105 list(APPEND rtrad_SOURCES unix_process.c)
106 if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
107 list(APPEND rtrad_SOURCES strlcpy.c)
108 endif()
109 else()
110 list(APPEND rtrad_SOURCES win_process.c win_popen.c win_usleep.c strlcpy.c)
111 endif()
112
113 add_library(rtrad ${rtrad_SOURCES})
114 target_link_libraries(rtrad ${LIB_M})
115 if(WIN32)
116 target_link_libraries(rtrad ws2_32)
117 endif()
118
119 add_library(rgl
120 rgldomat.c
121 rglfile.c
122 rglinst.c
123 rglmat.c
124 rglsrc.c
125 rglsurf.c
126 )
127
128 add_library(mgf
129 mgf_context.c
130 mgf_object.c
131 mgf_parser.c
132 mgf_xf.c
133 )
134
135 add_library(wfobj
136 objutil.c
137 readwfobj.c
138 convertobj.c
139 writewfobj.c
140 objtriangulate.c
141 )
142
143 add_library(reetz
144 g3affine.c
145 g3affine.h
146 g3flist.c
147 g3flist.h
148 g3list.h
149 g3nlist.h
150 g3sphere.c
151 g3sphere.h
152 g3vector.c
153 g3vector.h
154 gbasic.c
155 gbasic.h
156 muc_randvar.c
157 muc_randvar.h
158 )
159
160 add_executable(testBSDF
161 bsdf.c
162 rtio.h
163 testBSDF.c
164 )
165 target_link_libraries(testBSDF radiance rtrad)
166
167 install(TARGETS rtrad mgf
168 LIBRARY DESTINATION "bin"
169 ARCHIVE DESTINATION "bin"
170 )
171
172 file(COPY tmesh.cal
173 DESTINATION "${CMAKE_BINARY_DIR}/lib"
174 )