[PATCH] D10713: Let cmake infer source file language by the file extension.

Douglas Katzman dougk at google.com
Tue Jul 28 09:53:12 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL243446: Let cmake infer source file language by the file extension. (authored by dougk).

Changed prior to commit:
  http://reviews.llvm.org/D10713?vs=28406&id=30832#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D10713

Files:
  compiler-rt/trunk/CMakeLists.txt
  compiler-rt/trunk/lib/builtins/CMakeLists.txt

Index: compiler-rt/trunk/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/CMakeLists.txt
+++ compiler-rt/trunk/CMakeLists.txt
@@ -9,7 +9,7 @@
 
 # Check if compiler-rt is built as a standalone project.
 if (CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
-  project(CompilerRT C CXX)
+  project(CompilerRT C CXX ASM)
   set(COMPILER_RT_STANDALONE_BUILD TRUE)
 else()
   set(COMPILER_RT_STANDALONE_BUILD FALSE)
Index: compiler-rt/trunk/lib/builtins/CMakeLists.txt
===================================================================
--- compiler-rt/trunk/lib/builtins/CMakeLists.txt
+++ compiler-rt/trunk/lib/builtins/CMakeLists.txt
@@ -286,7 +286,6 @@
         endif ()
       endforeach ()
 
-      set_source_files_properties(${${arch}_SOURCES} PROPERTIES LANGUAGE C)
       add_compiler_rt_runtime(clang_rt.builtins-${arch} ${arch} STATIC
                               SOURCES ${${arch}_SOURCES}
                               CFLAGS "-std=c99")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10713.30832.patch
Type: text/x-patch
Size: 1009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150728/64c63ac6/attachment.bin>


More information about the llvm-commits mailing list