summaryrefslogtreecommitdiffstats
path: root/Tests/CompileDefinitions/add_definitions_command
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Shorten paths in CompileDefinitionsBrad King2015-01-251-15/+0
| | | | | | Shorten the add_definitions command test directory and target names to avoid creating really long paths that fail with some tools on Windows. While at it, remove unnecessary project() command calls.
* Tests/CompileDefinitions: Avoid spaces in defines on VS 6Stephen Kelly2013-05-241-2/+9
| | | | | | | | The VS 6 IDE does not like spaces in definition values so CMake drops them and warns. The Tests/CompileDefinitions test C code that looks for the dropped definitions already knows to skip them, but CMake still warns. Silence the warnings by avoiding such values in the first place on VS 6.
* Test evaluation of per-config COMPILE_DEFINITIONS (#14037)Brad King2013-03-251-0/+1
| | | | | Teach the CompileDefinitions test to cover evaluation of config-specific generator expressions.
* Rename files from main.cpp to more meaningful names.Stephen Kelly2012-08-221-1/+1
| | | | | | 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.
* Don't duplicate -D defines sent to the compiler.Stephen Kelly2012-08-201-0/+7
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.