mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
add cpp standard flag to cmake (#3684)
add DCMAKE_CXX_STANDARD flag See documentation in CMake. https://cmake.org/cmake/help/latest/prop_tgt/CXX_STANDARD.html
This commit is contained in:
parent
8cc4c461d6
commit
01ced3238e
1 changed files with 1 additions and 1 deletions
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
|
@ -14,7 +14,7 @@ jobs:
|
|||
uses: actions/checkout@v4.1.6
|
||||
|
||||
- name: Configure project
|
||||
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=--coverage
|
||||
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS=--coverage -DCMAKE_CXX_STANDARD=17
|
||||
|
||||
- name: Build project
|
||||
run: cmake --build build --target test_runner --target task_executable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue