diff options
author | Chris Bieneman <beanz@apple.com> | 2016-08-18 18:17:28 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-08-18 18:17:28 +0000 |
commit | 69f289cf1d9714b4e86679b99ccdb131f5890942 (patch) | |
tree | 6e654ff4f502d54f4e0798c1fccc13e38605e86c /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 0596387ad37ec3e9c15f3f22b5341901e1b002fc (diff) | |
download | llvm-69f289cf1d9714b4e86679b99ccdb131f5890942.zip llvm-69f289cf1d9714b4e86679b99ccdb131f5890942.tar.gz llvm-69f289cf1d9714b4e86679b99ccdb131f5890942.tar.bz2 |
[CMake] Silence message on multi-configuration generators
The Xcode and Visual Studio generators always log "-- No build type selected, default to Debug". This is because CMake doesn't initialize "CMAKE_CONFIGURATION_TYPES" until the generator's EnableLanguage call gets hit.
The first place EnableLanguage gets hit in our configuration is in the project() call. Since CMAKE_BUILD_TYPE isn't used until after we call project() it is safe to just move this check down a bit.
llvm-svn: 279110
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions