mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 00:36:24 +08:00
Add build commit macro for non-XS usage.
This commit is contained in:
parent
7b36669246
commit
54d8760159
@ -38,6 +38,15 @@ namespace Slic3r {
|
||||
|
||||
constexpr auto SLIC3R_VERSION = "1.3.1-dev";
|
||||
|
||||
#ifndef SLIC3RXS
|
||||
#ifndef SLIC3R_BUILD_COMMIT
|
||||
#define SLIC3R_BUILD_COMMIT (Unknown revision)
|
||||
#endif
|
||||
#define VER1_(x) #x
|
||||
#define VER_(x) VER1_(x)
|
||||
#define BUILD_COMMIT VER_(SLIC3R_BUILD_COMMIT)
|
||||
#endif
|
||||
|
||||
typedef long coord_t;
|
||||
typedef double coordf_t;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user