aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/modules/AddLLVMDefinitions.cmake
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-02-03 11:41:27 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-02-03 11:41:27 +0000
commit76422f3e08fc9cb19128760b8e7f0b87d23da0d9 (patch)
tree552698ec6fee82e14434508b0e9cb4e8ca4bb758 /cmake/modules/AddLLVMDefinitions.cmake
parent50ca4d37f7f3b460c6441eb5ad14625a7d86b5d9 (diff)
downloadexternal_llvm-76422f3e08fc9cb19128760b8e7f0b87d23da0d9.zip
external_llvm-76422f3e08fc9cb19128760b8e7f0b87d23da0d9.tar.gz
external_llvm-76422f3e08fc9cb19128760b8e7f0b87d23da0d9.tar.bz2
cmake/*: Add svn:eol-style=native and fix CRLF.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124793 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/modules/AddLLVMDefinitions.cmake')
-rw-r--r--cmake/modules/AddLLVMDefinitions.cmake27
1 files changed, 13 insertions, 14 deletions
diff --git a/cmake/modules/AddLLVMDefinitions.cmake b/cmake/modules/AddLLVMDefinitions.cmake
index 2787830..33ac973 100644
--- a/cmake/modules/AddLLVMDefinitions.cmake
+++ b/cmake/modules/AddLLVMDefinitions.cmake
@@ -1,14 +1,13 @@
-# There is no clear way of keeping track of compiler command-line
-# options chosen via `add_definitions', so we need our own method for
-# using it on tools/llvm-config/CMakeLists.txt.
-
-# Beware that there is no implementation of remove_llvm_definitions.
-
-macro(add_llvm_definitions)
- # We don't want no semicolons on LLVM_DEFINITIONS:
- foreach(arg ${ARGN})
- set(LLVM_DEFINITIONS "${LLVM_DEFINITIONS} ${arg}")
- endforeach(arg)
- add_definitions( ${ARGN} )
-endmacro(add_llvm_definitions)
-
+# There is no clear way of keeping track of compiler command-line
+# options chosen via `add_definitions', so we need our own method for
+# using it on tools/llvm-config/CMakeLists.txt.
+
+# Beware that there is no implementation of remove_llvm_definitions.
+
+macro(add_llvm_definitions)
+ # We don't want no semicolons on LLVM_DEFINITIONS:
+ foreach(arg ${ARGN})
+ set(LLVM_DEFINITIONS "${LLVM_DEFINITIONS} ${arg}")
+ endforeach(arg)
+ add_definitions( ${ARGN} )
+endmacro(add_llvm_definitions)