mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 22:52:29 +00:00
format cmake files
This commit is contained in:
@@ -3,15 +3,16 @@ add_subdirectory(schema)
|
||||
add_library(geometry_serializer STATIC Serialization.cpp)
|
||||
file(GLOB IFCGEOM_SERIALIZATION_H_FILE *.h)
|
||||
|
||||
set_target_properties(geometry_serializer PROPERTIES
|
||||
COMPILE_FLAGS "-DIFC_GEOMSERIALIZATION_EXPORTS"
|
||||
PUBLIC_HEADER "${IFCGEOM_SERIALIZATION_H_FILE}"
|
||||
set_target_properties(
|
||||
geometry_serializer
|
||||
PROPERTIES COMPILE_FLAGS "-DIFC_GEOMSERIALIZATION_EXPORTS" PUBLIC_HEADER "${IFCGEOM_SERIALIZATION_H_FILE}"
|
||||
)
|
||||
target_link_libraries(geometry_serializer ${geometry_serializer_libraries} IfcParse)
|
||||
set(IFCOPENSHELL_LIBRARIES ${IFCOPENSHELL_LIBRARIES} "geometry_serializer" ${geometry_serializer_libraries})
|
||||
set(IFCOPENSHELL_LIBRARIES ${IFCOPENSHELL_LIBRARIES} PARENT_SCOPE)
|
||||
|
||||
install(TARGETS geometry_serializer ${geometry_serializer_libraries}
|
||||
install(
|
||||
TARGETS geometry_serializer ${geometry_serializer_libraries}
|
||||
EXPORT ${IFCOPENSHELL_EXPORT_TARGETS}
|
||||
PUBLIC_HEADER DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/ifcgeom/Serialization"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user