1 |
+ |
add_executable(ies2rad ies2rad.c) |
2 |
+ |
target_link_libraries(ies2rad rtrad) |
3 |
+ |
|
4 |
|
add_executable(arch2rad arch2rad.c trans.c) |
5 |
|
target_link_libraries(arch2rad rtrad) |
6 |
|
|
7 |
< |
add_executable(ies2rad ies2rad.c) |
5 |
< |
target_link_libraries(ies2rad rtrad) |
7 |
> |
add_executable(nff2rad nff2rad.c) |
8 |
|
|
9 |
|
add_executable(lampcolor lampcolor.c) |
10 |
|
target_link_libraries(lampcolor rtrad) |
11 |
|
|
12 |
< |
add_executable(mgf2rad mgf2rad.c) |
13 |
< |
target_link_libraries(mgf2rad mgf rtrad) |
12 |
> |
add_executable(tmesh2rad tmesh2rad.c) |
13 |
> |
target_link_libraries(tmesh2rad rtrad) |
14 |
|
|
13 |
– |
add_executable(nff2rad nff2rad.c) |
14 |
– |
|
15 |
|
add_executable(obj2rad obj2rad.c trans.c) |
16 |
|
target_link_libraries(obj2rad rtrad) |
17 |
|
|
18 |
< |
add_executable(pkgBSDF pkgBSDF.c trans.c) |
19 |
< |
target_link_libraries(pkgBSDF rtrad) |
18 |
> |
add_executable(mgf2rad mgf2rad.c) |
19 |
> |
target_link_libraries(mgf2rad mgf rtrad) |
20 |
|
|
21 |
|
add_executable(rad2mgf rad2mgf.c) |
22 |
|
target_link_libraries(rad2mgf rtrad) |
23 |
|
|
24 |
– |
add_executable(tmesh2rad tmesh2rad.c) |
25 |
– |
target_link_libraries(tmesh2rad rtrad) |
26 |
– |
|
27 |
– |
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../meta) |
28 |
– |
add_executable(mgf2meta mgf2meta.c) |
29 |
– |
target_link_libraries(mgf2meta mgf meta rtrad) |
30 |
– |
|
24 |
|
add_executable(mgfilt mgfilt.c) |
25 |
|
target_link_libraries(mgfilt mgf rtrad) |
26 |
|
|
27 |
+ |
add_executable(mgf2inv mgf2inv.c) |
28 |
+ |
target_link_libraries(mgf2inv mgf rtrad) |
29 |
+ |
|
30 |
|
add_executable(3ds2mgf 3ds2mgf.c rayopt3ds.c vect3ds.c) |
31 |
|
target_link_libraries(3ds2mgf rtrad) |
32 |
|
|
33 |
< |
add_executable(mgf2inv mgf2inv.c) |
38 |
< |
target_link_libraries(mgf2inv mgf rtrad) |
33 |
> |
if (BUILD_PABOPTO_UTILS) |
34 |
|
|
35 |
+ |
add_executable(pabopto2bsdf pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c bsdftrans.cpp) |
36 |
+ |
target_link_libraries(pabopto2bsdf rtrad) |
37 |
+ |
|
38 |
+ |
#add_executable(pabopto2xyz pabopto2xyz.c) |
39 |
+ |
#target_link_libraries(pabopto2xyz rtrad) |
40 |
+ |
|
41 |
+ |
add_executable(pabopto2rad pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c bsdftrans.cpp) |
42 |
+ |
target_link_libraries(pabopto2rad rtrad) |
43 |
+ |
set_target_properties(pabopto2rad PROPERTIES COMPILE_DEFINITIONS TEST_MAIN) |
44 |
+ |
|
45 |
+ |
endif() |
46 |
+ |
|
47 |
+ |
add_executable(bsdf2rad bsdf2rad.c bsdfrep.c bsdfinterp.c) |
48 |
+ |
target_link_libraries(bsdf2rad rtrad) |
49 |
+ |
|
50 |
+ |
add_executable(bsdfquery bsdfquery.c bsdfrep.c bsdfinterp.c) |
51 |
+ |
target_link_libraries(bsdfquery rtrad) |
52 |
+ |
|
53 |
+ |
add_executable(bsdf2ttree bsdf2ttree.c bsdfrep.c bsdfinterp.c) |
54 |
+ |
target_link_libraries(bsdf2ttree rtrad) |
55 |
+ |
|
56 |
+ |
add_executable(bsdf2klems bsdf2klems.c bsdfrep.c bsdfinterp.c) |
57 |
+ |
target_link_libraries(bsdf2klems rtrad) |
58 |
+ |
|
59 |
+ |
add_executable(pkgBSDF pkgBSDF.c trans.c) |
60 |
+ |
target_link_libraries(pkgBSDF rtrad) |
61 |
+ |
|
62 |
+ |
add_executable(epw2wea epw2wea.c) |
63 |
+ |
|
64 |
+ |
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../meta) |
65 |
+ |
add_executable(mgf2meta mgf2meta.c) |
66 |
+ |
target_link_libraries(mgf2meta mgf meta rtrad) |
67 |
+ |
|
68 |
|
install(TARGETS |
69 |
< |
ies2rad nff2rad lampcolor tmesh2rad obj2rad mgf2rad |
70 |
< |
rad2mgf mgf2meta mgfilt mgf2inv pkgBSDF 3ds2mgf |
69 |
> |
ies2rad nff2rad lampcolor tmesh2rad obj2rad |
70 |
> |
mgf2rad rad2mgf mgf2meta mgfilt mgf2inv 3ds2mgf |
71 |
> |
bsdf2ttree bsdf2klems pkgBSDF epw2wea |
72 |
|
RUNTIME DESTINATION bin) |
73 |
|
|
74 |
< |
INSTALL(FILES source.cal tilt.cal lamp.tab window.cal |
74 |
> |
INSTALL(FILES source.cal tilt.cal lamp.tab window.cal bsdf2rad.cal |
75 |
|
DESTINATION lib) |
76 |
|
|
77 |
|
if (NOT WIN32) |
78 |
|
INSTALL(PROGRAMS optics2rad.csh DESTINATION bin RENAME optics2rad) |
79 |
< |
endif() |
79 |
> |
endif() |
80 |
> |
|
81 |
> |
if (BUILD_PABOPTO_UTILS) |
82 |
> |
INSTALL(TARGETS pabopto2rad pabopto2bsdf DESTINATION bin) |
83 |
> |
endif() |