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

Comparing ray/src/px/CMakeLists.txt (file contents):
Revision 1.7 by greg, Fri Jan 3 20:05:14 2020 UTC vs.
Revision 1.8 by greg, Tue Aug 18 19:33:58 2020 UTC

# Line 177 | Line 177 | install(TARGETS
177   )
178  
179   if(WIN32)
180 <  install(PROGRAMS falsecolor.pl
181 <    DESTINATION "bin"
180 >  add_custom_target(perl ALL
181 >    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/falsecolor.pl -o
182 >    ${CMAKE_CURRENT_SOURCE_DIR}/falsecolor.exe -d
183    )
184 <  file(COPY falsecolor.pl
185 <    DESTINATION "${CMAKE_BINARY_DIR}/bin/Release"
184 >  add_custom_target(phisto ALL
185 >    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/phisto.pl -o
186 >    ${CMAKE_CURRENT_SOURCE_DIR}/phisto.exe -d
187 >  )
188 >  install(PROGRAMS falsecolor.exe phisto.exe
189 >    DESTINATION "bin"
190    )
191   else()
192    install_and_copy_without_extension(

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines