summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Features: Add cxx_sizeof_member.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_thread_local.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_inline_namespaces.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_variadic_macros.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_uniform_initialization.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_generalized_initializers.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_attributes.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_alignof.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_alignas.Stephen Kelly2014-04-081-0/+5
| | | | | | cxx_alignof will be a separate feature known to CMake, because both can be implemented with separate backward compatibility versions.
* Features: Add cxx_extern_templates.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_unrestricted_unions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_unicode_literals.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_user_literals.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_alias_templates.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_rvalue_references.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_reference_qualified_functions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_raw_string_literals.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_range_for.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_nullptr.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_noexcept.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_nonstatic_member_init.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_lambdas.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_inheriting_constructors.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_explicit_conversions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_deleted_functions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_defaulted_functions.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_decltype.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_strong_enums.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_auto_function.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_override.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_final.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_static_assert.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_constexpr.Stephen Kelly2014-04-081-0/+5
|
* Features: Add cxx_variadic_templates.Stephen Kelly2014-04-081-0/+5
| | | | | | | Expect cxx_variadic_templates to implement N2555. N2555 is essentially a bugfix and predates most compiler releases which aimed to experimentally support variadic templates.
* Features: Add cxx_delegating_constructors.Stephen Kelly2014-04-081-0/+5
|
* Add target_compile_features command.Stephen Kelly2014-04-074-0/+38
| | | | | | | | | | | This can be used to set the compiler features required by particular targets. An error is issued at CMake time if the compiler does not support the required feature. If a language dialect flag is required by the features used, that will be added automatically. Base the target_compile_features command on cmTargetPropCommandBase. This gives us 'free' handling of IMPORTED, ALIAS, INTERFACE, non-compilable and missing targets.
* cmTarget: Transitively evaluate compiler features.Stephen Kelly2014-04-073-1/+16
| | | | | | | | | | | Extend the interface of the target_compile_features command with PUBLIC and INTERFACE keywords. Populate the INTERFACE_COMPILER_FEATURES target property if they are set. Consume the INTERFACE_COMPILER_FEATURES target property from linked dependent targets to determine the final required compiler features and the compile flag, if needed. Use the same pattern of origin-debugging which is used for other build properties.
* cmTarget: Allow populating COMPILE_FEATURES using generator expressions.Stephen Kelly2014-04-071-0/+4
| | | | | | Delay validation of the content as a feature if it contains a generator expression. It will be checked again at generate-time after evaluation.
* Features: Add cxx_auto_type.Stephen Kelly2014-04-071-0/+7
| | | | | | | | | | | | | | Record the availability of this feature for GNU 4.8 on (UNIX AND NOT APPLE) only. In the future, availability can be recorded for earlier GNU, for other platforms and for other compilers. Initially the affected configurations are as restricted as possible to allow for easy testing while extending the features vector in only one dimension. The error message when using the set_property API directly is not very good, but follow up commits will provide origin debugging of the property and a target_compile_features command which will provide a configure-time backtrace when possible.
* cmTarget: Add COMPILE_FEATURES target property.Stephen Kelly2014-04-073-0/+14
| | | | | | | Use the contents of it to upgrade the CXX_STANDARD target property, if appropriate. This will have the effect of adding the -std=c++11 compile flag or other language specification on GNU when that is needed for the feature.
* project: Add infrastructure for recording CXX compiler featuresStephen Kelly2014-04-073-0/+18
| | | | | | | | | | | | | | Add a feature test using the compiler macros and the preprocessor to determine available features. Add a CMAKE_CXX_COMPILE_FEATURES variable which contains all features known to the loaded compiler, and a CMAKE_CXX_KNOWN_FEATURES variable containing all features known to CMake. Add language standard specific variables for internal use to determine the standard-specific compile flags to use. This will be extended to other languages in the future. Follow-up commits will add features which will be recorded by the feature test.
* cmTarget: Add CXX_STANDARD and CXX_EXTENSION target properties.Stephen Kelly2014-04-077-0/+50
| | | | | These are used to determine whether to add -std=c++11, -std=gnu++11 etc flags on the compile line.
* Merge topic 'ExternalProject_exclude-from-all'Brad King2014-04-031-0/+11
|\ | | | | | | | | f4fe6322 Help: Add notes for topic 'ExternalProject_exclude-from-all'
| * Help: Add notes for topic 'ExternalProject_exclude-from-all'Brad King2014-04-031-0/+11
| |
* | Merge topic 'target-transitive-sources'Brad King2014-04-039-3/+64
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9407174b target_sources: New command to add sources to target. 81ad69e0 Make the SOURCES target property writable. 6e636f2e cmTarget: Make the SOURCES origin tracable. 3676fb49 cmTarget: Allow transitive evaluation of SOURCES property. e6971df6 cmTarget: Make the source files depend on the config. df753df9 cmGeneratorTarget: Don't add computed sources to the target. 869328aa cmComputeTargetDepends: Use valid config to compute target depends.
| * | target_sources: New command to add sources to target.Stephen Kelly2014-04-023-0/+34
| | |
| * | Make the SOURCES target property writable.Stephen Kelly2014-04-022-2/+7
| | |
| * | cmTarget: Make the SOURCES origin tracable.Stephen Kelly2014-04-021-1/+2
| | |
| * | cmTarget: Allow transitive evaluation of SOURCES property.Stephen Kelly2014-04-023-0/+21
| | | | | | | | | | | | | | | | | | | | | Extend the cmGeneratorExpressionDAGChecker with an interface returning the name of the top target. Use that to determine when there is a DAG violation, as required by the RunCMake.Languages tests.
* | | Merge topic 'target-sources-refactor'Brad King2014-04-038-4/+62
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5de63265 Genex: Only evaluate TARGET_OBJECTS to determine target sources. aa0a3562 cmGeneratorTarget: Compute target objects on demand 042c1c83 cmTarget: Compute languages from object libraries on demand. fdcefe3c cmGeneratorTarget: Compute consumed object libraries on demand. c355d108 cmComputeTargetDepends: Track object library depends. e5da9e51 cmTarget: Allow any generator expression in SOURCES property. 5702e106 cmTarget: Include TARGET_OBJECTS genex in target SOURCES property. 857d30b5 cmGlobalGenerator: Add interface to call ForceLinkerLanguages 28e1d2f8 cmStringCommand: Add GENEX_STRIP subcommand. bf98cc25 Genex: Evaluate TARGET_OBJECTS as a normal expression. 8cd113ad cmTarget: Store strings instead of cmSourceFile* to represent SOURCES. 4959f341 cmSourceFileLocation: Collapse full path for directory comparisons. fcc92878 cmSourceFileLocation: Remove unused Update method. 59e8740a cmTarget: Remove AddSourceFile method 26d494ba cmTarget: Use string API to add sources to cmTarget objects. d38423ec cmTarget: Add a method to obtain list of filenames for sources. ...