Files
IfcOpenShell/src/ifcconvert/CMakeLists.txt
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
923 B
CMake
Raw Normal View History

# IfcConvert
2026-04-15 18:07:28 +02:00
add_executable(IfcConvert IfcConvert.cpp)
2026-04-21 16:18:59 +02:00
target_link_libraries(IfcConvert PRIVATE IfcGeom IfcParse ${Boost_LIBRARIES})
2026-05-06 21:17:25 +02:00
if(schema_libraries OR kernel_libraries OR mapping_libraries OR geometry_serializer_libraries OR document_serializer_libraries)
add_dependencies(IfcConvert ${schema_libraries} ${kernel_libraries} ${mapping_libraries} ${geometry_serializer_libraries} ${document_serializer_libraries})
2026-04-18 15:46:21 +02:00
endif()
set(_plugin_targets
2026-05-06 21:17:25 +02:00
${schema_libraries}
2026-04-18 15:46:21 +02:00
${kernel_libraries}
${mapping_libraries}
${geometry_serializer_libraries}
${document_serializer_libraries}
)
set(_plugin_paths "")
foreach(t IN LISTS _plugin_targets)
string(APPEND _plugin_paths ";$<TARGET_FILE_DIR:${t}>")
endforeach()
set_target_properties(IfcConvert PROPERTIES
VS_DEBUGGER_ENVIRONMENT
"PATH=%PATH%;$<JOIN:$<TARGET_RUNTIME_DLL_DIRS:IfcConvert>,;>;${_plugin_paths}"
)
2025-11-28 16:45:40 +01:00
install(TARGETS IfcConvert)