summaryrefslogtreecommitdiffstats
path: root/llvm/unittests
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-02-20 22:06:10 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-02-20 22:06:10 +0000
commit3145e923c1c1d6c26864bf1643498d9cf0988ccd (patch)
treea6c00eff82dcd517016b37bf3ecb1e487246480d /llvm/unittests
parentf849bf81bd4c6905599a22bc3c0cf89c378d2591 (diff)
downloadbcm5719-llvm-3145e923c1c1d6c26864bf1643498d9cf0988ccd.tar.gz
bcm5719-llvm-3145e923c1c1d6c26864bf1643498d9cf0988ccd.zip
Put targets on folders, if the IDE supports the feature.
Requires CMake 2.8.3 or newer. llvm-svn: 126092
Diffstat (limited to 'llvm/unittests')
-rw-r--r--llvm/unittests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/unittests/CMakeLists.txt b/llvm/unittests/CMakeLists.txt
index 5f09fa24835..da4a6524bd9 100644
--- a/llvm/unittests/CMakeLists.txt
+++ b/llvm/unittests/CMakeLists.txt
@@ -12,9 +12,11 @@ function(add_llvm_unittest test_dirname)
endif()
add_llvm_executable(${test_name}Tests ${ARGN})
add_dependencies(UnitTests ${test_name}Tests)
+ set_target_properties(${test_name}Tests PROPERTIES FOLDER "Tests")
endfunction()
add_custom_target(UnitTests)
+set_target_properties(UnitTests PROPERTIES FOLDER "Tests")
include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)
add_definitions(-DGTEST_HAS_RTTI=0)
OpenPOWER on IntegriCloud