| 1 |
+ |
# RCSid $Id$ |
| 2 |
+ |
|
| 3 |
|
add_executable(pfilt pf2.c pf3.c pfilt.c) |
| 4 |
|
target_link_libraries(pfilt rtrad) |
| 5 |
|
|
| 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 |