include_directories(${NUTIL_EXTERNAL_INCLUDES} . ..) link_directories(${NUTIL_EXTERNAL_LIBRARY_DIRS}) add_executable (ibrep-test-occ main.cc) add_executable (ibrep-test-occ-static EXCLUDE_FROM_ALL main.cc ) SET_TARGET_PROPERTIES(ibrep-test-occ PROPERTIES OUTPUT_NAME "ibrep-test-occ") SET_TARGET_PROPERTIES(ibrep-test-occ-static PROPERTIES OUTPUT_NAME "ibrep-test-occ") target_link_libraries (ibrep-test-occ ${LIBS} ibrep-occ-dynamic ${NUTIL_DYNAMIC_LIBRARIES} ) target_link_libraries (ibrep-test-occ-static ${LIBS} ibrep-occ-static ${NUTIL_STATIC_LIBRARIES} ) add_executable (ibrep-disp-occ main_disp.cc) add_executable (ibrep-disp-occ-static EXCLUDE_FROM_ALL main_disp.cc ) SET_TARGET_PROPERTIES(ibrep-disp-occ PROPERTIES OUTPUT_NAME "ibrep-disp-occ") SET_TARGET_PROPERTIES(ibrep-disp-occ-static PROPERTIES OUTPUT_NAME "ibrep-disp-occ") target_link_libraries (ibrep-disp-occ ${LIBS} ibrep-occ-dynamic ${NUTIL_DYNAMIC_LIBRARIES} ) target_link_libraries (ibrep-disp-occ-static ${LIBS} ibrep-occ-static ${NUTIL_STATIC_LIBRARIES} ) add_executable (ibrep-geodesic-occ main_geodesic.cc) add_executable (ibrep-geodesic-occ-static EXCLUDE_FROM_ALL main_geodesic.cc ) SET_TARGET_PROPERTIES(ibrep-geodesic-occ PROPERTIES OUTPUT_NAME "ibrep-geodesic-occ") SET_TARGET_PROPERTIES(ibrep-geodesic-occ-static PROPERTIES OUTPUT_NAME "ibrep-geodesic-occ") target_link_libraries (ibrep-geodesic-occ ${LIBS} ibrep-occ-dynamic ${NUTIL_DYNAMIC_LIBRARIES} ) target_link_libraries (ibrep-geodesic-occ-static ${LIBS} ibrep-occ-static ${NUTIL_STATIC_LIBRARIES} )