mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 14:41:25 +00:00
Move IFCOPENSHELL_VERSION definition from IfcParse.h
To prevent recompiling all files that have IfcParse.h include and improve caching.
This commit is contained in:
@@ -43,11 +43,8 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#if defined(IFCOPENSHELL_BRANCH) && defined(IFCOPENSHELL_COMMIT)
|
||||
#define IFCOPENSHELL_VERSION STRINGIFY(IFCOPENSHELL_BRANCH) "-" STRINGIFY(IFCOPENSHELL_COMMIT)
|
||||
#else
|
||||
#define IFCOPENSHELL_VERSION "0.8.0"
|
||||
#endif
|
||||
|
||||
extern const char *IFCOPENSHELL_VERSION;
|
||||
|
||||
namespace IfcParse {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user