win: remove klaasi haasi's harcoded paths from the nsi

This commit is contained in:
Dominik Schmidt 2012-04-26 16:55:14 +02:00
Родитель b5f43a89ea
Коммит f02a018711
2 изменённых файлов: 12 добавлений и 5 удалений

Просмотреть файл

@ -7,5 +7,10 @@ if(CPACK_GENERATOR MATCHES "NSIS")
SET( CPACK_NSIS_COMPRESSOR "/SOLID lzma" ) # The arguments that will be passed to the NSIS SetCompressor command. /SOLID lzma
endif(CPACK_GENERATOR MATCHES "NSIS")
SET( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
SET( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
set( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
set( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
set( CSYNC_BINARY_DIR @CSYNC_BINARY_DIR@ )
if(NOT CSYNC_BINARY_DIR)
message(FATAL_ERROR "You need to make CSYNC_BINARY_DIR point to the csync build dir")
endif()

Просмотреть файл

@ -33,6 +33,8 @@
!define SQLITE_DLL_PATH "${MING_LIB}/qt4/plugins/sqldrivers"
!define IMAGEFORMATS_DLL_PATH "${MING_LIB}/qt4/plugins/imageformats"
!define CSYNC_BINARY_DIR "@CSYNC_BINARY_DIR@"
!define NSI_PATH "${SOURCE_PATH}/admin/win/nsi"
;-----------------------------------------------------------------------------
@ -282,7 +284,7 @@ Section "${APPLICATION_NAME}" SEC_OWNCLOUD_PLAYER
; FIXME: fix installation dir of module, currently needs manual copying to
; /usr/i686-w64-mingw32/sys-root/mingw/bin/csync_modules/
File "/home/kf/owncloud.com/win/buildcsync/modules/csync_owncloud.dll"
File "${CSYNC_BINARY_DIR}/modules/csync_owncloud.dll"
SetOutPath "$INSTDIR"
!endif
@ -298,7 +300,7 @@ Section "${APPLICATION_NAME}" SEC_OWNCLOUD_PLAYER
File "${QT_DLL_PATH}\QtNetwork4.dll"
File "${QT_DLL_PATH}\QtXml4.dll"
File "/home/kf/owncloud.com/win/buildcsync/src/libcsync.dll"
File "${CSYNC_BINARY_DIR}/src/libcsync.dll"
File "${MING_BIN}\libsqlite3-0.dll"
File "${MING_BIN}\libiniparser.dll"
File "${MING_BIN}\libdl.dll"
@ -325,7 +327,7 @@ Section "${APPLICATION_NAME}" SEC_OWNCLOUD_PLAYER
File "${MING_BIN}\libssl-8.dll"
; CSync configs
File "/home/kf/owncloud.com/win/csync/config/csync.conf"
File "${CSYNC_BINARY_DIR}/config/csync.conf"
File "${SOURCE_PATH}/exclude.lst"
SectionEnd