mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 12:47:48 +02:00
[cmake] add windows support for MSYS
Done with Vort's (https://github.com/Vort) cooperation + Updated Makefiles for correct options order Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
parent
2e899a8d36
commit
8ed721ca14
12 changed files with 198 additions and 87 deletions
|
@ -11,7 +11,9 @@
|
|||
|
||||
#define CODENAME "Purple"
|
||||
|
||||
#define XSTRINGIZE(x) STRINGIZE(x)
|
||||
#define STRINGIZE(x) #x
|
||||
|
||||
#define MAKE_VERSION(a,b,c) STRINGIZE(a) "." STRINGIZE(b) "." STRINGIZE(c)
|
||||
#define MAKE_VERSION_NUMBER(a,b,c) ((a*100+b)*100+c)
|
||||
|
||||
|
@ -20,7 +22,7 @@
|
|||
#define I2PD_VERSION_MICRO 1
|
||||
#define I2PD_VERSION_PATCH 0
|
||||
#ifdef GITVER
|
||||
#define I2PD_VERSION GITVER
|
||||
#define I2PD_VERSION XSTRINGIZE(GITVER)
|
||||
#else
|
||||
#define I2PD_VERSION MAKE_VERSION(I2PD_VERSION_MAJOR, I2PD_VERSION_MINOR, I2PD_VERSION_MICRO)
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue