mirror of https://github.com/ecmwf/eccodes.git
ECC-1336: CMake: Introduce ECCODES_ON_LINUX_32BIT variable for testing
This commit is contained in:
parent
0a2c5f3727
commit
53cd2489a1
|
@ -306,6 +306,11 @@ if( IEEE_LE )
|
|||
set( IEEE_BE 0 )
|
||||
endif()
|
||||
|
||||
set( ECCODES_ON_LINUX_32BIT 0 )
|
||||
if( EC_OS_NAME MATCHES "linux" AND EC_OS_BITS EQUAL "32" )
|
||||
set( ECCODES_ON_LINUX_32BIT 1 )
|
||||
endif()
|
||||
|
||||
set( ECCODES_ON_WINDOWS 0 )
|
||||
if( EC_OS_NAME MATCHES "windows" )
|
||||
# Symbols need to be explicitly exported on Windows so we can link to dlls.
|
||||
|
|
|
@ -43,6 +43,7 @@ HAVE_PNG=@HAVE_PNG@
|
|||
HAVE_AEC=@HAVE_AEC@
|
||||
HAVE_EXTRA_TESTS=@HAVE_EXTRA_TESTS@
|
||||
HAVE_MEMFS=@HAVE_MEMFS@
|
||||
ECCODES_ON_LINUX_32BIT=@ECCODES_ON_LINUX_32BIT@
|
||||
ECCODES_ON_WINDOWS=@ECCODES_ON_WINDOWS@
|
||||
|
||||
echo "Current directory: `pwd`"
|
||||
|
|
|
@ -20,8 +20,9 @@ else
|
|||
echo
|
||||
echo "TEST: $0"
|
||||
|
||||
# Only Unix supported
|
||||
# Only Unix 64bit supported
|
||||
ECCODES_ON_WINDOWS=0
|
||||
ECCODES_ON_LINUX_32BIT=0
|
||||
|
||||
data_dir=""
|
||||
# save current working dir
|
||||
|
|
Loading…
Reference in New Issue