1 |
greg |
1.1 |
add_executable(pfilt pfilt.c pf2.c pf3.c) |
2 |
|
|
target_link_libraries(pfilt rtrad) |
3 |
|
|
|
4 |
|
|
add_executable(pcond pcond.c pcond2.c pcond3.c pcond4.c warp3d.c) |
5 |
|
|
target_link_libraries(pcond rtrad) |
6 |
|
|
|
7 |
|
|
add_executable(pcwarp pcwarp.c warp3d.c) |
8 |
|
|
target_link_libraries(pcwarp rtrad) |
9 |
|
|
|
10 |
|
|
add_executable(ttyimage ttyimage.c) |
11 |
|
|
target_link_libraries(ttyimage rtrad) |
12 |
|
|
|
13 |
|
|
add_executable(pvalue pvalue.c) |
14 |
|
|
target_link_libraries(pvalue rtrad) |
15 |
|
|
|
16 |
|
|
add_executable(pcompos pcompos.c) |
17 |
|
|
target_link_libraries(pcompos rtrad) |
18 |
|
|
|
19 |
|
|
add_executable(psign psign.c) |
20 |
|
|
target_link_libraries(psign rtrad) |
21 |
|
|
|
22 |
|
|
add_executable(ra_gif ra_gif.c clrtab.c neuclrtab.c) |
23 |
|
|
target_link_libraries(ra_gif rtrad) |
24 |
|
|
|
25 |
|
|
add_executable(ra_ps ra_ps.c) |
26 |
|
|
target_link_libraries(ra_ps rtrad) |
27 |
|
|
|
28 |
|
|
add_executable(ra_ppm ra_ppm.c) |
29 |
|
|
target_link_libraries(ra_ppm rtrad) |
30 |
|
|
|
31 |
|
|
add_executable(ra_bmp ra_bmp.c) |
32 |
|
|
target_link_libraries(ra_bmp rtrad) |
33 |
|
|
|
34 |
|
|
add_executable(ra_t8 ra_t8.c clrtab.c neuclrtab.c) |
35 |
|
|
target_link_libraries(ra_t8 rtrad) |
36 |
|
|
|
37 |
|
|
add_executable(ra_t16 ra_t16.c) |
38 |
|
|
target_link_libraries(ra_t16 rtrad) |
39 |
|
|
|
40 |
|
|
add_executable(ra_rgbe ra_rgbe.c) |
41 |
|
|
target_link_libraries(ra_rgbe rtrad) |
42 |
|
|
|
43 |
|
|
add_executable(ra_pict ra_pict.c) |
44 |
|
|
target_link_libraries(ra_pict rtrad) |
45 |
|
|
|
46 |
|
|
add_executable(ra_hexbit ra_hexbit.c) |
47 |
|
|
target_link_libraries(ra_hexbit rtrad) |
48 |
|
|
if(X11_FOUND) |
49 |
|
|
add_executable(ximage x11image.c x11raster.c clrtab.c) |
50 |
|
|
target_link_libraries(ximage rtrad ${X11_LIBRARIES}) |
51 |
|
|
add_executable(xshowtrace xshowtrace.c |
52 |
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../common/x11findwind.c) |
53 |
|
|
target_link_libraries(xshowtrace rtrad ${X11_LIBRARIES}) |
54 |
|
|
install(TARGETS ximage xshowtrace RUNTIME DESTINATION bin) |
55 |
|
|
endif() |
56 |
|
|
add_executable(pflip pflip.c) |
57 |
|
|
target_link_libraries(pflip rtrad) |
58 |
|
|
|
59 |
|
|
add_executable(protate protate.c) |
60 |
|
|
target_link_libraries(protate rtrad) |
61 |
|
|
|
62 |
|
|
add_executable(pextrem pextrem.c) |
63 |
|
|
target_link_libraries(pextrem rtrad) |
64 |
|
|
|
65 |
|
|
add_executable(pcomb pcomb.c) |
66 |
|
|
target_link_libraries(pcomb rtrad) |
67 |
|
|
|
68 |
|
|
add_executable(pinterp pinterp.c) |
69 |
|
|
target_link_libraries(pinterp rtrad) |
70 |
|
|
|
71 |
|
|
add_executable(ra_xyze ra_xyze.c) |
72 |
|
|
target_link_libraries(ra_xyze rtrad) |
73 |
|
|
|
74 |
|
|
add_executable(macbethcal macbethcal.c pmapgen.c mx3.c warp3d.c) |
75 |
|
|
target_link_libraries(macbethcal rtrad) |
76 |
|
|
|
77 |
|
|
find_package(TIFF) |
78 |
|
|
mark_as_advanced(CLEAR TIFF_INCLUDE_DIR TIFF_LIBRARY) |
79 |
|
|
if(TIFF_FOUND) |
80 |
|
|
add_executable(ra_tiff ra_tiff.c) |
81 |
|
|
target_link_libraries(ra_tiff rtrad ${TIFF_LIBRARIES}) |
82 |
|
|
install(TARGETS ra_tiff RUNTIME DESTINATION bin) |
83 |
|
|
install(FILES ${TIFF_LIBRARIES} DESTINATION bin) |
84 |
|
|
#TODO: else case |
85 |
|
|
endif() |
86 |
|
|
|
87 |
|
|
install(TARGETS pfilt pflip ttyimage psign pvalue pcompos protate |
88 |
|
|
ra_hexbit ra_bmp ra_t8 ra_t16 pcomb pinterp ra_ppm ra_rgbe ra_pict ra_ps |
89 |
|
|
pextrem ra_gif ra_xyze macbethcal pcond pcwarp |
90 |
|
|
RUNTIME DESTINATION bin) |
91 |
|
|
|
92 |
|
|
install(FILES normpat.csh falsecolor.pl pdfblur.csh pmblur.csh pmdblur.csh |
93 |
|
|
xyzimage.csh pgblur.csh ra_pfm.csh pbilat.csh |
94 |
|
|
DESTINATION bin) |