source: tol/installer/CMakeLists.txt @ 8685395

1941-docker-image-to-testdevel
Last change on this file since 8685395 was 8685395, checked in by Pedro Gea <pgea@…>, 11 years ago

Refs #1899
Se incorpora el CMakeLists.txt para el instalador en Windows.
Dispone de la posibilidad de crear el instalador para 32 y para 64 bits.
Dispone de la posibilidad de incluir tolbase o no.
Para que funcione adecuadamente la sentencia include(CPack) ha de moverse de archivo.

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7187 be4846ae-f051-483a-831f-b64e7d08527f

  • Property mode set to 100644
File size: 818 bytes
Line 
1# => http://www.cmake.org/Wiki/CMake:CPackPackageGenerators
2
3cmake_minimum_required(VERSION 3.0)
4project(TOL-Installer)
5
6if(NOT TOL_RUNTIME_DIR)
7  message(FATAL_ERROR "You must specify the variable TOL_RUNTIME_DIR with the path to binary instalation of TOL. TOLTCL and TOLBASE should also be installed on that location.")
8endif(NOT TOL_RUNTIME_DIR)
9
10set(CPACK_PACKAGE_VENDOR "Tol-Project")
11set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Time Oriented Language")
12set(CPACK_PACKAGE_VERSION_MAJOR "3")
13set(CPACK_PACKAGE_VERSION_MINOR "3")
14set(CPACK_PACKAGE_VERSION_PATCH "0")
15set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
16set(CPACK_PACKAGE_CONTACT "Pedro Gea <pgea@bayesforecast.com>")
17
18if( WIN32 )
19  add_subdirectory( windows )
20else(WIN32)
21  add_subdirectory( linux )
22endif( WIN32 )
Note: See TracBrowser for help on using the repository browser.