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 | |
|---|
| 3 | cmake_minimum_required(VERSION 3.0) |
|---|
| 4 | project(TOL-Installer) |
|---|
| 5 | |
|---|
| 6 | if(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.") |
|---|
| 8 | endif(NOT TOL_RUNTIME_DIR) |
|---|
| 9 | |
|---|
| 10 | set(CPACK_PACKAGE_VENDOR "Tol-Project") |
|---|
| 11 | set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Time Oriented Language") |
|---|
| 12 | set(CPACK_PACKAGE_VERSION_MAJOR "3") |
|---|
| 13 | set(CPACK_PACKAGE_VERSION_MINOR "3") |
|---|
| 14 | set(CPACK_PACKAGE_VERSION_PATCH "0") |
|---|
| 15 | set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}") |
|---|
| 16 | set(CPACK_PACKAGE_CONTACT "Pedro Gea <pgea@bayesforecast.com>") |
|---|
| 17 | |
|---|
| 18 | if( WIN32 ) |
|---|
| 19 | add_subdirectory( windows ) |
|---|
| 20 | else(WIN32) |
|---|
| 21 | add_subdirectory( linux ) |
|---|
| 22 | endif( WIN32 ) |
|---|
Note: See
TracBrowser
for help on using the repository browser.