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.17 by greg, Wed Aug 19 04:33:20 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 >  )
101 >  install(PROGRAMS optics2rad.exe
102 >    DESTINATION "bin"
103 >  )
104 > else()
105 >  install(PROGRAMS optics2rad.pl
106      DESTINATION "bin"
107      RENAME optics2rad
108    )

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines