| 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.4 |
add_executable(mgf2rad mgf2rad.c)
|
| 19 |
|
|
target_link_libraries(mgf2rad mgf rtrad)
|
| 20 |
greg |
1.2 |
|
| 21 |
greg |
1.1 |
add_executable(rad2mgf rad2mgf.c)
|
| 22 |
|
|
target_link_libraries(rad2mgf rtrad)
|
| 23 |
|
|
|
| 24 |
|
|
add_executable(mgfilt mgfilt.c)
|
| 25 |
|
|
target_link_libraries(mgfilt mgf rtrad)
|
| 26 |
|
|
|
| 27 |
greg |
1.4 |
add_executable(mgf2inv mgf2inv.c)
|
| 28 |
|
|
target_link_libraries(mgf2inv mgf rtrad)
|
| 29 |
|
|
|
| 30 |
greg |
1.1 |
add_executable(3ds2mgf 3ds2mgf.c rayopt3ds.c vect3ds.c)
|
| 31 |
|
|
target_link_libraries(3ds2mgf rtrad)
|
| 32 |
|
|
|
| 33 |
greg |
1.5 |
if (NOT WIN32)
|
| 34 |
|
|
|
| 35 |
|
|
add_executable(pabopto2bsdf pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c)
|
| 36 |
|
|
target_link_libraries(pabopto2bsdf rtrad)
|
| 37 |
greg |
1.4 |
|
| 38 |
greg |
1.5 |
add_executable(pabopto2rad pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c)
|
| 39 |
|
|
target_link_libraries(pabopto2rad rtrad)
|
| 40 |
|
|
|
| 41 |
|
|
endif()
|
| 42 |
greg |
1.4 |
|
| 43 |
|
|
add_executable(bsdf2rad bsdf2rad.c bsdfrep.c bsdfinterp.c)
|
| 44 |
|
|
target_link_libraries(bsdf2rad rtrad)
|
| 45 |
|
|
|
| 46 |
|
|
add_executable(bsdfquery bsdfquery.c bsdfrep.c bsdfinterp.c)
|
| 47 |
|
|
target_link_libraries(bsdfquery rtrad)
|
| 48 |
|
|
|
| 49 |
|
|
add_executable(bsdf2ttree bsdf2ttree.c bsdfrep.c bsdfinterp.c)
|
| 50 |
|
|
target_link_libraries(bsdf2ttree rtrad)
|
| 51 |
|
|
|
| 52 |
|
|
add_executable(bsdf2klems bsdf2klems.c bsdfrep.c bsdfinterp.c)
|
| 53 |
|
|
target_link_libraries(bsdf2klems rtrad)
|
| 54 |
|
|
|
| 55 |
|
|
add_executable(pkgBSDF pkgBSDF.c trans.c)
|
| 56 |
|
|
target_link_libraries(pkgBSDF rtrad)
|
| 57 |
greg |
1.1 |
|
| 58 |
greg |
1.3 |
add_executable(epw2wea epw2wea.c)
|
| 59 |
|
|
|
| 60 |
greg |
1.4 |
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../meta)
|
| 61 |
|
|
add_executable(mgf2meta mgf2meta.c)
|
| 62 |
|
|
target_link_libraries(mgf2meta mgf meta rtrad)
|
| 63 |
|
|
|
| 64 |
greg |
1.1 |
install(TARGETS
|
| 65 |
greg |
1.4 |
ies2rad nff2rad lampcolor tmesh2rad obj2rad
|
| 66 |
|
|
mgf2rad rad2mgf mgf2meta mgfilt mgf2inv 3ds2mgf
|
| 67 |
greg |
1.5 |
bsdf2ttree bsdf2klems pkgBSDF epw2wea
|
| 68 |
greg |
1.1 |
RUNTIME DESTINATION bin)
|
| 69 |
|
|
|
| 70 |
|
|
INSTALL(FILES source.cal tilt.cal lamp.tab window.cal
|
| 71 |
greg |
1.2 |
DESTINATION lib)
|
| 72 |
|
|
|
| 73 |
|
|
if (NOT WIN32)
|
| 74 |
|
|
INSTALL(PROGRAMS optics2rad.csh DESTINATION bin RENAME optics2rad)
|
| 75 |
greg |
1.6 |
INSTALL(TARGETS pabopto2rad pabopto2bsdf DESTINATION bin)
|
| 76 |
greg |
1.3 |
endif()
|