2025-11-10 23:04:42 +01:00
|
|
|
# IfcConvert
|
2026-04-15 18:07:28 +02:00
|
|
|
add_executable(IfcConvert IfcConvert.cpp)
|
2025-11-10 23:04:42 +01:00
|
|
|
|
2026-04-19 12:32:10 +02:00
|
|
|
target_link_libraries(IfcConvert PRIVATE IfcGeom IfcParse ${OpenCASCADE_LIBRARIES} ${Boost_LIBRARIES})
|
2026-04-18 15:46:21 +02:00
|
|
|
if(kernel_libraries OR mapping_libraries OR geometry_serializer_libraries OR document_serializer_libraries)
|
|
|
|
|
add_dependencies(IfcConvert ${kernel_libraries} ${mapping_libraries} ${geometry_serializer_libraries} ${document_serializer_libraries})
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
set(_plugin_targets
|
|
|
|
|
${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-10 23:04:42 +01:00
|
|
|
|
2025-11-28 16:45:40 +01:00
|
|
|
install(TARGETS IfcConvert)
|