summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormeta <meta@b57f626f-c46c-0410-a088-ec61d464b74c>2011-01-16 05:33:44 (GMT)
committermeta <meta@b57f626f-c46c-0410-a088-ec61d464b74c>2011-01-16 05:33:44 (GMT)
commit91e33a87c4e0c07e1f423e09cfa74909e4d87fe2 (patch)
tree94f42b401dee999ec10a27b01576e59611e058b5
parentfafd73cd2e5d5bf786f44b28dc1a887a10031b34 (diff)
make the default VERSION initialization work on windows
git-svn-id: http://svn.clifford.at/openscad/trunk@589 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r--openscad.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/openscad.pro b/openscad.pro
index 42a5d22..b329e4c 100644
--- a/openscad.pro
+++ b/openscad.pro
@@ -1,4 +1,9 @@
+win32 {
+isEmpty(VERSION) VERSION = $$system(date /t)
+} else {
isEmpty(VERSION) VERSION = $$system(date "+%Y.%m.%d")
+}
+
DEFINES += OPENSCAD_VERSION=$$VERSION
TEMPLATE = app
RESOURCES = openscad.qrc
contact: Jan Huwald // Impressum