source: tol/installer/CMakeLists.txt @ 18d070e2

1941-docker-image-to-testdevel
Last change on this file since 18d070e2 was 0614f30, checked in by Pedro Gea <pgea@…>, 10 years ago

Refs #1938
La versión de TOL en el instalador se gestiona desde el CMakeLists.txt.

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

  • Property mode set to 100644
File size: 984 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_NAME "TOL")
11set(CPACK_PACKAGE_VERSION_MAJOR "3")
12set(CPACK_PACKAGE_VERSION_MINOR "4")
13set(CPACK_PACKAGE_VERSION_PATCH "0")
14set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
15set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Time Oriented Language")
16set(CPACK_PACKAGE_VENDOR "Tol-Project")
17set(CPACK_PACKAGE_CONTACT "Pedro Gea <pgea@bayesforecast.com>")
18
19if(WIN32)
20  add_subdirectory(windows)
21else(WIN32)
22  add_subdirectory(linux)
23  #! Sacar el include del IF después de incluir los PARENT_SCOPE en Windows
24  #! y comprobar que todo funciona adecuadamente.
25  include(CPack)
26endif(WIN32)
Note: See TracBrowser for help on using the repository browser.