diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2008-11-15 00:24:38 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2008-11-15 00:24:38 +0000 |
commit | 422fcf3837e43c430b39d440efbbe369b1aea053 (patch) | |
tree | 9e323dd499256582a720b12137e3808c8391bcca /include/llvm/CMakeLists.txt | |
parent | 14ad6fce43e09f37020483f7e33b7dfdc770cb6b (diff) | |
download | external_llvm-422fcf3837e43c430b39d440efbbe369b1aea053.zip external_llvm-422fcf3837e43c430b39d440efbbe369b1aea053.tar.gz external_llvm-422fcf3837e43c430b39d440efbbe369b1aea053.tar.bz2 |
CMake: Moved generation of Intrinsics.gen to
include/llvm/CMakeLists.txt. Does it with the `tablegen' cmake macro.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59342 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CMakeLists.txt')
-rw-r--r-- | include/llvm/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CMakeLists.txt b/include/llvm/CMakeLists.txt new file mode 100644 index 0000000..523f231 --- /dev/null +++ b/include/llvm/CMakeLists.txt @@ -0,0 +1,8 @@ +set(LLVM_TARGET_DEFINITIONS Intrinsics.td) + +tablegen(Intrinsics.gen -gen-intrinsic) + +add_custom_target(intrinsics_gen ALL + DEPENDS ${llvm_builded_incs_dir}/Intrinsics.gen) + +set(LLVM_COMMON_DEPENDS ${LLVM_COMMON_DEPENDS} intrinsics_gen PARENT_SCOPE) |