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.7 by greg, Thu Jul 14 17:32:12 2016 UTC vs.
Revision 1.8 by greg, Mon Jan 8 16:51:32 2018 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 cvtcmd.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 <  triangulate.c 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 >  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  
98   if(UNIX)
99    list(APPEND rtrad_SOURCES unix_process.c strcmp.c)
# Line 24 | Line 107 | if(WIN32)
107    target_link_libraries(rtrad ws2_32)
108   endif()
109  
110 < add_library(rgl rglfile.c rglmat.c rgldomat.c rglsurf.c rglinst.c rglsrc.c)
111 < add_library(mgf mgf_parser.c mgf_object.c mgf_xf.c mgf_context.c)
112 < add_library(libreetz g3affine.c g3affine.h g3flist.c g3flist.h g3list.h g3nlist.h
113 <        g3sphere.c g3sphere.h g3vector.c g3vector.h gbasic.c gbasic.h muc_randvar.c muc_randvar.h)
110 > add_library(rgl
111 >  rgldomat.c
112 >  rglfile.c
113 >  rglinst.c
114 >  rglmat.c
115 >  rglsrc.c
116 >  rglsurf.c
117 > )
118  
119 < if (BUILD_TESTING)
120 <  add_executable(testBSDF testBSDF.c bsdf.c rtio.h)
121 <  target_link_libraries(testBSDF radiance rtrad)
122 < endif()
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 +
152   install(TARGETS rtrad mgf
153 <  LIBRARY DESTINATION bin
154 <  ARCHIVE DESTINATION bin)
153 >  LIBRARY DESTINATION "bin"
154 >  ARCHIVE DESTINATION "bin"
155 > )
156  
157 < install(FILES tmesh.cal DESTINATION lib)
157 > file(COPY tmesh.cal
158 >  DESTINATION "${CMAKE_BINARY_DIR}/lib"
159 > )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines