devel
|
Last change
on this file was
b6e5dacc,
checked in by Jorge Pérez <josp.jorge@…>, 12 years ago
|
|
refs #1812, refs #1818, compilación basada en CMake, eliminación de warnings, automatización de la regla install.
Configuración en Linux como:
cmake -DCMAKE_TOOLCHAIN_FILE=../linux-i686.toolchain.cmake -DTOL_PREFIX_PATH=/usr/local/tol32 -DCMAKE_BUILD_TYPE=Release -DTCL_LIBRARY=/usr/local/tcl8.5-i686/lib/libtcl8.5.so ..
git-svn-id: https://www.tol-project.org/svn/tolp/trunk@6456 be4846ae-f051-483a-831f-b64e7d08527f
|
-
Property mode set to
100644
|
|
File size:
344 bytes
|
| Line | |
|---|
| 1 | if( MSYS )
|
|---|
| 2 | get_filename_component( msys_usr $ENV{WD} DIRECTORY )
|
|---|
| 3 | set( MSYS_USR_PATH ${msys_usr} CACHE INTERNAL "" )
|
|---|
| 4 | endif( MSYS )
|
|---|
| 5 |
|
|---|
| 6 | macro( msys_convert_path var path )
|
|---|
| 7 | if( MSYS )
|
|---|
| 8 | string( REGEX REPLACE ^/usr ${MSYS_USR_PATH} ${var} ${path} )
|
|---|
| 9 | else( MSYS )
|
|---|
| 10 | set( ${var} ${path} PARENT_SCOPE )
|
|---|
| 11 | endif( MSYS )
|
|---|
| 12 | endmacro( )
|
|---|
Note: See
TracBrowser
for help on using the repository browser.