Browse Source

Consolidate all the Windows installer stuff to its own directory.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4316 3789f03b-4d11-0410-bbf8-ca57d06f2519
tags/v1.1.90
Pierre Ossman 13 years ago
parent
commit
481b03ecd4
4 changed files with 34 additions and 37 deletions
  1. 0
    37
      CMakeLists.txt
  2. 3
    0
      win/CMakeLists.txt
  3. 31
    0
      win/installer/CMakeLists.txt
  4. 0
    0
      win/installer/tigervnc.iss.in

+ 0
- 37
CMakeLists.txt View File

@@ -125,40 +125,3 @@ add_definitions(-D_WIN32_IE=0x0500 -D_WIN32_WINNT=0x0500)

add_subdirectory(common)
add_subdirectory(win)


#
# Installer
#

if(64BIT)
set(INST_NAME ${CMAKE_PROJECT_NAME}64-${VERSION})
set(INST_DEFS -DWIN64)
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)
set(INST_DEFS ${INST_DEFS} -DBUILD_WINVNC)
set(INST_DEPS ${INST_DEPS} winvnc4 wm_hooks vncconfig)
endif()

configure_file(win/tigervnc.iss.in tigervnc.iss)

add_custom_target(installer
iscc -o${INSTALLERDIR} ${INST_DEFS} ${BUILDDIRDEF} -F${INST_NAME} tigervnc.iss
DEPENDS ${INST_DEPS}
SOURCES tigervnc.iss)

install(FILES ${CMAKE_SOURCE_DIR}/win/README_BINARY.txt
${CMAKE_SOURCE_DIR}/LICENCE.txt DESTINATION .)

+ 3
- 0
win/CMakeLists.txt View File

@@ -4,7 +4,10 @@ configure_file(resdefs.h.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/resdefs.h)

add_subdirectory(rfb_win32)
add_subdirectory(vncviewer)

if(BUILD_WINVNC)
add_subdirectory(vncconfig)
add_subdirectory(winvnc)
endif()

add_subdirectory(installer)

+ 31
- 0
win/installer/CMakeLists.txt View File

@@ -0,0 +1,31 @@
if(64BIT)
set(INST_NAME ${CMAKE_PROJECT_NAME}64-${VERSION})
set(INST_DEFS -DWIN64)
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)
set(INST_DEFS ${INST_DEFS} -DBUILD_WINVNC)
set(INST_DEPS ${INST_DEPS} winvnc4 wm_hooks vncconfig)
endif()

configure_file(tigervnc.iss.in tigervnc.iss)

add_custom_target(installer
iscc -o${INSTALLERDIR} ${INST_DEFS} ${BUILDDIRDEF} -F${INST_NAME} tigervnc.iss
DEPENDS ${INST_DEPS}
SOURCES tigervnc.iss)

install(FILES ${CMAKE_SOURCE_DIR}/win/README_BINARY.txt
${CMAKE_SOURCE_DIR}/LICENCE.txt DESTINATION .)

win/tigervnc.iss.in → win/installer/tigervnc.iss.in View File


Loading…
Cancel
Save