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

Comparing src/common/CMakeLists.txt (file contents):
Revision 1.11 by greg, Thu Apr 19 15:31:27 2018 UTC vs.
Revision 1.25 by greg, Thu Jul 24 01:24:01 2025 UTC

# Line 1 | Line 1
1 + # RCSid $Id$
2 +
3   set(rtrad_SOURCES
4    addobjnotify.c
5    badarg.c
# Line 20 | Line 22 | set(rtrad_SOURCES
22    colrops.c
23    cone.c
24    cvtcmd.c
25 +  data.c
26 +  depthcodec.c
27    dircode.c
28    disk2square.c
29 +  dmessage.c
30    ealloc.c
31    eputs.c
32    erf.c
# Line 35 | Line 40 | set(rtrad_SOURCES
40    fgetval.c
41    fgetword.c
42    fixargv0.c
43 +  fltdepth.c
44    font.c
45    fputword.c
46    free_os.c
# Line 45 | Line 51 | set(rtrad_SOURCES
51    getpath.c
52    header.c
53    hilbert.c
54 +  idmap.c
55    image.c
56    instance.c
57    interp2d.c
58    invmat4.c
59 +  jitteraperture.c
60    lamps.c
61    linregr.c
62    loadbsdf.c
# Line 59 | Line 67 | set(rtrad_SOURCES
67    modobject.c
68    multisamp.c
69    myhostname.c
70 +  normcodec.c
71    objset.c
72    octree.c
73    otypes.c
# Line 97 | Line 106 | set(rtrad_SOURCES
106  
107   if(UNIX)
108    list(APPEND rtrad_SOURCES unix_process.c)
109 +  if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
110 +    list(APPEND rtrad_SOURCES strnstr.c strlcpy.c)
111 +  endif()
112   else()
113 <  list(APPEND rtrad_SOURCES win_process.c win_popen.c win_usleep.c strlcpy.c)
113 >  list(APPEND rtrad_SOURCES win_process.c win_popen.c win_usleep.c strnstr.c strlcpy.c strncasecmp.c)
114   endif()
115  
116   add_library(rtrad ${rtrad_SOURCES})
# Line 107 | Line 119 | if(WIN32)
119    target_link_libraries(rtrad ws2_32)
120   endif()
121  
122 + add_library(cpprad
123 +  abitmap.cpp
124 +  abitmapio.cpp
125 + )
126 +
127   add_library(rgl
128    rgldomat.c
129    rglfile.c
# Line 123 | Line 140 | add_library(mgf
140    mgf_xf.c
141   )
142  
143 < add_library(libreetz
143 > add_library(wfobj
144 >  objutil.c
145 >  readwfobj.c
146 >  convertobj.c
147 >  writewfobj.c
148 >  objtriangulate.c
149 > )
150 >
151 > add_library(reetz
152    g3affine.c
128  g3affine.h
153    g3flist.c
130  g3flist.h
131  g3list.h
132  g3nlist.h
154    g3sphere.c
134  g3sphere.h
155    g3vector.c
136  g3vector.h
156    gbasic.c
138  gbasic.h
157    muc_randvar.c
140  muc_randvar.h
158   )
159  
160   add_executable(testBSDF
# Line 147 | Line 164 | add_executable(testBSDF
164   )
165   target_link_libraries(testBSDF radiance rtrad)
166  
167 < install(TARGETS rtrad mgf
167 > install(TARGETS rtrad cpprad mgf
168    LIBRARY DESTINATION "bin"
169    ARCHIVE DESTINATION "bin"
170   )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines