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:
Seth Hillbrand 2022-10-04 19:45:58 -07:00
parent 3fe004fd1b
commit 67e12d4ff6
2 changed files with 4 additions and 2 deletions

View File

@ -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
../../

View File

@ -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 )