diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/BuildPackages.cmake | 11 | ||||
-rw-r--r-- | cmake/getdate.bat | 9 |
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 |