[PATCH] D10707: Part 1 of 2-part patch: Use a specified list of languages in cmake project() command.
Douglas Katzman
dougk at google.com
Tue Jul 28 07:44:20 PDT 2015
This revision was automatically updated to reflect the committed changes.
Closed by commit rL243419: Use a specified list of languages in cmake project() command. (authored by dougk).
Changed prior to commit:
http://reviews.llvm.org/D10707?vs=28393&id=30815#toc
Repository:
rL LLVM
http://reviews.llvm.org/D10707
Files:
llvm/trunk/CMakeLists.txt
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Index: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
===================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
@@ -166,6 +166,7 @@
message(STATUS "Building with ${flag}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${flag}" PARENT_SCOPE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${flag}" PARENT_SCOPE)
+ set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} ${flag}" PARENT_SCOPE)
else()
message(WARNING "${flag} is not supported.")
endif()
Index: llvm/trunk/CMakeLists.txt
===================================================================
--- llvm/trunk/CMakeLists.txt
+++ llvm/trunk/CMakeLists.txt
@@ -26,7 +26,7 @@
set(cmake_3_2_USES_TERMINAL USES_TERMINAL)
endif()
-project(LLVM)
+project(LLVM C CXX ASM)
# The following only works with the Ninja generator in CMake >= 3.0.
set(LLVM_PARALLEL_COMPILE_JOBS "" CACHE STRING
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10707.30815.patch
Type: text/x-patch
Size: 962 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150728/39485565/attachment.bin>
More information about the llvm-commits
mailing list