Build QA without `NDEBUG` to get wxASSERTs
Also include minimum debug information to get basic backtrace while keeping artifacts reasonable
This commit is contained in:
parent
3fe004fd1b
commit
67e12d4ff6
|
@ -23,9 +23,8 @@
|
|||
- cd build/linux
|
||||
- cmake
|
||||
-G Ninja
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DCMAKE_BUILD_TYPE=QABUILD
|
||||
-DKICAD_STDLIB_LIGHT_DEBUG=ON
|
||||
-DKICAD_USE_OCC=ON
|
||||
-DKICAD_SPICE=ON
|
||||
-DKICAD_BUILD_I18N=ON
|
||||
../../
|
||||
|
|
|
@ -33,6 +33,9 @@ endif()
|
|||
|
||||
project( kicad )
|
||||
|
||||
# Create a default build type for our QA that doesn't include `NDEBUG`
|
||||
set(CMAKE_CXX_FLAGS_QABUILD "-Os -g1 -ggdb1")
|
||||
|
||||
include( GNUInstallDirs )
|
||||
include( CMakeDependentOption )
|
||||
|
||||
|
|
Loading…
Reference in New Issue