- 28 Aug, 2013 1 commit
-
-
Stephen Kelly authored
-
- 24 Jul, 2013 1 commit
-
-
It accepted an optional argument to test for equality, but no way to get the linker language of a particular target. TARGET_PROPERTY provides this flexibility and STREQUAL provides the necessary API for equality test. Extend the CompileDefinitions test to cover accessing the property of another target.
-
- 28 Jun, 2013 1 commit
-
-
Stephen Kelly authored
New generator expressions allow retrieval of the version per language, as well as equality comparison.
-
- 12 Jun, 2013 1 commit
-
-
Stephen Kelly authored
-
- 11 Jun, 2013 1 commit
-
-
Stephen Kelly authored
-
- 02 Jun, 2013 1 commit
-
-
Stephen Kelly authored
These expressions evaluate to the id of the compiler used to build the target, or can be used to test if the compiler id matches a specified value.
-
- 24 May, 2013 1 commit
-
-
They can't be used when evaluating link libraries, but they can be used for include directories and compile definitions. Later they can be used for compile options.
-
- 16 May, 2013 1 commit
-
-
Stephen Kelly authored
This generator expression joins a list with a separator. The separator may contain arbitrary content, such as commas, which is ordinarily a delimiter in the generator expression syntax.
-
- 07 May, 2013 1 commit
-
-
- 12 Mar, 2013 1 commit
-
-
This expression is useful to put a ';' in a command line argument without dividing the argument during CMake list expansion.
-
- 25 Feb, 2013 1 commit
-
-
Stephen Kelly authored
This reverts commit 2bee6f5b. This expression is not used, and has a semantic which is not completely optimal (namely considering utility targets to be targets, though usually we are interested in linkable targets). Remove it so that we have more freedom to define better expressions in the future. Conflicts: Source/cmGeneratorExpressionEvaluator.cxx Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt Tests/CMakeCommands/target_compile_definitions/consumer.cpp
-
- 13 Feb, 2013 1 commit
-
-
Stephen Kelly authored
This reverts commit 0b92602b. Conflicts: Source/cmGeneratorExpressionEvaluator.cxx Tests/CMakeCommands/target_compile_definitions/CMakeLists.txt Tests/CMakeCommands/target_include_directories/CMakeLists.txt
-
- 31 Jan, 2013 1 commit
-
-
Stephen Kelly authored
This is both a short form of using a TARGET_DEFINED expression together with a TARGET_PROPERTY definition, and a way to strip non-target content from interface properties when exporting.
-
- 27 Jan, 2013 1 commit
-
-
Stephen Kelly authored
-
- 24 Jan, 2013 1 commit
-
-
Rolf Eike Beer authored
-
- 17 Jan, 2013 1 commit
-
-
Stephen Kelly authored
This new expression allows checking how a policy was set when a target was created. That information is only recorded for a subset of policies, so a whitelist is used.
-
- 13 Jan, 2013 1 commit
-
-
Stephen Kelly authored
This tests whether the parameter is a usable target.
-
- 04 Jan, 2013 2 commits
-
-
Stephen Kelly authored
It will be used as a preprocessing marker.
-
Stephen Kelly authored
This is for specifying INCLUDE_DIRECTORIES relevant to the build-location or the install location for example: set_property(TARGET foo PROPERTY INTERFACE_INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR};${CMAKE_CURRENT_SOURCE_DIR}>" "$<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include>" ) A 'bar' target can then use: set_property(TARGET bar PROPERTY INCLUDE_DIRECTORIES "$<TARGET_PROPERTY:foo,INTERFACE_INCLUDE_DIRECTORIES>" ) and it will work whether foo is in the same project, or an imported target from an installation location, or an imported target from a build location generated by the export() command. Because the generator expressions are only evaluated at build-time, these new expressions are equivalent to the ZeroNode and OneNode. The GeneratorExpression test is split into parts. Some shells can't run the custom command as it is getting too long.
-
- 29 Sep, 2012 1 commit
-
-
Stephen Kelly authored
-
- 28 Sep, 2012 2 commits
-
-
There are two overloads, so that it can use the operational target when a target property is being evaluated, and a target can alternatively be specified by name. At this point, the generators don't chain. That comes later.
-
Generator expressions for comparing strings, evaluating strings as booleans, and for creating literal right-angle-brackets and commas are added. Those may be needed in some cases where they appear in literals.
-
- 15 Aug, 2012 2 commits
-
-
Brad King authored
This expression evaluates to '1' or '0' to indicate whether the build configuration for which the expression is evaluated matches tha named configuration. In combination with the "$<0:...>" and "$<1:...>" expressions this allows per-configuration content to be generated.
-
Brad King authored
Add generator expressions that combine and use boolean test results: $<0:...> = empty string (ignores "...") $<1:...> = content of "..." $<AND:?[,?]...> = '1' if all '?' are '1', else '0' $<OR:?[,?]...> = '0' if all '?' are '0', else '1' $<NOT:?> = '0' if '?' is '1', else '1' These will be useful to evaluate (future) boolean query expressions and condition content on the results. Include tests and documentation.
-
- 15 Dec, 2010 1 commit
-
-
Brad King authored
This documentation may be reused wherever generator expressions are supported.
-