summaryrefslogtreecommitdiffstats
path: root/Tests/CompileDefinitions/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-25 13:09:10 (GMT)
committerBrad King <brad.king@kitware.com>2015-01-25 13:12:12 (GMT)
commit494f6e8d5b9f2e556a2b2db2c165a56c01fd1827 (patch)
treec067bac908fd8e4a44c24c038622de0d38d12ed7 /Tests/CompileDefinitions/CMakeLists.txt
parentc99e19a4ac7e6e55345a073b13c36befaa8702d8 (diff)
downloadCMake-494f6e8d5b9f2e556a2b2db2c165a56c01fd1827.zip
CMake-494f6e8d5b9f2e556a2b2db2c165a56c01fd1827.tar.gz
CMake-494f6e8d5b9f2e556a2b2db2c165a56c01fd1827.tar.bz2
Tests: Shorten paths in CompileDefinitions
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.
Diffstat (limited to 'Tests/CompileDefinitions/CMakeLists.txt')
-rw-r--r--Tests/CompileDefinitions/CMakeLists.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/Tests/CompileDefinitions/CMakeLists.txt b/Tests/CompileDefinitions/CMakeLists.txt
index 930d220..13d1b01 100644
--- a/Tests/CompileDefinitions/CMakeLists.txt
+++ b/Tests/CompileDefinitions/CMakeLists.txt
@@ -1,6 +1,4 @@
-
cmake_minimum_required(VERSION 2.8)
-
project(CompileDefinitions)
if ("${CMAKE_GENERATOR}" STREQUAL "Visual Studio 6")
@@ -19,8 +17,8 @@ set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS
"BUILD_CONFIG_NAME=\"$<CONFIGURATION>\""
)
-add_subdirectory(add_definitions_command)
+add_subdirectory(add_def_cmd)
add_subdirectory(target_prop)
-add_subdirectory(add_definitions_command_with_target_prop)
+add_subdirectory(add_def_cmd_tprop)
add_executable(CompileDefinitions runtest.c)