summaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-02-20 22:06:44 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-02-20 22:06:44 +0000
commita3f787c32b84a5c66d48e1b9713bdd66d3866f57 (patch)
tree377d2bd265759c2d1b703b20b18adfe9bed5334a /unittests
parentc8da1ecaf58ff41b652dd53331aace948027039b (diff)
Put targets on folders, if the IDE supports the feature.
Requires CMake 2.8.3 or newer. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126094 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/CMakeLists.txt b/unittests/CMakeLists.txt
index d762aaf7f4..112d6a0e50 100644
--- a/unittests/CMakeLists.txt
+++ b/unittests/CMakeLists.txt
@@ -28,9 +28,11 @@ function(add_clang_unittest)
endif()
add_clang_executable(${test_name}Tests ${CLANG_UNITTEST_DEFAULT_ARGS})
add_dependencies(ClangUnitTests ${test_name}Tests)
+ set_target_properties(${test_name}Tests PROPERTIES FOLDER "Clang tests")
endfunction()
add_custom_target(ClangUnitTests)
+set_target_properties(ClangUnitTests PROPERTIES FOLDER "Clang tests")
include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)
add_definitions(-DGTEST_HAS_RTTI=0)