summaryrefslogtreecommitdiffstats
path: root/cmake/getdate.bat
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-10-04 04:03:34 +0000
committerDRC <dcommander@users.sourceforge.net>2011-10-04 04:03:34 +0000
commit7636ad0cc4186ec01827696426a03cca914ce57b (patch)
treeabb0fc645f97a272545cfdb06262d2ccd09a0331 /cmake/getdate.bat
parente334a8aa00789c720aa70694fe2e134a65deda12 (diff)
downloadtigervnc-7636ad0cc4186ec01827696426a03cca914ce57b.tar.gz
tigervnc-7636ad0cc4186ec01827696426a03cca914ce57b.zip
Integrate Java TigerVNC Viewer build into CMake build system
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4690 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'cmake/getdate.bat')
-rw-r--r--cmake/getdate.bat6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/getdate.bat b/cmake/getdate.bat
index b4251bbb..09956baa 100644
--- a/cmake/getdate.bat
+++ b/cmake/getdate.bat
@@ -1,3 +1,9 @@
@echo off
+
+if "%1"=="javadate" date /t & goto end
+if "%1"=="javatime" time /t & goto end
+
for /f "tokens=1-4 eol=/ DELIMS=/ " %%i in ('date /t') do set BUILD=%%l%%j%%k
echo %BUILD%
+
+:end