Tweak output names

This commit is contained in:
Thomas Krijnen
2026-05-08 13:39:52 +02:00
parent 8d0a6ecc16
commit 8fcaa18171
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -3,8 +3,8 @@ set(geometry_serialization_plugin_runtime_dir "${CMAKE_CURRENT_BINARY_DIR}/$<CON
add_subdirectory(schema)
add_library(geometry_serializer Serialization.cpp opencascade_geometry_ifc_writer_plugin.cpp)
add_library(opencascade_geometry_ifc_writer ALIAS geometry_serializer)
set_target_properties(geometry_serializer PROPERTIES
OUTPUT_NAME "ifcopenshell.geometry.writer"
COMPILE_FLAGS "-DIFC_GEOMSERIALIZATION_EXPORTS"
RUNTIME_OUTPUT_DIRECTORY "${geometry_serialization_plugin_runtime_dir}"
LIBRARY_OUTPUT_DIRECTORY "${geometry_serialization_plugin_runtime_dir}"
@@ -5,7 +5,7 @@ foreach(schema ${SCHEMA_VERSIONS})
target_link_libraries(geometry_serializer_ifc${schema} PRIVATE plugin geometry_serializer IfcGeom IfcParse parse_schema_ifc${schema} ${OpenCASCADE_LIBRARIES})
set_target_properties(geometry_serializer_ifc${schema} PROPERTIES
COMPILE_FLAGS "-DIfcSchema=Ifc${schema}"
OUTPUT_NAME "ifcopenshell.geometry.serialization.ifc${schema}"
OUTPUT_NAME "ifcopenshell.geometry.writer.ifc${schema}"
RUNTIME_OUTPUT_DIRECTORY "${geometry_serialization_plugin_runtime_dir}"
LIBRARY_OUTPUT_DIRECTORY "${geometry_serialization_plugin_runtime_dir}"
)
+1
View File
@@ -3,6 +3,7 @@ file(GLOB PLUGIN_CPP_FILES *.cpp)
add_library(plugin ${PLUGIN_CPP_FILES} ${PLUGIN_H_FILES})
set_target_properties(plugin PROPERTIES
OUTPUT_NAME "ifcopenshell.plugin"
COMPILE_FLAGS "-DPLUGIN_EXPORTS")
if (NOT CREATE_BUNDLE)