Skip to content
Snippets Groups Projects
Commit dd492cc5 authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[CMake] Avoid setting `CMAKE_BUILD_TYPE` in CMakeLists.txt

parent 678d2bb1
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ build_linux:
before_script:
- QMAKE=/opt/qt/$QT_VERSION/gcc_64/bin/qmake
script:
- cmake -Bbuild -DCMAKE_CXX_COMPILER_LAUNCHER=ccache .
- cmake -Bbuild -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=RelWithDebInfo .
- cmake --build build -j 16
- cd build
- linuxdeploy --plugin qt -e groundstation -d ../linuxdeploy/groundstation.desktop -i ../linuxdeploy/SkywardLogo.png --appdir AppDir
......@@ -78,7 +78,7 @@ build_windows:
before_script:
- export PATH=/home/gitlab-runner/mxe/usr/bin:$PATH
script:
- x86_64-w64-mingw32.static-cmake -Bbuild -DCMAKE_CXX_COMPILER_LAUNCHER=ccache .
- x86_64-w64-mingw32.static-cmake -Bbuild -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_BUILD_TYPE=RelWithDebInfo .
- x86_64-w64-mingw32.static-cmake --build build -j 16
- mv build/groundstation.exe Ground_Station-$CI_COMMIT_SHORT_SHA.exe
artifacts:
......
......@@ -20,8 +20,6 @@
# THE SOFTWARE.
cmake_minimum_required(VERSION 3.16)
# For now we keep debug information on
set(CMAKE_BUILD_TYPE RelWithDebInfo)
project(SkywardHub)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment