CMake Version Compatibility Matrix/Properties
From KitwarePublic
Jump to navigationJump to search
Properties
Properties of Global Scope
CMake Option | 2.8.6 | 2.8.5 | 2.8.4 | 2.8.3 | 2.8.2 | 2.8.1 | 2.8.0 | 2.6-patch 4 | 2.6-patch 3 | 2.6-patch 2 | 2.6-patch 1 | 2.6-patch 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
ALLOW_DUPLICATE_CUSTOM_TARGETS | X | X | X | X | X | X | X | X | X | X | X | X |
DEBUG_CONFIGURATIONS | X | X | X | X | X | X | X | X | X | - | - | - |
DISABLED_FEATURES | X | X | X | X | X | X | X | X | X | X | X | X |
ENABLED_FEATURES | X | X | X | X | X | X | X | X | X | X | X | X |
ENABLED_LANGUAGES | X | X | X | X | X | X | X | X | X | X | X | - |
FIND_LIBRARY_USE_LIB64_PATHS | X | X | X | X | X | X | X | X | X | X | X | X |
FIND_LIBRARY_USE_OPENBSD_VERSIONING | X | X | X | X | X | X | X | - | - | - | - | - |
GLOBAL_DEPENDS_DEBUG_MODE | X | X | X | X | X | X | X | X | X | X | X | X |
GLOBAL_DEPENDS_NO_CYCLES | X | X | X | X | X | X | X | - | - | - | - | - |
IN_TRY_COMPILE | X | X | X | X | X | X | X | X | X | X | X | X |
PACKAGES_FOUND | X | X | X | X | X | X | X | X | X | X | X | X |
PACKAGES_NOT_FOUND | X | X | X | X | X | X | X | X | X | X | X | X |
PREDEFINED_TARGETS_FOLDER | X | X | X | X | - | - | - | - | - | - | - | - |
REPORT_UNDEFINED_PROPERTIES | X | X | X | X | X | X | X | X | X | X | X | X |
RULE_LAUNCH_COMPILE | X | X | X | X | X | X | X | - | - | - | - | - |
RULE_LAUNCH_CUSTOM | X | X | X | X | X | X | X | - | - | - | - | - |
RULE_LAUNCH_LINK | X | X | X | X | X | X | X | - | - | - | - | - |
RULE_MESSAGES | X | X | X | X | X | X | X | - | - | - | - | - |
TARGET_ARCHIVES_MAY_BE_SHARED_LIBS | X | X | X | X | X | X | X | X | X | X | X | X |
TARGET_SUPPORTS_SHARED_LIBS | X | X | X | X | X | X | X | X | X | X | X | X |
USE_FOLDERS | X | X | X | X | - | - | - | - | - | - | - | - |
__CMAKE_DELETE_CACHE_CHANGE_VARS_ | X | X | X | X | X | X | X | X | X | X | X | X |
Properties on Directories
CMake Option | 2.8.6 | 2.8.5 | 2.8.4 | 2.8.3 | 2.8.2 | 2.8.1 | 2.8.0 | 2.6-patch 4 | 2.6-patch 3 | 2.6-patch 2 | 2.6-patch 1 | 2.6-patch 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
ADDITIONAL_MAKE_CLEAN_FILES | X | X | X | X | X | X | X | X | X | X | X | X |
CACHE_VARIABLES | X | X | X | X | X | X | X | X | X | X | X | - |
CLEAN_NO_CUSTOM | X | X | X | X | X | X | X | X | X | X | X | X |
BUNDLE | X | X | - | - | - | - | - | - | - | - | - | - |
BUNDLE_EXTENSION | X | X | - | - | - | - | - | - | - | - | - | - |
COMPILE_DEFINITIONS | X | X | X | X | X | X | X | X | X | X | X | X |
COMPILE_DEFINITIONS_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
DEFINITIONS | - | - | - | - | - | - | - | - | - | - | - (deprecated: use COMPILE_DEFINITIONS instead) | X (TODO: really added in 2.6.1? missing from doc before 2.6.1, but compatibility feature for 2.4) |
EXCLUDE_FROM_ALL | X | X | X | X | X | X | X | X | X | X | X | X |
IMPLICIT_DEPENDS_INCLUDE_TRANSFORM | X | X | X | X | X | X | X | X | X | X | X | - |
INCLUDE_DIRECTORIES | X | X | X | X | X | X | X | X | X | X | X | - |
INCLUDE_REGULAR_EXPRESSION | X | X | X | X | X | X | X | X | X | X | X | - |
INTERPROCEDURAL_OPTIMIZATION | X | X | X | X | X | X | X | - | - | - | - | - |
INTERPROCEDURAL_OPTIMIZATION_<CONFIG> | X | X | X | X | X | X | X | - | - | - | - | - |
LINK_DIRECTORIES | X | X | X | X | X | X | X | X | X | X | X | - |
LISTFILE_STACK | X | X | X | X | X | X | X | X | X | X | X | X |
MACROS | X | X | X | X | X | X | X | X | X | X | X | - |
PARENT_DIRECTORY | X | X | X | X | X | X | X | X | X | X | X | - |
RULE_LAUNCH_COMPILE | X | X | X | X | X | X | X | - | - | - | - | - |
RULE_LAUNCH_CUSTOM | X | X | X | X | X | X | X | - | - | - | - | - |
RULE_LAUNCH_LINK | X | X | X | X | X | X | X | - | - | - | - | - |
TEST_INCLUDE_FILE | X | X | X | X | X | X | X | X | X | X | X | X |
VARIABLES | X | X | X | X | X | X | X | X | X | X | X | - |
Properties on Targets
CMake Option | 2.8.6 | 2.8.5 | 2.8.4 | 2.8.3 | 2.8.2 | 2.8.1 | 2.8.0 | 2.6-patch 4 | 2.6-patch 3 | 2.6-patch 2 | 2.6-patch 1 | 2.6-patch 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
<CONFIG>_OUTPUT_NAME | - | - | - | - | - | - | - (deprecated: use OUTPUT_NAME_<CONFIG>) | X | X | X | X | X |
<CONFIG>_POSTFIX | X | X | X | X | X | X | X | X | X | - | - | - |
ARCHIVE_OUTPUT_DIRECTORY | X | X | X | X | X | X | X | X | X | X | X | X |
ARCHIVE_OUTPUT_DIRECTORY_<CONFIG> | X | X | X | X | X | X | - | - | - | - | - | - |
ARCHIVE_OUTPUT_NAME | X | X | X | X | X | X | X | - | - | - | - | - |
ARCHIVE_OUTPUT_NAME_<CONFIG> | X | X | X | X | X | X | X | - | - | - | - | - |
AUTOMOC | X | - | - | - | - | - | - | - | - | - | - | - |
BUILD_WITH_INSTALL_RPATH | X | X | X | X | X | X | X | X | X | X | X | X |
CLEAN_DIRECT_OUTPUT | - | - | - | - | - | - | - (removed?) | X | X | X | X | X |
COMPILE_DEFINITIONS | X | X | X | X | X | X | X | X | X | X | X | X |
COMPILE_DEFINITIONS_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
COMPILE_FLAGS | X | X | X | X | X | X | X | X | X | X | X | X |
DEBUG_POSTFIX | X | X | X | X | X | X | X | X | X | X | X | X |
DEFINE_SYMBOL | X | X | X | X | X | X | X | X | X | X | X | X |
ENABLE_EXPORTS | X | X | X | X | X | X | X | X | X | X | X | X |
EXCLUDE_FROM_ALL | X | X | X | X | X | X | X | X | X | X | X | X |
EchoString | X | X | X | X | X | X | X | X | X | X | X | X |
FOLDER | X | X | X | X | - | - | - | - | - | - | - | - |
FRAMEWORK | X | X | X | X | X | X | X | X | X | X | X | X |
Fortran_FORMAT | X | - | - | - | - | - | - | - | - | - | - | - |
Fortran_MODULE_DIRECTORY | X | X | X | X | X | X | X | X | X | X | X | X |
GENERATOR_FILE_NAME | X | X | X | X | X | X | X | X | X | X | X | X |
HAS_CXX | - | - | - | - | - | - | - (deprecated: set LINKER_LANGUAGE instead) | X | X | X | X | X |
IMPLICIT_DEPENDS_INCLUDE_TRANSFORM | X | X | X | X | X | X | X | X | X | X | X | - |
IMPORTED | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_CONFIGURATIONS | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_IMPLIB | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_IMPLIB_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_LINK_DEPENDENT_LIBRARIES | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_LINK_DEPENDENT_LIBRARIES_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_LINK_INTERFACE_LANGUAGES | X | X | X | X | X | X | X | - | - | - | - | - |
IMPORTED_LINK_INTERFACE_LANGUAGES_<CONFIG> | X | X | X | X | X | X | X | - | - | - | - | - |
IMPORTED_LINK_INTERFACE_LIBRARIES | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_LINK_INTERFACE_LIBRARIES_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_LINK_INTERFACE_MULTIPLICITY | X | X | X | X | X | X | X | - | - | - | - | - |
IMPORTED_LINK_INTERFACE_MULTIPLICITY_<CONFIG> | X | X | X | X | X | X | X | - | - | - | - | - |
IMPORTED_LOCATION | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_LOCATION_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_NO_SONAME | X | X | X | X | - | - | - | - | - | - | - | - |
IMPORTED_NO_SONAME_<CONFIG> | X | X | X | X | - | - | - | - | - | - | - | - |
IMPORTED_SONAME | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORTED_SONAME_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORT_PREFIX | X | X | X | X | X | X | X | X | X | X | X | X |
IMPORT_SUFFIX | X | X | X | X | X | X | X | X | X | X | X | X |
INSTALL_NAME_DIR | X | X | X | X | X | X | X | X | X | X | X | X |
INSTALL_RPATH | X | X | X | X | X | X | X | X | X | X | X | X |
INSTALL_RPATH_USE_LINK_PATH | X | X | X | X | X | X | X | X | X | X | X | X |
INTERPROCEDURAL_OPTIMIZATION | X | X | X | X | X | X | X | - | - | - | - | - |
INTERPROCEDURAL_OPTIMIZATION_<CONFIG> | X | X | X | X | X | X | X | - | - | - | - | - |
LABELS | X | X | X | X | X | X | X | - | - | - | - | - |
LIBRARY_OUTPUT_DIRECTORY | X | X | X | X | X | X | X | X | X | X | X | X |
LIBRARY_OUTPUT_DIRECTORY_<CONFIG> | X | X | X | X | X | X | - | - | - | - | - | - |
LIBRARY_OUTPUT_NAME | X | X | X | X | X | X | X | - | - | - | - | - |
LIBRARY_OUTPUT_NAME_<CONFIG> | X | X | X | X | X | X | X | - | - | - | - | - |
LINKER_LANGUAGE | X | X | X | X | X | X | X | X (default value changed) | X | X | X | X |
LINK_DEPENDS | X | X | X | - | - | - | - | - | - | - | - | - |
LINK_FLAGS | X | X | X | X | X | X | X | X | X | X | X | X |
LINK_FLAGS_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
LINK_INTERFACE_LIBRARIES | X | X | X | X | X | X | X | X | X | X | X | X |
LINK_INTERFACE_LIBRARIES_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
LINK_INTERFACE_MULTIPLICITY | X | X | X | X | X | X | X | - | - | - | - | - |
LINK_INTERFACE_MULTIPLICITY_<CONFIG> | X | X | X | X | X | X | X | - | - | - | - | - |
LINK_SEARCH_END_STATIC | X | X | X | X | X | X | X | X | X | X | X | X |
LINK_SEARCH_START_STATIC | X | X | - | - | - | - | - | - | - | - | - | - |
LOCATION | X | X | X | X | X | X | X | X | X | X (missing: semantic for imported targets) | X | X |
LOCATION_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
MACOSX_BUNDLE | X | X | X | X | X | X | X | X | X | X | X | X |
MACOSX_BUNDLE_INFO_PLIST | X | X | X | X | X | X | X | X | X | X | X | - |
MACOSX_FRAMEWORK_INFO_PLIST | X | X | X | X | X | X | X | X | X | X | - | - |
MAP_IMPORTED_CONFIG_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
OSX_ARCHITECTURES | X | X | X | X | X | X | - | - | - | - | - | - |
OSX_ARCHITECTURES_<CONFIG> | X | X | X | X | X | X | - | - | - | - | - | - |
OUTPUT_NAME | X | X | X | X | X | X | X | X | X | X | X | X |
OUTPUT_NAME_<CONFIG> | X | X | X | X | X | X | X | - | - | - | - | - |
POST_INSTALL_SCRIPT | X | X | X | X | X | X | X | X | X | X | X | X |
PREFIX | X | X | X | X | X | X | X | X | X | X | X | X |
PRE_INSTALL_SCRIPT | X | X | X | X | X | X | X | X | X | X | X | X |
PRIVATE_HEADER | X | X | X | X | X | X | X | X | X | X | X | X |
PROJECT_LABEL | X | X | X | X | X | X | X | X | X | - | - | - |
PUBLIC_HEADER | X | X | X | X | X | X | X | X | X | X | X | X |
RESOURCE | X | X | X | X | X | X | X | X | X | X | X | X |
RULE_LAUNCH_COMPILE | X | X | X | X | X | X | X | - | - | - | - | - |
RULE_LAUNCH_CUSTOM | X | X | X | X | X | X | X | - | - | - | - | - |
RULE_LAUNCH_LINK | X | X | X | X | X | X | X | - | - | - | - | - |
RUNTIME_OUTPUT_DIRECTORY | X | X | X | X | X | X | X | X | X | X | X | X |
RUNTIME_OUTPUT_DIRECTORY_<CONFIG> | X | X | X | X | X | X | - | - | - | - | - | - |
RUNTIME_OUTPUT_NAME | X | X | X | X | X | X | X | - | - | - | - | - |
RUNTIME_OUTPUT_NAME_<CONFIG> | X | X | X | X | X | X | X | - | - | - | - | - |
SKIP_BUILD_RPATH | X | X | X | X | X | X | X | X | X | X | X | X |
SOURCES | X | X | X | X | X | X | X | X | X | X | X | X |
SOVERSION | X | X | X | X | X | X | X | X | X | X | X | X |
STATIC_LIBRARY_FLAGS | X | X | X | X | X | - | - | - | - | - | - | - |
STATIC_LIBRARY_FLAGS_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
SUFFIX | X | X | X | X | X | X | X | X | X | X | X | X |
TYPE | X | X | X | X | X | X | X | X | X | - | - | - |
VERSION | X | X | X | X | X | X | X | X | X | X | X | X |
VS_GLOBAL_<variable> | X | - | - | - | - | - | - | - | - | - | - | - |
VS_KEYWORD | X | X | X | X | X | X | X | X | X | - | - | - |
VS_SCC_LOCALPATH | X | X | X | X | X | X | X | X | X | - | - | - |
VS_SCC_PROJECTNAME | X | X | X | X | X | X | X | X | X | - | - | - |
VS_SCC_PROVIDER | X | X | X | X | X | X | X | X | X | - | - | - |
WIN32_EXECUTABLE | X | X | X | X | X | X | X | X | X | X | X | X |
XCODE_ATTRIBUTE_<an-attribute> | X | X | X | X | X | X | X | X | X | X | X | X |
Properties on Tests
CMake Option | 2.8.6 | 2.8.5 | 2.8.4 | 2.8.3 | 2.8.2 | 2.8.1 | 2.8.0 | 2.6-patch 4 | 2.6-patch 3 | 2.6-patch 2 | 2.6-patch 1 | 2.6-patch 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
ATTACHED_FILES | X | X | X | X | X | X | - | - | - | - | - | - |
ATTACHED_FILES_ON_FAIL | X | X | X | X | X | X | - | - | - | - | - | - |
COST | X | X | X | X | X | X | - | - | - | - | - | - |
DEPENDS | X | X | X | X | X | X | - | - | - | - | - | - |
ENVIRONMENT | X | X | X | X | X | X | X | - | - | - | - | - |
FAIL_REGULAR_EXPRESSION | X | X | X | X | X | X | X | X | X | X | X | X |
LABELS | X | X | X | X | X | X | X | - | - | - | - | - |
MEASUREMENT | X | X | X | X | X | X | X | X | X | X | X | X |
PASS_REGULAR_EXPRESSION | X | X | X | X | X | X | X | X | X | X | X | X |
PROCESSORS | X | X | X | X | X | X | - | - | - | - | - | - |
REQUIRED_FILES | X | X | X | X | X | X | - | - | - | - | - | - |
RESOURCE_LOCK | X | X | X | X | X | - | - | - | - | - | - | - |
RUN_SERIAL | X | X | X | X | X | X | - | - | - | - | - | - |
TIMEOUT | X | X | X | X | X | X | X | X | X | X | X | X |
WILL_FAIL | X | X | X | X | X | X | X | X | X | X | X | X |
WORKING_DIRECTORY | X | X | X | - | - | - | - | - | - | - | - | - |
Properties on Source Files
CMake Option | 2.8.6 | 2.8.5 | 2.8.4 | 2.8.3 | 2.8.2 | 2.8.1 | 2.8.0 | 2.6-patch 4 | 2.6-patch 3 | 2.6-patch 2 | 2.6-patch 1 | 2.6-patch 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
ABSTRACT | X | X | X | X | X | X | X | X | X | X | X | X |
COMPILE_DEFINITIONS | X | X | X | X | X | X | X | X | X | X | X | X |
COMPILE_DEFINITIONS_<CONFIG> | X | X | X | X | X | X | X | X | X | X | X | X |
COMPILE_FLAGS | X | X | X | X | X | X | X | X | X | X | X | X |
EXTERNAL_OBJECT | X | X | X | X | X | X | X | X | X | X | X | X |
Fortran_FORMAT | X | - | - | - | - | - | - | - | - | - | - | - |
GENERATED | X | X | X | X | X | X | X | X | X | X | X | X |
HEADER_FILE_ONLY | X | X | X | X | X | X | X | X | X | X | X | X |
KEEP_EXTENSION | X | X | X | X | X | X | X | X | X | X | X | X |
LABELS | X | X | X | X | X | X | X | - | - | - | - | - |
LANGUAGE | X | X | X | X | X | X | X | X | X | X | X | X |
LOCATION | X | X | X | X | X | X | X | X | X | X | X | X |
MACOSX_PACKAGE_LOCATION | X | X | X | X | X | X | X | X | X | X | X | X |
OBJECT_DEPENDS | X | X | X | X | X | X | X | X | X | X | X | X |
OBJECT_OUTPUTS | X | X | X | X | X | X | X | X | X | X | X | X |
SYMBOLIC | X | X | X | X | X | X | X | X | X | X | X | X |
WRAP_EXCLUDE | X | X | X | X | X | X | X | X | X | X | X | X |
Properties on Cache Entries
CMake Option | 2.8.6 | 2.8.5 | 2.8.4 | 2.8.3 | 2.8.2 | 2.8.1 | 2.8.0 | 2.6-patch 4 | 2.6-patch 3 | 2.6-patch 2 | 2.6-patch 1 | 2.6-patch 0 |
---|---|---|---|---|---|---|---|---|---|---|---|---|
ADVANCED | X | X | X | X | X | X | X | - | - | - | - | - |
HELPSTRING | X | X | X | X | X | X | X | - | - | - | - | - |
MODIFIED | X | X | X | X | X | X | X | - | - | - | - | - |
STRINGS | X | X | X | X | X | X | X | - | - | - | - | - |
TYPE | X | X | X | X | X | X | X | - | - | - | - | - |
VALUE | X | X | X | X | X | X | X | - | - | - | - | - |