summaryrefslogtreecommitdiffstats
path: root/llvm/CMakeLists.txt
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-09-26 22:40:15 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-09-26 22:40:15 +0000
commit2b91a7f80fd6d3d11f98c9debfb8023d5102c92c (patch)
tree207904fa834178cc7d56e6ce34fa9515e3c5430b /llvm/CMakeLists.txt
parent601327c4b956535b5ca253fa5016879e246d5731 (diff)
downloadbcm5719-llvm-2b91a7f80fd6d3d11f98c9debfb8023d5102c92c.tar.gz
bcm5719-llvm-2b91a7f80fd6d3d11f98c9debfb8023d5102c92c.zip
Add LLVM_ENABLE_MODULES flag to CMake to enable building with C++ modules.
llvm-svn: 218551
Diffstat (limited to 'llvm/CMakeLists.txt')
-rw-r--r--llvm/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index f4195ae6346..cc8dd0133c0 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -208,6 +208,7 @@ else()
option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
endif()
+option(LLVM_ENABLE_MODULES "Compile with C++ modules enabled." OFF)
option(LLVM_ENABLE_CXX1Y "Compile with C++1y enabled." OFF)
option(LLVM_ENABLE_LIBCXX "Use libc++ if available." OFF)
option(LLVM_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
OpenPOWER on IntegriCloud