aboutsummaryrefslogtreecommitdiff
path: root/utils
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
commit0b85d07d4611e7d704bf6550fbc624aff36a53b4 (patch)
tree0d834d3adf48ab448c6b2f975d7edf0a0892883a /utils
parentf7ad048f1e122ee4f735398786f4859392f74144 (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/llvm/trunk@126092 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/FileCheck/CMakeLists.txt2
-rw-r--r--utils/FileUpdate/CMakeLists.txt2
-rw-r--r--utils/KillTheDoctor/CMakeLists.txt2
-rw-r--r--utils/TableGen/CMakeLists.txt2
-rw-r--r--utils/count/CMakeLists.txt2
-rw-r--r--utils/not/CMakeLists.txt2
6 files changed, 6 insertions, 6 deletions
diff --git a/utils/FileCheck/CMakeLists.txt b/utils/FileCheck/CMakeLists.txt
index 54db453e70..fa56f92a8f 100644
--- a/utils/FileCheck/CMakeLists.txt
+++ b/utils/FileCheck/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_executable(FileCheck
+add_llvm_utility(FileCheck
FileCheck.cpp
)
diff --git a/utils/FileUpdate/CMakeLists.txt b/utils/FileUpdate/CMakeLists.txt
index 5dda49e0e4..655aaec3bc 100644
--- a/utils/FileUpdate/CMakeLists.txt
+++ b/utils/FileUpdate/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_executable(FileUpdate
+add_llvm_utility(FileUpdate
FileUpdate.cpp
)
diff --git a/utils/KillTheDoctor/CMakeLists.txt b/utils/KillTheDoctor/CMakeLists.txt
index 99c671e74a..37c2b7ceb4 100644
--- a/utils/KillTheDoctor/CMakeLists.txt
+++ b/utils/KillTheDoctor/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_executable(KillTheDoctor
+add_llvm_utility(KillTheDoctor
KillTheDoctor.cpp
)
diff --git a/utils/TableGen/CMakeLists.txt b/utils/TableGen/CMakeLists.txt
index e24314c3e0..514b191299 100644
--- a/utils/TableGen/CMakeLists.txt
+++ b/utils/TableGen/CMakeLists.txt
@@ -3,7 +3,7 @@ set(LLVM_REQUIRES_RTTI 1)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${LLVM_TOOLS_BINARY_DIR})
-add_executable(tblgen
+add_llvm_utility(tblgen
ARMDecoderEmitter.cpp
AsmMatcherEmitter.cpp
AsmWriterEmitter.cpp
diff --git a/utils/count/CMakeLists.txt b/utils/count/CMakeLists.txt
index e124f61d24..4e0d371334 100644
--- a/utils/count/CMakeLists.txt
+++ b/utils/count/CMakeLists.txt
@@ -1,3 +1,3 @@
-add_executable(count
+add_llvm_utility(count
count.c
)
diff --git a/utils/not/CMakeLists.txt b/utils/not/CMakeLists.txt
index 155d2e3ae7..f4c02290d7 100644
--- a/utils/not/CMakeLists.txt
+++ b/utils/not/CMakeLists.txt
@@ -1,4 +1,4 @@
-add_executable(not
+add_llvm_utility(not
not.cpp
)