summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorDRC <dcommander@users.sourceforge.net>2011-11-08 06:57:58 +0000
committerDRC <dcommander@users.sourceforge.net>2011-11-08 06:57:58 +0000
commitccc0969dd97ed55b063f79fc2b85011e48b765ca (patch)
tree908b4b88b2d3253bb207925944e9e5cba99d7a16 /cmake
parentc6c436e9faaca220a0b58027badf08a0907e3589 (diff)
downloadtigervnc-ccc0969dd97ed55b063f79fc2b85011e48b765ca.tar.gz
tigervnc-ccc0969dd97ed55b063f79fc2b85011e48b765ca.zip
Remove Visual C++ support
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4774 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'cmake')
-rw-r--r--cmake/BuildPackages.cmake11
-rw-r--r--cmake/getdate.bat9
2 files changed, 1 insertions, 19 deletions
diff --git a/cmake/BuildPackages.cmake b/cmake/BuildPackages.cmake
index 100ba05a..33043a31 100644
--- a/cmake/BuildPackages.cmake
+++ b/cmake/BuildPackages.cmake
@@ -15,14 +15,6 @@ else()
set(INST_NAME ${CMAKE_PROJECT_NAME}-${VERSION})
endif()
-if(MSVC_IDE)
- set(INSTALLERDIR "$(OutDir)")
- set(BUILDDIRDEF "-DBUILD_DIR=${INSTALLERDIR}\\")
-else()
- set(INSTALLERDIR .)
- set(BUILDDIRDEF "-DBUILD_DIR=")
-endif()
-
set(INST_DEPS vncviewer)
if(BUILD_WINVNC)
@@ -37,8 +29,7 @@ endif()
configure_file(release/tigervnc.iss.in release/tigervnc.iss)
add_custom_target(installer
- iscc -o${INSTALLERDIR} ${INST_DEFS} ${BUILDDIRDEF} -F${INST_NAME}
- release/tigervnc.iss
+ iscc -o. ${INST_DEFS} -DBUILD_DIR= -F${INST_NAME} release/tigervnc.iss
DEPENDS ${INST_DEPS}
SOURCES release/tigervnc.iss)
diff --git a/cmake/getdate.bat b/cmake/getdate.bat
deleted file mode 100644
index 09956baa..00000000
--- a/cmake/getdate.bat
+++ /dev/null
@@ -1,9 +0,0 @@
-@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