[llvm-commits] [llvm] r124793 - in /llvm/trunk/cmake: README config-ix.cmake modules/AddLLVM.cmake modules/AddLLVMDefinitions.cmake modules/CheckAtomic.cmake modules/ChooseMSVCCRT.cmake modules/CrossCompileLLVM.cmake modules/FindBison.cmake modules/GetTargetTriple.cmake modules/LLVM.cmake modules/LLVMConfig.cmake modules/LLVMLibDeps.cmake modules/LLVMProcessSources.cmake modules/TableGen.cmake modules/VersionFromVCS.cmake
NAKAMURA Takumi
geek4civic at gmail.com
Thu Feb 3 03:41:27 PST 2011
Author: chapuni
Date: Thu Feb 3 05:41:27 2011
New Revision: 124793
URL: http://llvm.org/viewvc/llvm-project?rev=124793&view=rev
Log:
cmake/*: Add svn:eol-style=native and fix CRLF.
Modified:
llvm/trunk/cmake/README (props changed)
llvm/trunk/cmake/config-ix.cmake (props changed)
llvm/trunk/cmake/modules/AddLLVM.cmake (props changed)
llvm/trunk/cmake/modules/AddLLVMDefinitions.cmake (contents, props changed)
llvm/trunk/cmake/modules/CheckAtomic.cmake (props changed)
llvm/trunk/cmake/modules/ChooseMSVCCRT.cmake (props changed)
llvm/trunk/cmake/modules/CrossCompileLLVM.cmake (contents, props changed)
llvm/trunk/cmake/modules/FindBison.cmake (props changed)
llvm/trunk/cmake/modules/GetTargetTriple.cmake (props changed)
llvm/trunk/cmake/modules/LLVM.cmake (props changed)
llvm/trunk/cmake/modules/LLVMConfig.cmake (props changed)
llvm/trunk/cmake/modules/LLVMLibDeps.cmake (props changed)
llvm/trunk/cmake/modules/LLVMProcessSources.cmake (props changed)
llvm/trunk/cmake/modules/TableGen.cmake (props changed)
llvm/trunk/cmake/modules/VersionFromVCS.cmake (props changed)
Propchange: llvm/trunk/cmake/README
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/config-ix.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/AddLLVM.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Modified: llvm/trunk/cmake/modules/AddLLVMDefinitions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVMDefinitions.cmake?rev=124793&r1=124792&r2=124793&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVMDefinitions.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVMDefinitions.cmake Thu Feb 3 05:41:27 2011
@@ -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)
Propchange: llvm/trunk/cmake/modules/AddLLVMDefinitions.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/CheckAtomic.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/ChooseMSVCCRT.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Modified: llvm/trunk/cmake/modules/CrossCompileLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/CrossCompileLLVM.cmake?rev=124793&r1=124792&r2=124793&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/CrossCompileLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/CrossCompileLLVM.cmake Thu Feb 3 05:41:27 2011
@@ -1,26 +1,26 @@
-
-if( ${LLVM_TABLEGEN} STREQUAL "tblgen" )
- set(CX_NATIVE_TG_DIR "${CMAKE_BINARY_DIR}/native")
- set(LLVM_TABLEGEN_EXE "${CX_NATIVE_TG_DIR}/bin/tblgen")
-
- add_custom_command(OUTPUT ${CX_NATIVE_TG_DIR}
- COMMAND ${CMAKE_COMMAND} -E make_directory ${CX_NATIVE_TG_DIR}
- COMMENT "Creating ${CX_NATIVE_TG_DIR}...")
-
- add_custom_command(OUTPUT ${CX_NATIVE_TG_DIR}/CMakeCache.txt
- COMMAND ${CMAKE_COMMAND} -UMAKE_TOOLCHAIN_FILE -DCMAKE_BUILD_TYPE=Release ${CMAKE_SOURCE_DIR}
- WORKING_DIRECTORY ${CX_NATIVE_TG_DIR}
- DEPENDS ${CX_NATIVE_TG_DIR}
- COMMENT "Configuring native TableGen...")
-
- add_custom_command(OUTPUT ${LLVM_TABLEGEN_EXE}
- COMMAND ${CMAKE_BUILD_TOOL}
- DEPENDS ${CX_NATIVE_TG_DIR}/CMakeCache.txt
- WORKING_DIRECTORY ${CX_NATIVE_TG_DIR}/utils/TableGen
- COMMENT "Building native TableGen...")
- add_custom_target(NativeTableGen DEPENDS ${LLVM_TABLEGEN_EXE})
-
- add_dependencies(tblgen NativeTableGen)
-
- set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${CX_NATIVE_TG_DIR})
-endif()
+
+if( ${LLVM_TABLEGEN} STREQUAL "tblgen" )
+ set(CX_NATIVE_TG_DIR "${CMAKE_BINARY_DIR}/native")
+ set(LLVM_TABLEGEN_EXE "${CX_NATIVE_TG_DIR}/bin/tblgen")
+
+ add_custom_command(OUTPUT ${CX_NATIVE_TG_DIR}
+ COMMAND ${CMAKE_COMMAND} -E make_directory ${CX_NATIVE_TG_DIR}
+ COMMENT "Creating ${CX_NATIVE_TG_DIR}...")
+
+ add_custom_command(OUTPUT ${CX_NATIVE_TG_DIR}/CMakeCache.txt
+ COMMAND ${CMAKE_COMMAND} -UMAKE_TOOLCHAIN_FILE -DCMAKE_BUILD_TYPE=Release ${CMAKE_SOURCE_DIR}
+ WORKING_DIRECTORY ${CX_NATIVE_TG_DIR}
+ DEPENDS ${CX_NATIVE_TG_DIR}
+ COMMENT "Configuring native TableGen...")
+
+ add_custom_command(OUTPUT ${LLVM_TABLEGEN_EXE}
+ COMMAND ${CMAKE_BUILD_TOOL}
+ DEPENDS ${CX_NATIVE_TG_DIR}/CMakeCache.txt
+ WORKING_DIRECTORY ${CX_NATIVE_TG_DIR}/utils/TableGen
+ COMMENT "Building native TableGen...")
+ add_custom_target(NativeTableGen DEPENDS ${LLVM_TABLEGEN_EXE})
+
+ add_dependencies(tblgen NativeTableGen)
+
+ set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES ${CX_NATIVE_TG_DIR})
+endif()
Propchange: llvm/trunk/cmake/modules/CrossCompileLLVM.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/FindBison.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/GetTargetTriple.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/LLVM.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/LLVMConfig.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/LLVMLibDeps.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/LLVMProcessSources.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/TableGen.cmake
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: llvm/trunk/cmake/modules/VersionFromVCS.cmake
------------------------------------------------------------------------------
svn:eol-style = native
More information about the llvm-commits
mailing list