Release: make RelWithDebInfo instead of Release
Signed modular release / publish (push) Failing after 22m50s
Signed modular release / publish (push) Failing after 22m50s
This commit is contained in:
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ set(ECHOION_COMPONENT_VERSION "${PROJECT_VERSION}")
|
||||
# compiled with the same optimisation level as Echoion itself.
|
||||
get_property(_isMultiConfig GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
|
||||
if(NOT _isMultiConfig AND NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE Release CACHE STRING "Build type" FORCE)
|
||||
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Build type" FORCE)
|
||||
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
|
||||
Debug Release RelWithDebInfo MinSizeRel)
|
||||
message(STATUS "No CMAKE_BUILD_TYPE set; defaulting to Release")
|
||||
|
||||
+2
-2
@@ -35,14 +35,14 @@
|
||||
{
|
||||
"name": "linux-release",
|
||||
"configurePreset": "linux-release",
|
||||
"configuration": "Release"
|
||||
"configuration": "RelWithDebInfo"
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
{
|
||||
"name": "linux-release",
|
||||
"configurePreset": "linux-release",
|
||||
"configuration": "Release",
|
||||
"configuration": "RelWithDebInfo",
|
||||
"output": {
|
||||
"outputOnFailure": true
|
||||
},
|
||||
|
||||
@@ -246,7 +246,7 @@ cmake_arguments=(
|
||||
-S "$source_root"
|
||||
-B "$build"
|
||||
-G Ninja
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
-DCMAKE_INSTALL_PREFIX="$install_root"
|
||||
-DECHOION_COMPONENT_VERSION="$component_version"
|
||||
-DECHOION_PRODUCT_VERSION="$product_version"
|
||||
|
||||
Reference in new issue
Block a user