Skip to content

Commit 9a9475a

Browse files
stephassoriaaothms
authored andcommitted
Exclude parse_ifcxml.cpp content from build when WITH_IFCXML is not define
1 parent f307f39 commit 9a9475a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/ifcparse/parse_ifcxml.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#define BOOST_RESULT_OF_USE_DECLTYPE
22

3+
#ifdef WITH_IFCXML
4+
35
#include "IfcFile.h"
46

57
#include <libxml/parser.h>
@@ -623,3 +625,5 @@ IFC_PARSE_API IfcParse::IfcFile* IfcParse::parse_ifcxml(const std::string& filen
623625
return state.file;
624626
}
625627
#endif
628+
629+
#endif // WITH_IFCXML

0 commit comments

Comments
 (0)