Files
IfcOpenShell/src/examples/CMakeLists.txt
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
2.5 KiB
CMake
Raw Normal View History

################################################################################
# #
# 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/>. #
# #
################################################################################
2011-08-24 12:53:05 +00:00
ADD_EXECUTABLE(IfcParseExamples IfcParseExamples.cpp)
2016-06-09 10:48:43 +02:00
TARGET_LINK_LIBRARIES(IfcParseExamples IfcParse)
2016-02-20 00:13:04 +02:00
set_target_properties(IfcParseExamples PROPERTIES FOLDER Examples)
2024-01-05 09:04:34 +01:00
target_compile_features(IfcParseExamples PUBLIC cxx_std_17)
2023-03-22 11:17:14 +01:00
if (WITH_OPENCASCADE)
ADD_EXECUTABLE(IfcOpenHouse IfcOpenHouse.cpp)
2016-06-09 10:48:43 +02:00
TARGET_LINK_LIBRARIES(IfcOpenHouse ${IFCOPENSHELL_LIBRARIES} ${OPENCASCADE_LIBRARIES})
2016-02-20 00:13:04 +02:00
set_target_properties(IfcOpenHouse PROPERTIES FOLDER Examples)
2016-06-22 15:03:18 +02:00
ADD_EXECUTABLE(IfcAdvancedHouse IfcAdvancedHouse.cpp)
2016-06-22 15:52:31 +02:00
TARGET_LINK_LIBRARIES(IfcAdvancedHouse ${IFCOPENSHELL_LIBRARIES} ${OPENCASCADE_LIBRARIES})
2016-06-22 15:03:18 +02:00
set_target_properties(IfcAdvancedHouse PROPERTIES FOLDER Examples)
2023-03-22 11:17:14 +01:00
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()