summaryrefslogtreecommitdiffstats
path: root/Tests/CompileDefinitions
Commit message (Collapse)AuthorAgeFilesLines
* Test evaluation of per-config COMPILE_DEFINITIONS (#14037)Brad King2013-03-256-3/+92
| | | | | Teach the CompileDefinitions test to cover evaluation of config-specific generator expressions.
* GenEx: Test the use of generator expressions to generate lists.Stephen Kelly2012-10-172-0/+10
| | | | | | We can't test this in the GeneratorExpression unit test because the ';' chars are processed specically by the CMake function argument parser.
* Process generator expressions in the COMPILE_DEFINITIONS target property.Stephen Kelly2012-09-282-0/+15
|
* Rename files from main.cpp to more meaningful names.Stephen Kelly2012-08-225-5/+5
| | | | | | Because the main file for the dummy-executable and the actual compile test were both called main.cpp, they were overwriting each other during in-source builds.
* Fix the test setting COMPILE_DEFINITIONS target propertyStephen Kelly2012-08-211-1/+1
|
* Fix CompileDefinitions test on Visual Studio.Stephen Kelly2012-08-212-1/+10
| | | | Avoid testing unsupported spaces in define values.
* Don't duplicate -D defines sent to the compiler.Stephen Kelly2012-08-205-0/+70
There is no need to do so. Be consistent with include directories and ensure uniqueness. This requires changing the API of the cmLocalGenerator::AppendDefines method, and changing the generators to match. The test unfortunately can't test for uniqueness, but it at least verifies that nothing gets lost.