Changeset 48833d3 in tol for building/Linux


Ignore:
Timestamp:
Feb 19, 2016, 11:45:27 AM (11 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
6755180
Parents:
232d1b9
Message:

Refs #1880, #1899
Se incorporan las opciones de compilación de las "ThirdParty" en build.sh.
Se corrige el mecanismo de inclusión de estos paquetes de tcl/Tk en la instalación. El mecanismo anterior basado en lib_children fallaba al no existir aún los directorios en tiempo de cmake.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • building/Linux/build.sh

    r232d1b9 r48833d3  
    6565    cmake $PROJECT_DIR -DCMAKE_BUILD_TYPE=$mode -DZIPARCHIVE_ROOT_DIR=/usr/local/ZipArchive$suffix -DZIPARCHIVE_AS_STATIC=TRUE -DCMAKE_INSTALL_PREFIX=/usr/local/tol$version$suffix
    6666  else
    67     cmake $PROJECT_DIR -DCMAKE_BUILD_TYPE=$mode -DTOL_PREFIX_PATH=/usr/local/tol$version$suffix -DCMAKE_INSTALL_PREFIX=/usr/local/tol$version$suffix
     67    if [ "$project" = "toltcl" ]; then
     68      OPT_3PARTY="-DBUILD_TCLCURL=TRUE"
     69    elif [ "$project" = "tolbase" ]; then
     70      OPT_3PARTY="-DBUILD_TCLODBC=TRUE -DBUILD_TKTABLE=TRUE"
     71    else
     72      OPT_3PARTY=
     73    fi
     74    cmake $PROJECT_DIR $OPT_3PARTY -DCMAKE_BUILD_TYPE=$mode -DTOL_PREFIX_PATH=/usr/local/tol$version$suffix -DCMAKE_INSTALL_PREFIX=/usr/local/tol$version$suffix
    6875  fi 
    6976fi
Note: See TracChangeset for help on using the changeset viewer.