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

Comparing ray/src/cv/CMakeLists.txt (file contents):
Revision 1.14 by greg, Mon Jan 8 16:51:32 2018 UTC vs.
Revision 1.20 by greg, Tue Dec 14 02:33:18 2021 UTC

# Line 15 | Line 15 | target_link_libraries(tmesh2rad rtrad)
15   add_executable(obj2rad obj2rad.c trans.c)
16   target_link_libraries(obj2rad rtrad)
17  
18 + add_executable(robjutil robjutil.c)
19 + target_link_libraries(robjutil wfobj rtrad)
20 +
21   add_executable(mgf2rad mgf2rad.c)
22   target_link_libraries(mgf2rad mgf rtrad)
23  
# Line 57 | Line 60 | target_link_libraries(bsdf2klems rtrad)
60   add_executable(pkgBSDF pkgBSDF.c trans.c)
61   target_link_libraries(pkgBSDF rtrad)
62  
63 + add_executable(checkBSDF checkBSDF.c)
64 + target_link_libraries(checkBSDF rtrad)
65 +
66   add_executable(epw2wea epw2wea.c)
67  
68   include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../meta)
# Line 66 | Line 72 | target_link_libraries(mgf2meta mgf meta rtrad)
72   install(TARGETS
73    3ds2mgf
74    bsdf2klems
75 +  bsdf2rad
76    bsdf2ttree
77 +  checkBSDF
78    epw2wea
79    ies2rad
80    lampcolor
# Line 78 | Line 86 | install(TARGETS
86    obj2rad
87    pkgBSDF
88    rad2mgf
89 +  robjutil
90    tmesh2rad
91    RUNTIME DESTINATION "bin"
92   )
# Line 91 | Line 100 | file(COPY
100    DESTINATION "${CMAKE_BINARY_DIR}/lib"
101   )
102  
103 < if(NOT WIN32)
104 <  install(PROGRAMS optics2rad.csh
103 > if(WIN32)
104 >  add_custom_target(optics2rad ALL
105 >    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/optics2rad.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/optics2rad.exe -d
106 >  )
107 >  install(PROGRAMS optics2rad.exe
108 >    DESTINATION "bin"
109 >  )
110 > else()
111 >  install(PROGRAMS optics2rad.pl
112      DESTINATION "bin"
113      RENAME optics2rad
114    )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines