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

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

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