CMake/Help/prop_tgt
Stephen Kelly 1df2116bfa Features: Decay language flag if requested is not available.
Use the highest standard compile flags available if requested language
version is too new.

This supports use-cases like

 set(CMAKE_CXX_STANDARD 14)

 # Compiled with -std=c++11 with GNU 4.7, which has no -std=c++14
 # or equivalent flag
 add_executable(main main.cpp)

This can be used in combination with preprocessor defines which
communicate the availability of certain language features for
optional use.
2014-05-07 12:17:49 +02:00
..
ALIASED_TARGET.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
ARCHIVE_OUTPUT_DIRECTORY.rst Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication 2013-10-16 09:22:38 -04:00
ARCHIVE_OUTPUT_DIRECTORY_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ARCHIVE_OUTPUT_NAME.rst Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication 2013-10-16 09:22:38 -04:00
ARCHIVE_OUTPUT_NAME_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
AUTOGEN_TARGET_DEPENDS.rst Help: Adjust the QtAutogen properties to the common style. 2014-02-06 16:15:54 -05:00
AUTOMOC.rst Help: Adjust the QtAutogen properties to the common style. 2014-02-06 16:15:54 -05:00
AUTOMOC_MOC_OPTIONS.rst Help: Adjust the QtAutogen properties to the common style. 2014-02-06 16:15:54 -05:00
AUTORCC.rst Help: Adjust the QtAutogen properties to the common style. 2014-02-06 16:15:54 -05:00
AUTORCC_OPTIONS.rst Help: Adjust the QtAutogen properties to the common style. 2014-02-06 16:15:54 -05:00
AUTOUIC.rst Help: Adjust the QtAutogen properties to the common style. 2014-02-06 16:15:54 -05:00
AUTOUIC_OPTIONS.rst Help: Adjust the QtAutogen properties to the common style. 2014-02-06 16:15:54 -05:00
BUILD_WITH_INSTALL_RPATH.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
BUNDLE.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
BUNDLE_EXTENSION.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
COMPATIBLE_INTERFACE_BOOL.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
COMPATIBLE_INTERFACE_NUMBER_MAX.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
COMPATIBLE_INTERFACE_NUMBER_MIN.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
COMPATIBLE_INTERFACE_STRING.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
COMPILE_DEFINITIONS.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
COMPILE_DEFINITIONS_CONFIG.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
COMPILE_FEATURES.rst cmTarget: Allow populating COMPILE_FEATURES using generator expressions. 2014-04-07 18:11:18 +02:00
COMPILE_FLAGS.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
COMPILE_OPTIONS.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
COMPILE_PDB_NAME.rst MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
COMPILE_PDB_NAME_CONFIG.rst MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
COMPILE_PDB_NOTE.txt MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
COMPILE_PDB_OUTPUT_DIRECTORY.rst MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
COMPILE_PDB_OUTPUT_DIRECTORY_CONFIG.rst MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
CONFIG_OUTPUT_NAME.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CONFIG_POSTFIX.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
CXX_EXTENSIONS.rst cmTarget: Add CXX_STANDARD and CXX_EXTENSION target properties. 2014-04-07 16:48:44 +02:00
CXX_STANDARD.rst Features: Decay language flag if requested is not available. 2014-05-07 12:17:49 +02:00
DEBUG_POSTFIX.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
DEFINE_SYMBOL.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
ENABLE_EXPORTS.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
EXCLUDE_FROM_ALL.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
EXCLUDE_FROM_DEFAULT_BUILD.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
EXCLUDE_FROM_DEFAULT_BUILD_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
EXPORT_NAME.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
EchoString.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FOLDER.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
FRAMEWORK.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
Fortran_FORMAT.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
Fortran_MODULE_DIRECTORY.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
GENERATOR_FILE_NAME.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
GNUtoMS.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
HAS_CXX.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPLICIT_DEPENDS_INCLUDE_TRANSFORM.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED.rst Help: Use ``True`` and ``False`` for IMPORTED values. 2014-02-06 16:15:54 -05:00
IMPORTED_CONFIGURATIONS.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_IMPLIB.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_IMPLIB_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LINK_DEPENDENT_LIBRARIES.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LINK_DEPENDENT_LIBRARIES_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LINK_INTERFACE_LANGUAGES.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LINK_INTERFACE_LANGUAGES_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LINK_INTERFACE_LIBRARIES.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LINK_INTERFACE_LIBRARIES_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LINK_INTERFACE_MULTIPLICITY.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LINK_INTERFACE_MULTIPLICITY_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LOCATION.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_LOCATION_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_NO_SONAME.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_NO_SONAME_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_SONAME.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORTED_SONAME_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORT_PREFIX.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
IMPORT_SUFFIX.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
INCLUDE_DIRECTORIES.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
INSTALL_NAME_DIR.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
INSTALL_RPATH.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
INSTALL_RPATH_USE_LINK_PATH.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
INTERFACE_AUTOUIC_OPTIONS.rst QtAutoUic: Add INTERFACE_AUTOUIC_OPTIONS target property. 2013-11-27 19:06:12 +01:00
INTERFACE_COMPILE_DEFINITIONS.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
INTERFACE_COMPILE_FEATURES.rst cmTarget: Transitively evaluate compiler features. 2014-04-07 18:11:18 +02:00
INTERFACE_COMPILE_OPTIONS.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
INTERFACE_INCLUDE_DIRECTORIES.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
INTERFACE_LINK_LIBRARIES.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
INTERFACE_POSITION_INDEPENDENT_CODE.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
INTERFACE_SOURCES.rst cmTarget: Allow transitive evaluation of SOURCES property. 2014-04-02 23:14:02 +02:00
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
INTERPROCEDURAL_OPTIMIZATION.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
INTERPROCEDURAL_OPTIMIZATION_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
JOB_POOL_COMPILE.rst Ninja: job pool support for compiling and linking 2013-11-25 22:23:24 +01:00
JOB_POOL_LINK.rst Ninja: job pool support for compiling and linking 2013-11-25 22:23:24 +01:00
LABELS.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LANG_VISIBILITY_PRESET.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LIBRARY_OUTPUT_DIRECTORY.rst Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication 2013-10-16 09:22:38 -04:00
LIBRARY_OUTPUT_DIRECTORY_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LIBRARY_OUTPUT_NAME.rst Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication 2013-10-16 09:22:38 -04:00
LIBRARY_OUTPUT_NAME_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LINKER_LANGUAGE.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LINK_DEPENDS.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LINK_DEPENDS_NO_SHARED.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LINK_FLAGS.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LINK_FLAGS_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LINK_INTERFACE_LIBRARIES.rst Fix INTERFACE_LINK_LIBRARIES documentation typos 2013-11-04 08:33:38 -05:00
LINK_INTERFACE_LIBRARIES_CONFIG.rst Fix INTERFACE_LINK_LIBRARIES documentation typos 2013-11-04 08:33:38 -05:00
LINK_INTERFACE_MULTIPLICITY.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LINK_INTERFACE_MULTIPLICITY_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LINK_LIBRARIES.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
LINK_SEARCH_END_STATIC.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LINK_SEARCH_START_STATIC.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
LOCATION.rst Help: Fix reStructuredText syntax in auto-generated documents 2013-10-15 14:12:49 -04:00
LOCATION_CONFIG.rst Help: Fix reStructuredText syntax in auto-generated documents 2013-10-15 14:12:49 -04:00
MACOSX_BUNDLE.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
MACOSX_BUNDLE_INFO_PLIST.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
MACOSX_FRAMEWORK_INFO_PLIST.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
MACOSX_RPATH.rst OS X: Add CMP0042 to enable MACOSX_RPATH by default 2014-01-02 13:41:49 -05:00
MAP_IMPORTED_CONFIG_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
NAME.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
NO_SONAME.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
NO_SYSTEM_FROM_IMPORTED.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
OSX_ARCHITECTURES.rst Help: Document CMAKE_OSX_* variables 2014-01-16 10:21:47 -05:00
OSX_ARCHITECTURES_CONFIG.rst Help: Document CMAKE_OSX_* variables 2014-01-16 10:21:47 -05:00
OUTPUT_NAME.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
OUTPUT_NAME_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
PDB_NAME.rst MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
PDB_NAME_CONFIG.rst MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
PDB_NOTE.txt MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
PDB_OUTPUT_DIRECTORY.rst MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
PDB_OUTPUT_DIRECTORY_CONFIG.rst MSVC: Add properties to configure compiler PDB files (#14762) 2014-02-26 09:34:38 -05:00
POSITION_INDEPENDENT_CODE.rst Help: Document relation of properties to the rest of the buildsystem. 2014-02-06 16:15:53 -05:00
POST_INSTALL_SCRIPT.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
PREFIX.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
PRE_INSTALL_SCRIPT.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
PRIVATE_HEADER.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
PROJECT_LABEL.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
PUBLIC_HEADER.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
RESOURCE.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
RULE_LAUNCH_COMPILE.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
RULE_LAUNCH_CUSTOM.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
RULE_LAUNCH_LINK.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
RUNTIME_OUTPUT_DIRECTORY.rst Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication 2013-10-16 09:22:38 -04:00
RUNTIME_OUTPUT_DIRECTORY_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
RUNTIME_OUTPUT_NAME.rst Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication 2013-10-16 09:22:38 -04:00
RUNTIME_OUTPUT_NAME_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
SKIP_BUILD_RPATH.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
SOURCES.rst Make the SOURCES target property writable. 2014-04-02 23:14:02 +02:00
SOVERSION.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
STATIC_LIBRARY_FLAGS.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
STATIC_LIBRARY_FLAGS_CONFIG.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
SUFFIX.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
TARGET_FILE_TYPES.txt Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication 2013-10-16 09:22:38 -04:00
TYPE.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VERSION.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VISIBILITY_INLINES_HIDDEN.rst Help: Fix up the VISIBILITY_INLINES_HIDDEN docs. 2013-12-03 11:19:07 +01:00
VS_DOTNET_REFERENCES.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_DOTNET_TARGET_FRAMEWORK_VERSION.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_GLOBAL_KEYWORD.rst VS: Document VS_GLOBAL_KEYWORD and VS_KEYWORD relationship (#14493) 2013-10-21 10:07:46 -04:00
VS_GLOBAL_PROJECT_TYPES.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_GLOBAL_ROOTNAMESPACE.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_GLOBAL_variable.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_KEYWORD.rst VS: Document VS_GLOBAL_KEYWORD and VS_KEYWORD relationship (#14493) 2013-10-21 10:07:46 -04:00
VS_SCC_AUXPATH.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_SCC_LOCALPATH.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_SCC_PROJECTNAME.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_SCC_PROVIDER.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_WINRT_EXTENSIONS.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
VS_WINRT_REFERENCES.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
WIN32_EXECUTABLE.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
XCODE_ATTRIBUTE_an-attribute.rst Convert builtin help to reStructuredText source files 2013-10-15 14:12:03 -04:00
XXX_OUTPUT_DIRECTORY.txt Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication 2013-10-16 09:22:38 -04:00
XXX_OUTPUT_NAME.txt Help: Factor out *_OUTPUT_(NAME|DIRECTORY).rst duplication 2013-10-16 09:22:38 -04:00