source: tol/installer/CMakeLists.txt

devel
Last change on this file was 84e5b2ac, checked in by Jorge Pérez <josp.jorge@…>, 10 years ago

refs #1950, completando dependencias de CentOS

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

  • Property mode set to 100644
File size: 984 bytes
RevLine 
[0ca91a5]1# => http://www.cmake.org/Wiki/CMake:CPackPackageGenerators
2
[8faa4f7]3cmake_minimum_required(VERSION 3.0)
[0ca91a5]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
[84e5b2ac]10set(CPACK_PACKAGE_NAME "tol")
[0ca91a5]11set(CPACK_PACKAGE_VERSION_MAJOR "3")
[0614f30]12set(CPACK_PACKAGE_VERSION_MINOR "4")
[0ca91a5]13set(CPACK_PACKAGE_VERSION_PATCH "0")
14set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
[8faa4f7]15set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Time Oriented Language")
[7e4ac7f]16set(CPACK_PACKAGE_VENDOR "Tol-Project")
[0ca91a5]17set(CPACK_PACKAGE_CONTACT "Pedro Gea <pgea@bayesforecast.com>")
18
[8faa4f7]19if(WIN32)
20  add_subdirectory(windows)
[0ca91a5]21else(WIN32)
[8faa4f7]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.