summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2018-08-22 18:40:24 +0000
committerChris Bieneman <chris.bieneman@me.com>2018-08-22 18:40:24 +0000
commitdc622702aa2c25a3a01acbdbbb3be806daf9f77a (patch)
treee6b387f474762db4fc241f2ad1ce00e317bc7659 /clang/lib/Frontend/CompilerInvocation.cpp
parent87f78cfe15055f5ddc1756b65bb5ef6e0013153a (diff)
downloadbcm5719-llvm-dc622702aa2c25a3a01acbdbbb3be806daf9f77a.tar.gz
bcm5719-llvm-dc622702aa2c25a3a01acbdbbb3be806daf9f77a.zip
[CMake] Use LLVM_ENABLE_IDE instead of CMAKE_CONFIGURATION_TYPES
There are several places where we use CMAKE_CONFIGURATION_TYPES to determine if we are using an IDE generator and in turn decide not to generate some of the convenience targets (like all the install-* and check-llvm-* targets). This decision is made because IDEs don't always deal well with the thousands of targets LLVM can generate. This approach does not work for Visual Studio 15's new CMake integration. Because VS15 uses a Ninja generator, it isn't a multi-configuration build, and generating all these extra targets mucks up the UI and adds little value. With this change we still don't generate these targets by default for Visual Studio and Xcode generators, and LLVM_ENABLE_IDE becomes a switch that can be enabled on the VS15 CMake builds, to improve the IDE experience. llvm-svn: 340435
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud