mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
7 lines
512 B
CMake
7 lines
512 B
CMake
|
|
foreach(schema ${SCHEMA_VERSIONS})
|
||
|
|
add_library(geometry_serializer_ifc${schema} STATIC Serialization.cpp)
|
||
|
|
target_link_libraries(geometry_serializer_ifc${schema} ${OpenCASCADE_LIBRARIES})
|
||
|
|
set_target_properties(geometry_serializer_ifc${schema} PROPERTIES COMPILE_FLAGS "-DIFC_GEOMSERIALIZATION_EXPORTS -DIfcSchema=Ifc${schema}")
|
||
|
|
list(APPEND geometry_serializer_libraries geometry_serializer_ifc${schema})
|
||
|
|
endforeach()
|
||
|
|
set(geometry_serializer_libraries ${geometry_serializer_libraries} PARENT_SCOPE)
|