mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 23:37:55 +08:00
0bc3f04da6
Co-authored-by: Alexander Neumann <you@example.com> Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
24 lines
858 B
Diff
24 lines
858 B
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 94c8389f96..d4d533301a 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -192,12 +192,12 @@ IF(MSVC)
|
|
# SET(CMAKE_CXX_FLAGS_DEBUG "/DEBUG /Od /Zi")
|
|
add_compile_options("/bigobj")
|
|
ELSE()
|
|
- SET(CMAKE_C_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
|
|
- SET(CMAKE_CXX_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
|
|
- SET(CMAKE_C_FLAGS_DISTRIBUTION "-O2")
|
|
- SET(CMAKE_CXX_FLAGS_DISTRIBUTION "-O2")
|
|
- SET(CMAKE_C_FLAGS_DEBUG "-g")
|
|
- SET(CMAKE_CXX_FLAGS_DEBUG "-g")
|
|
+ #SET(CMAKE_C_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
|
|
+ #SET(CMAKE_CXX_FLAGS_RELEASE "-O3 ${RELEASE_COMPILER_FLAGS}")
|
|
+ #SET(CMAKE_C_FLAGS_DISTRIBUTION "-O2")
|
|
+ #SET(CMAKE_CXX_FLAGS_DISTRIBUTION "-O2")
|
|
+ #SET(CMAKE_C_FLAGS_DEBUG "-g")
|
|
+ #SET(CMAKE_CXX_FLAGS_DEBUG "-g")
|
|
ENDIF()
|
|
|
|
OPTION(ENABLE_COVERAGE "Enable code coverage" OFF)
|