mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
VMCore/CMakeLists.txt: [CMake][MSVC] Add "/Og-" to Function.cpp on msvc10. Otherwise, it took over 20 minutes to compile.
FIXME: Suppressing optimizations to core libraries would not be good thing. llvm-svn: 159097
This commit is contained in:
parent
e4f20af5c4
commit
5faba14ee5
@ -36,3 +36,12 @@ add_llvm_library(LLVMCore
|
|||||||
ValueTypes.cpp
|
ValueTypes.cpp
|
||||||
Verifier.cpp
|
Verifier.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Workaround: It takes over 20 minutes to compile with msvc10.
|
||||||
|
# FIXME: Suppressing optimizations to core libraries would not be good thing.
|
||||||
|
if( MSVC_VERSION EQUAL 1600 )
|
||||||
|
set_property(
|
||||||
|
SOURCE Function.cpp
|
||||||
|
PROPERTY COMPILE_FLAGS "/Og-"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user