Use a specified list of languages in cmake project() command.
authorDouglas Katzman <dougk@google.com>
Tue, 28 Jul 2015 14:43:53 +0000 (14:43 +0000)
committerDouglas Katzman <dougk@google.com>
Tue, 28 Jul 2015 14:43:53 +0000 (14:43 +0000)
commit8d1cf2218d1d03171a4716816196975959aceb5f
tree456f005b5acebfe7af2944bc9576aa68ca2c304b
parentc26dfdf86b442404ed2a3d209fd152e6be0f53a1
Use a specified list of languages in cmake project() command.

This allows asm files and Cxx files to be compiled with different flags
rather than treating them identically. LLVM itself has no asm files
other than tests, but this setting is inherited by the compiler-rt
project (unless compiled standalone), which does have asm files.

Differential Revision: http://reviews.llvm.org/D10707

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243419 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
cmake/modules/HandleLLVMOptions.cmake