--- ray/src/cv/CMakeLists.txt 2013/09/25 16:52:28 1.3 +++ ray/src/cv/CMakeLists.txt 2013/11/25 23:05:33 1.4 @@ -1,47 +1,66 @@ +add_executable(ies2rad ies2rad.c) +target_link_libraries(ies2rad rtrad) + add_executable(arch2rad arch2rad.c trans.c) target_link_libraries(arch2rad rtrad) -add_executable(ies2rad ies2rad.c) -target_link_libraries(ies2rad rtrad) +add_executable(nff2rad nff2rad.c) add_executable(lampcolor lampcolor.c) target_link_libraries(lampcolor rtrad) -add_executable(mgf2rad mgf2rad.c) -target_link_libraries(mgf2rad mgf rtrad) +add_executable(tmesh2rad tmesh2rad.c) +target_link_libraries(tmesh2rad rtrad) -add_executable(nff2rad nff2rad.c) - add_executable(obj2rad obj2rad.c trans.c) target_link_libraries(obj2rad rtrad) -add_executable(pkgBSDF pkgBSDF.c trans.c) -target_link_libraries(pkgBSDF rtrad) +add_executable(mgf2rad mgf2rad.c) +target_link_libraries(mgf2rad mgf rtrad) add_executable(rad2mgf rad2mgf.c) target_link_libraries(rad2mgf rtrad) -add_executable(tmesh2rad tmesh2rad.c) -target_link_libraries(tmesh2rad rtrad) - -include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../meta) -add_executable(mgf2meta mgf2meta.c) -target_link_libraries(mgf2meta mgf meta rtrad) - add_executable(mgfilt mgfilt.c) target_link_libraries(mgfilt mgf rtrad) +add_executable(mgf2inv mgf2inv.c) +target_link_libraries(mgf2inv mgf rtrad) + add_executable(3ds2mgf 3ds2mgf.c rayopt3ds.c vect3ds.c) target_link_libraries(3ds2mgf rtrad) -add_executable(mgf2inv mgf2inv.c) -target_link_libraries(mgf2inv mgf rtrad) +add_executable(pabopto2bsdf pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c) +target_link_libraries(pabopto2bsdf rtrad) +add_executable(pabopto2rad pabopto2bsdf.c bsdfrep.c bsdfrbf.c bsdfmesh.c) +target_link_libraries(pabopto2rad rtrad) + +add_executable(bsdf2rad bsdf2rad.c bsdfrep.c bsdfinterp.c) +target_link_libraries(bsdf2rad rtrad) + +add_executable(bsdfquery bsdfquery.c bsdfrep.c bsdfinterp.c) +target_link_libraries(bsdfquery rtrad) + +add_executable(bsdf2ttree bsdf2ttree.c bsdfrep.c bsdfinterp.c) +target_link_libraries(bsdf2ttree rtrad) + +add_executable(bsdf2klems bsdf2klems.c bsdfrep.c bsdfinterp.c) +target_link_libraries(bsdf2klems rtrad) + +add_executable(pkgBSDF pkgBSDF.c trans.c) +target_link_libraries(pkgBSDF rtrad) + add_executable(epw2wea epw2wea.c) +include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../meta) +add_executable(mgf2meta mgf2meta.c) +target_link_libraries(mgf2meta mgf meta rtrad) + install(TARGETS - ies2rad nff2rad lampcolor tmesh2rad obj2rad mgf2rad - rad2mgf mgf2meta mgfilt mgf2inv pkgBSDF 3ds2mgf epw2wea + ies2rad nff2rad lampcolor tmesh2rad obj2rad + mgf2rad rad2mgf mgf2meta mgfilt mgf2inv 3ds2mgf + pabopto2bsdf bsdf2ttree bsdf2klems pkgBSDF epw2wea RUNTIME DESTINATION bin) INSTALL(FILES source.cal tilt.cal lamp.tab window.cal