summaryrefslogtreecommitdiffstats
path: root/clang/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
commit15fe190027a08806181a73ca74171633e1aacd51 (patch)
tree23c9344733ba2013e68881264cb280fde39b56c6 /clang/unittests
parent6f72540e468c9608067b7641a9686687360546a3 (diff)
downloadbcm5719-llvm-15fe190027a08806181a73ca74171633e1aacd51.tar.gz
bcm5719-llvm-15fe190027a08806181a73ca74171633e1aacd51.zip
Put targets on folders, if the IDE supports the feature.
Requires CMake 2.8.3 or newer. llvm-svn: 126094
Diffstat (limited to 'clang/unittests')
-rw-r--r--clang/unittests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/unittests/CMakeLists.txt b/clang/unittests/CMakeLists.txt
index d762aaf7f49..112d6a0e509 100644
--- a/clang/unittests/CMakeLists.txt
+++ b/clang/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)
OpenPOWER on IntegriCloud