mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-25 05:15:33 +00:00
Fix win32 toolchain files for release builds.
This commit is contained in:
@@ -38,7 +38,9 @@ endif()
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
|
||||
|
||||
# Increase optimizations of Release builds
|
||||
add_compile_options("$<$<CONFIG:RELEASE>:-g0 -O3 -s>")
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-g0>)
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-O3>)
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-s>)
|
||||
|
||||
# Enable common CPU optimizations
|
||||
add_compile_options(-march=i686 -mtune=generic)
|
||||
|
||||
@@ -23,7 +23,9 @@ set(CMAKE_FIND_ROOT_PATH "$ENV{MINGW_PREFIX}")
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
|
||||
|
||||
# Increase optimizations of Release builds
|
||||
add_compile_options("$<$<CONFIG:RELEASE>:-g0 -O3 -s>")
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-g0>)
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-O3>)
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-s>)
|
||||
|
||||
# Enable common CPU optimizations
|
||||
add_compile_options(-march=i686 -mtune=generic)
|
||||
|
||||
@@ -38,7 +38,9 @@ endif()
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
|
||||
|
||||
# Increase optimizations of Release builds
|
||||
add_compile_options("$<$<CONFIG:RELEASE>:-g0 -O3 -s>")
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-g0>)
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-O3>)
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-s>)
|
||||
|
||||
# Enable common CPU optimizations
|
||||
add_compile_options(-mtune=generic)
|
||||
|
||||
@@ -23,7 +23,9 @@ set(CMAKE_FIND_ROOT_PATH "$ENV{MINGW_PREFIX}")
|
||||
set(CMAKE_INTERPROCEDURAL_OPTIMIZATION_RELEASE ON)
|
||||
|
||||
# Increase optimizations of Release builds
|
||||
add_compile_options("$<$<CONFIG:RELEASE>:-g0 -O3 -s>")
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-g0>)
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-O3>)
|
||||
add_compile_options($<$<CONFIG:RELEASE>:-s>)
|
||||
|
||||
# Enable common CPU optimizations
|
||||
add_compile_options(-mtune=generic)
|
||||
|
||||
Reference in New Issue
Block a user