ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/CMakeLists.txt
Revision: 1.9
Committed: Thu Jan 18 20:24:34 2018 UTC (6 years, 3 months ago) by greg
Content type: text/plain
Branch: MAIN
Changes since 1.8: +2 -2 lines
Log Message:
Updated inclusion of strlcpy

File Contents

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