CPackOptions.cmake.in 1.1 KB

123456789101112131415161718192021222324
  1. # This file is configured at cmake time, and loaded at cpack time.
  2. # To pass variables to cpack from cmake, they must be configured
  3. # in this file.
  4. if(CPACK_GENERATOR MATCHES "NSIS")
  5. SET( CPACK_PACKAGE_ICON @CMAKE_SOURCE_DIR@/admin/win/nsi/installer.ico ) # A branding image that will be displayed on the top bar inside the installer. installer.bmp
  6. SET( CPACK_NSIS_COMPRESSOR "/SOLID lzma" ) # The arguments that will be passed to the NSIS SetCompressor command. /SOLID lzma
  7. endif(CPACK_GENERATOR MATCHES "NSIS")
  8. set( CMAKE_SOURCE_DIR @CMAKE_SOURCE_DIR@ )
  9. set( CMAKE_BINARY_DIR @CMAKE_BINARY_DIR@ )
  10. set( CSYNC_BINARY_DIR @CSYNC_BINARY_DIR@ )
  11. set( MINGW_ROOT @CMAKE_FIND_ROOT_PATH@ )
  12. if(CSYNC_BINARY_DIR)
  13. set( CSYNC_LIBRARY_DIR "${CSYNC_BINARY_DIR}/src" )
  14. set( CSYNC_PLUGIN_DIR "${CSYNC_BINARY_DIR}/modules" )
  15. set( CSYNC_CONFIG_DIR "${CSYNC_BINARY_DIR}/config" )
  16. else()
  17. set( CSYNC_LIBRARY_DIR "${MINGW_ROOT}/bin" )
  18. set( CSYNC_PLUGIN_DIR "${MINGW_ROOT}/bin/csync-0" ) #FIXME: whatever it is
  19. set( CSYNC_CONFIG_DIR "${MINGW_ROOT}/etc/csync" )
  20. endif()