summaryrefslogtreecommitdiffstats
path: root/Tests/CompileDefinitions/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Drop Visual Studio 6 generatorBrad King2016-03-091-5/+0
| | | | | | This generator has been deprecated since CMake 3.3. Remove it. Update documentation, modules, and tests to drop content specific to this generator.
* Tests: Shorten paths in CompileDefinitionsBrad King2015-01-251-4/+2
| | | | | | 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-0/+1
| | | | | | | | 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-3/+12
| | | | | 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-2/+2
| | | | | | 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 CompileDefinitions test on Visual Studio.Stephen Kelly2012-08-211-0/+4
| | | | Avoid testing unsupported spaces in define values.
* Don't duplicate -D defines sent to the compiler.Stephen Kelly2012-08-201-0/+12
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.