mirror of https://github.com/ecmwf/eccodes.git
ECC-540: MEMFS by default does not trigger installation of samples and definitions
This commit is contained in:
parent
2c18053bbf
commit
43fc1118aa
|
@ -39,18 +39,6 @@ ecbuild_add_option( FEATURE EXAMPLES
|
||||||
DEFAULT ON
|
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
|
ecbuild_add_option( FEATURE JPG
|
||||||
DESCRIPTION "Support for JPG decoding/encoding"
|
DESCRIPTION "Support for JPG decoding/encoding"
|
||||||
DEFAULT ON
|
DEFAULT ON
|
||||||
|
@ -116,6 +104,21 @@ ecbuild_add_option( FEATURE MEMFS
|
||||||
# ecbuild_warn("MEMFS not supported with Cray C compiler")
|
# ecbuild_warn("MEMFS not supported with Cray C compiler")
|
||||||
#endif()
|
#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 )
|
# advanced options (not visible in cmake-gui )
|
||||||
|
|
||||||
ecbuild_add_option( FEATURE MEMORY_MANAGEMENT DESCRIPTION "Enable memory management" DEFAULT OFF ADVANCED )
|
ecbuild_add_option( FEATURE MEMORY_MANAGEMENT DESCRIPTION "Enable memory management" DEFAULT OFF ADVANCED )
|
||||||
|
|
Loading…
Reference in New Issue