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

Comparing src/px/CMakeLists.txt (file contents):
Revision 1.6 by greg, Mon Jan 8 16:51:32 2018 UTC vs.
Revision 1.10 by greg, Thu Jul 24 01:24:01 2025 UTC

# Line 1 | Line 1
1 + # RCSid $Id$
2 +
3   add_executable(pfilt pf2.c pf3.c pfilt.c)
4   target_link_libraries(pfilt rtrad)
5  
# Line 177 | Line 179 | install(TARGETS
179   )
180  
181   if(WIN32)
182 <  install(PROGRAMS falsecolor.pl
183 <    DESTINATION "bin"
182 >  add_custom_target(perl ALL
183 >    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/falsecolor.pl -o
184 >    ${CMAKE_CURRENT_SOURCE_DIR}/falsecolor.exe -d
185    )
186 <  file(COPY falsecolor.pl
187 <    DESTINATION "${CMAKE_BINARY_DIR}/bin/Release"
186 >  add_custom_target(phisto ALL
187 >    COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/phisto.pl -o
188 >    ${CMAKE_CURRENT_SOURCE_DIR}/phisto.exe -d
189    )
190 +  install(PROGRAMS falsecolor.exe phisto.exe
191 +    DESTINATION "bin"
192 +  )
193   else()
194    install_and_copy_without_extension(
195      falsecolor.pl
196      normpat.csh
190    pbilat.csh
197      pdfblur.csh
198      pgblur.csh
199 <    phisto.csh
199 >    phisto.pl
200      pmblur.csh
201      pmdblur.csh
202      ra_pfm.csh

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines