Browse Source

Build QA without `NDEBUG` to get wxASSERTs

Also include minimum debug information to get basic backtrace while
keeping artifacts reasonable
7.0
Seth Hillbrand 3 years ago
parent
commit
67e12d4ff6
  1. 3
      .gitlab/Fedora-Linux-CI.yml
  2. 3
      CMakeLists.txt

3
.gitlab/Fedora-Linux-CI.yml

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

3
CMakeLists.txt

@ -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…
Cancel
Save