mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
cmake - move ifcgeom installs to ifcgeom cmake
we don't install kernel libraries as they now have `OBJECT` type IFCGEOM_SCHEMA_LIBRARIES and headers were handled inb7a919930184a39d28628
This commit is contained in:
@@ -641,30 +641,6 @@ if(BUILD_QTVIEWER)
|
|||||||
add_subdirectory(../src/qtviewer qtviewer)
|
add_subdirectory(../src/qtviewer qtviewer)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(BUILD_IFCGEOM)
|
|
||||||
# install(FILES ${IFCGEOM_H_FILES}
|
|
||||||
# DESTINATION ${INCLUDEDIR}/ifcgeom
|
|
||||||
# )
|
|
||||||
|
|
||||||
install(FILES ${SCHEMA_AGNOSTIC_H_FILES}
|
|
||||||
DESTINATION ${INCLUDEDIR}/ifcgeom
|
|
||||||
)
|
|
||||||
|
|
||||||
file(GLOB SERIALIZATION_H_FILES ../src/ifcgeom/serialization/*.h)
|
|
||||||
install(FILES ${SERIALIZATION_H_FILES}
|
|
||||||
DESTINATION ${INCLUDEDIR}/ifcgeom/serialization
|
|
||||||
)
|
|
||||||
|
|
||||||
foreach(kernel ${GEOMETRY_KERNELS})
|
|
||||||
file(GLOB IFCGEOM_H_FILES ../src/ifcgeom/kernels/${kernel}/*.h)
|
|
||||||
install(FILES ${IFCGEOM_H_FILES}
|
|
||||||
DESTINATION ${INCLUDEDIR}/ifcgeom/kernels/${kernel}
|
|
||||||
)
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
install(TARGETS ${IFCGEOM_SCHEMA_LIBRARIES} ${kernel_libraries} IfcGeom)
|
|
||||||
endif(BUILD_IFCGEOM)
|
|
||||||
|
|
||||||
# Cmake uninstall target
|
# Cmake uninstall target
|
||||||
if(NOT TARGET uninstall)
|
if(NOT TARGET uninstall)
|
||||||
configure_file(
|
configure_file(
|
||||||
|
|||||||
@@ -31,6 +31,8 @@ if(NOT WASM_BUILD)
|
|||||||
target_link_libraries(IfcGeom IfcParse)
|
target_link_libraries(IfcGeom IfcParse)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
install(TARGETS IfcGeom)
|
||||||
|
|
||||||
install(FILES ${SCHEMA_AGNOSTIC_H_FILES}
|
install(FILES ${SCHEMA_AGNOSTIC_H_FILES}
|
||||||
DESTINATION ${INCLUDEDIR}/ifcgeom
|
DESTINATION ${INCLUDEDIR}/ifcgeom
|
||||||
)
|
)
|
||||||
Reference in New Issue
Block a user