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.18 by greg, Fri Nov 13 16:09:54 2020 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 66 | Line 69 | target_link_libraries(mgf2meta mgf meta rtrad)
69   install(TARGETS
70    3ds2mgf
71    bsdf2klems
72 +  bsdf2rad
73    bsdf2ttree
74    epw2wea
75    ies2rad
# Line 91 | Line 95 | file(COPY
95    DESTINATION "${CMAKE_BINARY_DIR}/lib"
96   )
97  
98 < if(NOT WIN32)
99 <  install(PROGRAMS optics2rad.csh
98 > if(WIN32)
99 >  add_custom_target(optics2rad ALL
100 >    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/optics2rad.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/optics2rad.exe -d
101 >  )
102 >  install(PROGRAMS optics2rad.exe
103 >    DESTINATION "bin"
104 >  )
105 > else()
106 >  install(PROGRAMS optics2rad.pl
107      DESTINATION "bin"
108      RENAME optics2rad
109    )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines