From 9a9475adcbc81c22759a8ac132d8b742292e9361 Mon Sep 17 00:00:00 2001 From: stephassoria Date: Wed, 12 Dec 2018 15:33:24 +0100 Subject: [PATCH] Exclude parse_ifcxml.cpp content from build when WITH_IFCXML is not define --- src/ifcparse/parse_ifcxml.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ifcparse/parse_ifcxml.cpp b/src/ifcparse/parse_ifcxml.cpp index b211c7cbcc..916ee6b307 100644 --- a/src/ifcparse/parse_ifcxml.cpp +++ b/src/ifcparse/parse_ifcxml.cpp @@ -1,5 +1,7 @@ #define BOOST_RESULT_OF_USE_DECLTYPE +#ifdef WITH_IFCXML + #include "IfcFile.h" #include @@ -623,3 +625,5 @@ IFC_PARSE_API IfcParse::IfcFile* IfcParse::parse_ifcxml(const std::string& filen return state.file; } #endif + +#endif // WITH_IFCXML \ No newline at end of file