r200302 - [CMake] Apply llvm_update_compile_flags() to add_clang_library().
NAKAMURA Takumi
geek4civic at gmail.com
Tue Jan 28 01:47:12 PST 2014
Author: chapuni
Date: Tue Jan 28 03:47:12 2014
New Revision: 200302
URL: http://llvm.org/viewvc/llvm-project?rev=200302&view=rev
Log:
[CMake] Apply llvm_update_compile_flags() to add_clang_library().
Modified:
cfe/trunk/CMakeLists.txt
Modified: cfe/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/CMakeLists.txt?rev=200302&r1=200301&r2=200302&view=diff
==============================================================================
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Tue Jan 28 03:47:12 2014
@@ -307,6 +307,7 @@ macro(add_clang_library name)
set(libkind)
endif()
add_library( ${name} ${libkind} ${srcs} )
+ llvm_update_compile_flags(${name} ${ALL_FILES})
add_dead_strip( ${name} )
set_output_directory(${name} ${LLVM_RUNTIME_OUTPUT_INTDIR} ${LLVM_LIBRARY_OUTPUT_INTDIR})
if( LLVM_COMMON_DEPENDS )
More information about the cfe-commits
mailing list