1 |
add_executable(arch2rad arch2rad.c trans.c) |
2 |
target_link_libraries(arch2rad rtrad) |
3 |
|
4 |
add_executable(ies2rad ies2rad.c) |
5 |
target_link_libraries(ies2rad rtrad) |
6 |
|
7 |
add_executable(lampcolor lampcolor.c) |
8 |
target_link_libraries(lampcolor rtrad) |
9 |
|
10 |
add_executable(mgf2rad mgf2rad.c) |
11 |
target_link_libraries(mgf2rad mgf rtrad) |
12 |
|
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) |
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 |
|
31 |
add_executable(mgfilt mgfilt.c) |
32 |
target_link_libraries(mgfilt mgf rtrad) |
33 |
|
34 |
add_executable(3ds2mgf 3ds2mgf.c rayopt3ds.c vect3ds.c) |
35 |
target_link_libraries(3ds2mgf rtrad) |
36 |
|
37 |
add_executable(mgf2inv mgf2inv.c) |
38 |
target_link_libraries(mgf2inv mgf rtrad) |
39 |
|
40 |
install(TARGETS |
41 |
ies2rad nff2rad lampcolor tmesh2rad obj2rad mgf2rad |
42 |
rad2mgf mgf2meta mgfilt mgf2inv pkgBSDF 3ds2mgf |
43 |
RUNTIME DESTINATION bin) |
44 |
|
45 |
INSTALL(FILES source.cal tilt.cal lamp.tab window.cal |
46 |
DESTINATION lib) |
47 |
|
48 |
if (NOT WIN32) |
49 |
INSTALL(PROGRAMS optics2rad.csh DESTINATION bin RENAME optics2rad) |
50 |
endif() |