ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/CMakeLists.txt
(Generate patch)

Comparing ray/src/common/CMakeLists.txt (file contents):
Revision 1.1 by greg, Sat Oct 22 22:38:10 2011 UTC vs.
Revision 1.12 by greg, Fri Jul 26 16:18:06 2019 UTC

# Line 1 | Line 1
1   set(rtrad_SOURCES
2 <  addobjnotify.c badarg.c biggerlib.c bmalloc.c bmpfile.c bsdf.c bsdf_m.c
3 <  bsdf_t.c byteswap.c caldefn.c calexpr.c calfunc.c calprnt.c ccolor.c ccyrgb.c
4 <  chanvalue.c clip.c color.c colrops.c cone.c dircode.c disk2square.c ealloc.c
5 <  eputs.c erf.c error.c expandarg.c ezxml.c face.c falsecolor.c fdate.c
6 <  fgetline.c fgetval.c fgetword.c fixargv0.c font.c fputword.c free_os.c
7 <  fropen.c fvect.c gethomedir.c getlibpath.c getpath.c header.c hilbert.c
8 <  image.c instance.c invmat4.c lamps.c linregr.c loadbsdf.c loadvars.c lookup.c
9 <  mat4.c mesh.c modobject.c multisamp.c myhostname.c objset.c octree.c otypes.c
10 <  paths.c plocate.c portio.c process.c quit.c readfargs.c readmesh.c readobj.c
11 <  readoct.c resolu.c rexpr.c savqstr.c savestr.c sceneio.c spec_rgb.c tcos.c
12 <  tmap16bit.c tmapcolrs.c tmapluv.c timegm.c tmaptiff.c tmesh.c tonemap.c
13 <  urand.c urind.c words.c wordfile.c wputs.c xf.c zeroes.c)
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 strcmp.c)
102 >  list(APPEND rtrad_SOURCES unix_process.c)
103   else()
104 <  list(APPEND rtrad_SOURCES win_process.c win_popen.c)
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})
# Line 24 | Line 110 | if(WIN32)
110    target_link_libraries(rtrad ws2_32)
111   endif()
112  
113 < add_library(mgf mgf_parser.c mgf_object.c mgf_xf.c mgf_context.c)
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)
154 >  LIBRARY DESTINATION "bin"
155 >  ARCHIVE DESTINATION "bin"
156 > )
157 >
158 > file(COPY tmesh.cal
159 >  DESTINATION "${CMAKE_BINARY_DIR}/lib"
160 > )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines