mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
a70b7e319b
As they doesn't support other schemas.
46 lines
2.5 KiB
CMake
46 lines
2.5 KiB
CMake
################################################################################
|
|
# #
|
|
# This file is part of IfcOpenShell. #
|
|
# #
|
|
# IfcOpenShell is free software: you can redistribute it and/or modify #
|
|
# it under the terms of the Lesser GNU General Public License as published by #
|
|
# the Free Software Foundation, either version 3.0 of the License, or #
|
|
# (at your option) any later version. #
|
|
# #
|
|
# IfcOpenShell is distributed in the hope that it will be useful, #
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
|
# Lesser GNU General Public License for more details. #
|
|
# #
|
|
# You should have received a copy of the Lesser GNU General Public License #
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
|
# #
|
|
################################################################################
|
|
|
|
ADD_EXECUTABLE(IfcParseExamples IfcParseExamples.cpp)
|
|
TARGET_LINK_LIBRARIES(IfcParseExamples IfcParse)
|
|
set_target_properties(IfcParseExamples PROPERTIES FOLDER Examples)
|
|
target_compile_features(IfcParseExamples PUBLIC cxx_std_17)
|
|
|
|
if (WITH_OPENCASCADE)
|
|
|
|
ADD_EXECUTABLE(IfcOpenHouse IfcOpenHouse.cpp)
|
|
TARGET_LINK_LIBRARIES(IfcOpenHouse ${IFCOPENSHELL_LIBRARIES} ${OPENCASCADE_LIBRARIES})
|
|
set_target_properties(IfcOpenHouse PROPERTIES FOLDER Examples)
|
|
|
|
ADD_EXECUTABLE(IfcAdvancedHouse IfcAdvancedHouse.cpp)
|
|
TARGET_LINK_LIBRARIES(IfcAdvancedHouse ${IFCOPENSHELL_LIBRARIES} ${OPENCASCADE_LIBRARIES})
|
|
set_target_properties(IfcAdvancedHouse PROPERTIES FOLDER Examples)
|
|
|
|
endif()
|
|
|
|
if(SCHEMA_VERSIONS MATCHES "4x3")
|
|
ADD_EXECUTABLE(IfcAlignment IfcAlignment.cpp)
|
|
TARGET_LINK_LIBRARIES(IfcAlignment ${IFCOPENSHELL_LIBRARIES})
|
|
set_target_properties(IfcAlignment PROPERTIES FOLDER Examples)
|
|
|
|
ADD_EXECUTABLE(IfcSimplifiedAlignment IfcSimplifiedAlignment.cpp)
|
|
TARGET_LINK_LIBRARIES(IfcSimplifiedAlignment ${IFCOPENSHELL_LIBRARIES})
|
|
set_target_properties(IfcSimplifiedAlignment PROPERTIES FOLDER Examples)
|
|
endif()
|