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.15 by greg, Mon Mar 30 18:28:35 2020 UTC vs.
Revision 1.16 by greg, Tue Aug 18 19:33:58 2020 UTC

# Line 94 | Line 94 | file(COPY
94    DESTINATION "${CMAKE_BINARY_DIR}/lib"
95   )
96  
97 < if(NOT WIN32)
98 <  install(PROGRAMS optics2rad.csh
97 > if(WIN32)
98 >  add_custom_target(optics2rad ALL
99 >    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/optics2rad.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/optics2rad.exe -d
100 >  install(PROGRAMS optics2rad.exe
101 >    DESTINATION "bin"
102 >  )
103 > else()
104 >  install(PROGRAMS optics2rad.pl
105      DESTINATION "bin"
106      RENAME optics2rad
107    )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines