1 |
greg |
1.4 |
add_executable(ies2rad ies2rad.c) |
2 |
|
|
target_link_libraries(ies2rad rtrad) |
3 |
|
|
|
4 |
greg |
1.1 |
add_executable(arch2rad arch2rad.c trans.c) |
5 |
|
|
target_link_libraries(arch2rad rtrad) |
6 |
|
|
|
7 |
greg |
1.4 |
add_executable(nff2rad nff2rad.c) |
8 |
greg |
1.1 |
|
9 |
|
|
add_executable(lampcolor lampcolor.c) |
10 |
|
|
target_link_libraries(lampcolor rtrad) |
11 |
|
|
|
12 |
greg |
1.4 |
add_executable(tmesh2rad tmesh2rad.c) |
13 |
|
|
target_link_libraries(tmesh2rad rtrad) |
14 |
greg |
1.1 |
|
15 |
|
|
add_executable(obj2rad obj2rad.c trans.c) |
16 |
|
|
target_link_libraries(obj2rad rtrad) |
17 |
|
|
|
18 |
greg |
1.15 |
add_executable(robjutil robjutil.c) |
19 |
|
|
target_link_libraries(robjutil wfobj rtrad) |
20 |
|
|
|
21 |
greg |
1.4 |
add_executable(mgf2rad mgf2rad.c) |
22 |
|
|
target_link_libraries(mgf2rad mgf rtrad) |
23 |
greg |
1.2 |
|
24 |
greg |
1.1 |
add_executable(rad2mgf rad2mgf.c) |
25 |
|
|
target_link_libraries(rad2mgf rtrad) |
26 |
|
|
|
27 |
|
|
add_executable(mgfilt mgfilt.c) |
28 |
|
|
target_link_libraries(mgfilt mgf rtrad) |
29 |
|
|
|
30 |
greg |
1.4 |
add_executable(mgf2inv mgf2inv.c) |
31 |
greg |
1.14 |
target_link_libraries(mgf2inv mgf rtrad) |
32 |
greg |
1.4 |
|
33 |
greg |
1.1 |
add_executable(3ds2mgf 3ds2mgf.c rayopt3ds.c vect3ds.c) |
34 |
greg |
1.14 |
target_link_libraries(3ds2mgf rtrad) |
35 |
greg |
1.5 |
|
36 |
greg |
1.14 |
if(BUILD_PABOPTO_UTILS) |
37 |
greg |
1.7 |
add_executable(pabopto2bsdf pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c bsdftrans.cpp) |
38 |
greg |
1.14 |
target_link_libraries(pabopto2bsdf rtrad) |
39 |
greg |
1.4 |
|
40 |
greg |
1.13 |
#add_executable(pabopto2xyz pabopto2xyz.c) |
41 |
|
|
#target_link_libraries(pabopto2xyz rtrad) |
42 |
greg |
1.10 |
|
43 |
greg |
1.14 |
add_executable(pabopto2rad pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c bsdftrans.cpp) |
44 |
greg |
1.5 |
target_link_libraries(pabopto2rad rtrad) |
45 |
greg |
1.8 |
set_target_properties(pabopto2rad PROPERTIES COMPILE_DEFINITIONS TEST_MAIN) |
46 |
greg |
1.5 |
endif() |
47 |
greg |
1.4 |
|
48 |
greg |
1.13 |
add_executable(bsdf2rad bsdf2rad.c bsdfrep.c bsdfinterp.c) |
49 |
greg |
1.4 |
target_link_libraries(bsdf2rad rtrad) |
50 |
|
|
|
51 |
greg |
1.12 |
add_executable(bsdfquery bsdfquery.c bsdfrep.c bsdfinterp.c) |
52 |
|
|
target_link_libraries(bsdfquery rtrad) |
53 |
greg |
1.4 |
|
54 |
greg |
1.22 |
add_executable(bsdfpeaks bsdfpeaks.c bsdfrep.c bsdfinterp.c) |
55 |
|
|
target_link_libraries(bsdfpeaks rtrad) |
56 |
|
|
|
57 |
greg |
1.4 |
add_executable(bsdf2ttree bsdf2ttree.c bsdfrep.c bsdfinterp.c) |
58 |
|
|
target_link_libraries(bsdf2ttree rtrad) |
59 |
|
|
|
60 |
|
|
add_executable(bsdf2klems bsdf2klems.c bsdfrep.c bsdfinterp.c) |
61 |
|
|
target_link_libraries(bsdf2klems rtrad) |
62 |
|
|
|
63 |
|
|
add_executable(pkgBSDF pkgBSDF.c trans.c) |
64 |
|
|
target_link_libraries(pkgBSDF rtrad) |
65 |
greg |
1.1 |
|
66 |
greg |
1.20 |
add_executable(checkBSDF checkBSDF.c) |
67 |
|
|
target_link_libraries(checkBSDF rtrad) |
68 |
|
|
|
69 |
greg |
1.3 |
add_executable(epw2wea epw2wea.c) |
70 |
|
|
|
71 |
greg |
1.4 |
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../meta) |
72 |
|
|
add_executable(mgf2meta mgf2meta.c) |
73 |
|
|
target_link_libraries(mgf2meta mgf meta rtrad) |
74 |
|
|
|
75 |
greg |
1.14 |
install(TARGETS |
76 |
|
|
3ds2mgf |
77 |
|
|
bsdf2klems |
78 |
greg |
1.18 |
bsdf2rad |
79 |
greg |
1.14 |
bsdf2ttree |
80 |
greg |
1.20 |
checkBSDF |
81 |
greg |
1.14 |
epw2wea |
82 |
|
|
ies2rad |
83 |
|
|
lampcolor |
84 |
|
|
mgf2inv |
85 |
|
|
mgf2meta |
86 |
|
|
mgf2rad |
87 |
|
|
mgfilt |
88 |
|
|
nff2rad |
89 |
|
|
obj2rad |
90 |
|
|
pkgBSDF |
91 |
|
|
rad2mgf |
92 |
greg |
1.19 |
robjutil |
93 |
greg |
1.14 |
tmesh2rad |
94 |
|
|
RUNTIME DESTINATION "bin" |
95 |
|
|
) |
96 |
|
|
|
97 |
|
|
file(COPY |
98 |
|
|
bsdf2rad.cal |
99 |
|
|
lamp.tab |
100 |
|
|
source.cal |
101 |
|
|
tilt.cal |
102 |
|
|
window.cal |
103 |
|
|
DESTINATION "${CMAKE_BINARY_DIR}/lib" |
104 |
|
|
) |
105 |
|
|
|
106 |
greg |
1.16 |
if(WIN32) |
107 |
|
|
add_custom_target(optics2rad ALL |
108 |
|
|
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/optics2rad.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/optics2rad.exe -d |
109 |
greg |
1.17 |
) |
110 |
greg |
1.21 |
add_custom_target(iso2klems ALL |
111 |
|
|
COMMAND pp ${CMAKE_CURRENT_SOURCE_DIR}/iso2klems.pl -o ${CMAKE_CURRENT_SOURCE_DIR}/iso2klems.exe -d |
112 |
|
|
) |
113 |
|
|
install(PROGRAMS optics2rad.exe iso2klems.exe |
114 |
greg |
1.16 |
DESTINATION "bin" |
115 |
|
|
) |
116 |
|
|
else() |
117 |
greg |
1.21 |
install_without_extension( |
118 |
|
|
optics2rad.pl |
119 |
|
|
iso2klems.pl |
120 |
greg |
1.14 |
) |
121 |
|
|
endif() |
122 |
greg |
1.13 |
|
123 |
greg |
1.14 |
if(BUILD_PABOPTO_UTILS) |
124 |
|
|
install(TARGETS pabopto2bsdf pabopto2rad |
125 |
|
|
DESTINATION "bin" |
126 |
|
|
) |
127 |
greg |
1.3 |
endif() |