ECC-540: MEMFS by default does not trigger installation of samples and definitions

This commit is contained in:
Tiago Quintino 2017-09-06 11:12:48 +01:00
parent 2c18053bbf
commit 43fc1118aa
1 changed files with 15 additions and 12 deletions

View File

@ -39,18 +39,6 @@ ecbuild_add_option( FEATURE EXAMPLES
DEFAULT ON
)
# controls installation of files in definitions/ -- note that it still creates the symlinks in the build dir
ecbuild_add_option( FEATURE INSTALL_ECCODES_DEFINITIONS
DESCRIPTION "Install the ecCodes definitions"
DEFAULT ON
)
# controls installation of files in samples/ and ifs_samples/ -- note that it still creates the symlinks in the build dir
ecbuild_add_option( FEATURE INSTALL_ECCODES_SAMPLES
DESCRIPTION "Install the ecCodes samples, including IFS samples"
DEFAULT ON
)
ecbuild_add_option( FEATURE JPG
DESCRIPTION "Support for JPG decoding/encoding"
DEFAULT ON
@ -116,6 +104,21 @@ ecbuild_add_option( FEATURE MEMFS
# ecbuild_warn("MEMFS not supported with Cray C compiler")
#endif()
# controls installation of files in definitions/ -- note that it still creates the symlinks in the build dir
# by default, if memfs is available, then we don't need to install definitions
ecbuild_add_option( FEATURE INSTALL_ECCODES_DEFINITIONS
DESCRIPTION "Install the ecCodes definitions"
DEFAULT ${HAVE_MEMFS}
)
# controls installation of files in samples/ and ifs_samples/ -- note that it still creates the symlinks in the build dir
# by default, if memfs is available, then we don't need to install samples
ecbuild_add_option( FEATURE INSTALL_ECCODES_SAMPLES
DESCRIPTION "Install the ecCodes samples, including IFS samples"
DEFAULT ${HAVE_MEMFS}
)
# advanced options (not visible in cmake-gui )
ecbuild_add_option( FEATURE MEMORY_MANAGEMENT DESCRIPTION "Enable memory management" DEFAULT OFF ADVANCED )