diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ee4ddf8d..8e45f04b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,10 +17,7 @@ jobs: compiler: [clang++-15, g++-12] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - name: Install Dependencies - # Boost must be installed only because the CMake version (3.12) can't - # detect the installed Boost version (1.69) - run: sudo apt-get update && sudo apt-get -y install ninja-build libboost-date-time-dev g++-multilib + - run: sudo apt-get update && sudo apt-get install libboost-date-time-dev - name: Run tests with common Catch run: | cmake -G Ninja . @@ -38,10 +35,7 @@ jobs: compiler: [clang++, g++] steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - name: Install Dependencies - # Boost must be installed only because the CMake version (3.12) can't - # detect the installed Boost version (1.69) - run: sudo apt-get update && sudo apt-get -y install ninja-build libboost-date-time-dev + - run: sudo apt-get update && sudo apt-get install libboost-date-time-dev - name: Run tests with common Catch if: matrix.compiler == 'g++' run: | diff --git a/CMakeLists.txt b/CMakeLists.txt index 814642e5..b7c017be 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) project(exercism CXX) function(build_fixup exercise_dir alt_exercise_root exercise_type example_name) diff --git a/exercises/concept/doctor-data/CMakeLists.txt b/exercises/concept/doctor-data/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/concept/doctor-data/CMakeLists.txt +++ b/exercises/concept/doctor-data/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/concept/election-day/CMakeLists.txt b/exercises/concept/election-day/CMakeLists.txt index ba6b6636..5fb3209c 100644 --- a/exercises/concept/election-day/CMakeLists.txt +++ b/exercises/concept/election-day/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/ellens-alien-game/CMakeLists.txt b/exercises/concept/ellens-alien-game/CMakeLists.txt index 8e21222a..d03aa91b 100644 --- a/exercises/concept/ellens-alien-game/CMakeLists.txt +++ b/exercises/concept/ellens-alien-game/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/freelancer-rates/CMakeLists.txt b/exercises/concept/freelancer-rates/CMakeLists.txt index 8e21222a..d03aa91b 100644 --- a/exercises/concept/freelancer-rates/CMakeLists.txt +++ b/exercises/concept/freelancer-rates/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/interest-is-interesting/CMakeLists.txt b/exercises/concept/interest-is-interesting/CMakeLists.txt index 8e21222a..d03aa91b 100644 --- a/exercises/concept/interest-is-interesting/CMakeLists.txt +++ b/exercises/concept/interest-is-interesting/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/lasagna-master/CMakeLists.txt b/exercises/concept/lasagna-master/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/concept/lasagna-master/CMakeLists.txt +++ b/exercises/concept/lasagna-master/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/concept/lasagna/CMakeLists.txt b/exercises/concept/lasagna/CMakeLists.txt index 8e21222a..d03aa91b 100644 --- a/exercises/concept/lasagna/CMakeLists.txt +++ b/exercises/concept/lasagna/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/last-will/CMakeLists.txt b/exercises/concept/last-will/CMakeLists.txt index 8e21222a..d03aa91b 100644 --- a/exercises/concept/last-will/CMakeLists.txt +++ b/exercises/concept/last-will/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/log-levels/CMakeLists.txt b/exercises/concept/log-levels/CMakeLists.txt index 44ef334b..887ab7e8 100644 --- a/exercises/concept/log-levels/CMakeLists.txt +++ b/exercises/concept/log-levels/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/making-the-grade/CMakeLists.txt b/exercises/concept/making-the-grade/CMakeLists.txt index ba6b6636..5fb3209c 100644 --- a/exercises/concept/making-the-grade/CMakeLists.txt +++ b/exercises/concept/making-the-grade/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/pacman-rules/CMakeLists.txt b/exercises/concept/pacman-rules/CMakeLists.txt index 8e21222a..d03aa91b 100644 --- a/exercises/concept/pacman-rules/CMakeLists.txt +++ b/exercises/concept/pacman-rules/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/power-of-troy/CMakeLists.txt b/exercises/concept/power-of-troy/CMakeLists.txt index 3b0589fd..ac5ea825 100644 --- a/exercises/concept/power-of-troy/CMakeLists.txt +++ b/exercises/concept/power-of-troy/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/concept/speedywagon/CMakeLists.txt b/exercises/concept/speedywagon/CMakeLists.txt index 3b0589fd..ac5ea825 100644 --- a/exercises/concept/speedywagon/CMakeLists.txt +++ b/exercises/concept/speedywagon/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/concept/troll-the-trolls/CMakeLists.txt b/exercises/concept/troll-the-trolls/CMakeLists.txt index 8e21222a..d03aa91b 100644 --- a/exercises/concept/troll-the-trolls/CMakeLists.txt +++ b/exercises/concept/troll-the-trolls/CMakeLists.txt @@ -1,5 +1,5 @@ # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Get the exercise name from the current directory get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) diff --git a/exercises/concept/vehicle-purchase/CMakeLists.txt b/exercises/concept/vehicle-purchase/CMakeLists.txt index 24d8a62a..17cad99a 100644 --- a/exercises/concept/vehicle-purchase/CMakeLists.txt +++ b/exercises/concept/vehicle-purchase/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/acronym/CMakeLists.txt b/exercises/practice/acronym/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/acronym/CMakeLists.txt +++ b/exercises/practice/acronym/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/all-your-base/CMakeLists.txt b/exercises/practice/all-your-base/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/all-your-base/CMakeLists.txt +++ b/exercises/practice/all-your-base/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/allergies/CMakeLists.txt b/exercises/practice/allergies/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/allergies/CMakeLists.txt +++ b/exercises/practice/allergies/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/anagram/CMakeLists.txt b/exercises/practice/anagram/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/anagram/CMakeLists.txt +++ b/exercises/practice/anagram/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/armstrong-numbers/CMakeLists.txt b/exercises/practice/armstrong-numbers/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/armstrong-numbers/CMakeLists.txt +++ b/exercises/practice/armstrong-numbers/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/atbash-cipher/CMakeLists.txt b/exercises/practice/atbash-cipher/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/atbash-cipher/CMakeLists.txt +++ b/exercises/practice/atbash-cipher/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/bank-account/CMakeLists.txt b/exercises/practice/bank-account/CMakeLists.txt index 82efa96b..24509f1d 100644 --- a/exercises/practice/bank-account/CMakeLists.txt +++ b/exercises/practice/bank-account/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/beer-song/CMakeLists.txt b/exercises/practice/beer-song/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/beer-song/CMakeLists.txt +++ b/exercises/practice/beer-song/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/binary-search-tree/CMakeLists.txt b/exercises/practice/binary-search-tree/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/binary-search-tree/CMakeLists.txt +++ b/exercises/practice/binary-search-tree/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/binary-search/CMakeLists.txt b/exercises/practice/binary-search/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/binary-search/CMakeLists.txt +++ b/exercises/practice/binary-search/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/binary/CMakeLists.txt b/exercises/practice/binary/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/binary/CMakeLists.txt +++ b/exercises/practice/binary/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/bob/CMakeLists.txt b/exercises/practice/bob/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/bob/CMakeLists.txt +++ b/exercises/practice/bob/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/circular-buffer/CMakeLists.txt b/exercises/practice/circular-buffer/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/circular-buffer/CMakeLists.txt +++ b/exercises/practice/circular-buffer/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/clock/CMakeLists.txt b/exercises/practice/clock/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/clock/CMakeLists.txt +++ b/exercises/practice/clock/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/collatz-conjecture/CMakeLists.txt b/exercises/practice/collatz-conjecture/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/collatz-conjecture/CMakeLists.txt +++ b/exercises/practice/collatz-conjecture/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/complex-numbers/CMakeLists.txt b/exercises/practice/complex-numbers/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/complex-numbers/CMakeLists.txt +++ b/exercises/practice/complex-numbers/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/crypto-square/CMakeLists.txt b/exercises/practice/crypto-square/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/crypto-square/CMakeLists.txt +++ b/exercises/practice/crypto-square/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/darts/CMakeLists.txt b/exercises/practice/darts/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/darts/CMakeLists.txt +++ b/exercises/practice/darts/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/diamond/CMakeLists.txt b/exercises/practice/diamond/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/diamond/CMakeLists.txt +++ b/exercises/practice/diamond/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/difference-of-squares/CMakeLists.txt b/exercises/practice/difference-of-squares/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/difference-of-squares/CMakeLists.txt +++ b/exercises/practice/difference-of-squares/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/dnd-character/CMakeLists.txt b/exercises/practice/dnd-character/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/dnd-character/CMakeLists.txt +++ b/exercises/practice/dnd-character/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/eliuds-eggs/CMakeLists.txt b/exercises/practice/eliuds-eggs/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/eliuds-eggs/CMakeLists.txt +++ b/exercises/practice/eliuds-eggs/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/etl/CMakeLists.txt b/exercises/practice/etl/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/etl/CMakeLists.txt +++ b/exercises/practice/etl/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/food-chain/CMakeLists.txt b/exercises/practice/food-chain/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/food-chain/CMakeLists.txt +++ b/exercises/practice/food-chain/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/gigasecond/CMakeLists.txt b/exercises/practice/gigasecond/CMakeLists.txt index 9ee7f8a4..8b558cf0 100644 --- a/exercises/practice/gigasecond/CMakeLists.txt +++ b/exercises/practice/gigasecond/CMakeLists.txt @@ -2,7 +2,9 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.10) + +cmake_policy(SET CMP0167 NEW) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/grade-school/CMakeLists.txt b/exercises/practice/grade-school/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/grade-school/CMakeLists.txt +++ b/exercises/practice/grade-school/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/grains/CMakeLists.txt b/exercises/practice/grains/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/grains/CMakeLists.txt +++ b/exercises/practice/grains/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/hamming/CMakeLists.txt b/exercises/practice/hamming/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/hamming/CMakeLists.txt +++ b/exercises/practice/hamming/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/hello-world/CMakeLists.txt b/exercises/practice/hello-world/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/hello-world/CMakeLists.txt +++ b/exercises/practice/hello-world/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/hexadecimal/CMakeLists.txt b/exercises/practice/hexadecimal/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/hexadecimal/CMakeLists.txt +++ b/exercises/practice/hexadecimal/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/high-scores/CMakeLists.txt b/exercises/practice/high-scores/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/high-scores/CMakeLists.txt +++ b/exercises/practice/high-scores/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/isbn-verifier/CMakeLists.txt b/exercises/practice/isbn-verifier/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/isbn-verifier/CMakeLists.txt +++ b/exercises/practice/isbn-verifier/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/isogram/CMakeLists.txt b/exercises/practice/isogram/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/isogram/CMakeLists.txt +++ b/exercises/practice/isogram/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/kindergarten-garden/CMakeLists.txt b/exercises/practice/kindergarten-garden/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/kindergarten-garden/CMakeLists.txt +++ b/exercises/practice/kindergarten-garden/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/knapsack/CMakeLists.txt b/exercises/practice/knapsack/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/knapsack/CMakeLists.txt +++ b/exercises/practice/knapsack/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/largest-series-product/CMakeLists.txt b/exercises/practice/largest-series-product/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/largest-series-product/CMakeLists.txt +++ b/exercises/practice/largest-series-product/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/leap/CMakeLists.txt b/exercises/practice/leap/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/leap/CMakeLists.txt +++ b/exercises/practice/leap/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/linked-list/CMakeLists.txt b/exercises/practice/linked-list/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/linked-list/CMakeLists.txt +++ b/exercises/practice/linked-list/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/list-ops/CMakeLists.txt b/exercises/practice/list-ops/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/list-ops/CMakeLists.txt +++ b/exercises/practice/list-ops/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/luhn/CMakeLists.txt b/exercises/practice/luhn/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/luhn/CMakeLists.txt +++ b/exercises/practice/luhn/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/matching-brackets/CMakeLists.txt b/exercises/practice/matching-brackets/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/matching-brackets/CMakeLists.txt +++ b/exercises/practice/matching-brackets/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/meetup/CMakeLists.txt b/exercises/practice/meetup/CMakeLists.txt index 9ee7f8a4..13a38b0b 100644 --- a/exercises/practice/meetup/CMakeLists.txt +++ b/exercises/practice/meetup/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/minesweeper/CMakeLists.txt b/exercises/practice/minesweeper/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/minesweeper/CMakeLists.txt +++ b/exercises/practice/minesweeper/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/nth-prime/CMakeLists.txt b/exercises/practice/nth-prime/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/nth-prime/CMakeLists.txt +++ b/exercises/practice/nth-prime/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/nucleotide-count/CMakeLists.txt b/exercises/practice/nucleotide-count/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/nucleotide-count/CMakeLists.txt +++ b/exercises/practice/nucleotide-count/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/pangram/CMakeLists.txt b/exercises/practice/pangram/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/pangram/CMakeLists.txt +++ b/exercises/practice/pangram/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/parallel-letter-frequency/CMakeLists.txt b/exercises/practice/parallel-letter-frequency/CMakeLists.txt index 2c1edb22..34c09c35 100644 --- a/exercises/practice/parallel-letter-frequency/CMakeLists.txt +++ b/exercises/practice/parallel-letter-frequency/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/pascals-triangle/CMakeLists.txt b/exercises/practice/pascals-triangle/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/pascals-triangle/CMakeLists.txt +++ b/exercises/practice/pascals-triangle/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/perfect-numbers/CMakeLists.txt b/exercises/practice/perfect-numbers/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/perfect-numbers/CMakeLists.txt +++ b/exercises/practice/perfect-numbers/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/phone-number/CMakeLists.txt b/exercises/practice/phone-number/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/phone-number/CMakeLists.txt +++ b/exercises/practice/phone-number/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/pig-latin/CMakeLists.txt b/exercises/practice/pig-latin/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/pig-latin/CMakeLists.txt +++ b/exercises/practice/pig-latin/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/prime-factors/CMakeLists.txt b/exercises/practice/prime-factors/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/prime-factors/CMakeLists.txt +++ b/exercises/practice/prime-factors/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/protein-translation/CMakeLists.txt b/exercises/practice/protein-translation/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/protein-translation/CMakeLists.txt +++ b/exercises/practice/protein-translation/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/queen-attack/CMakeLists.txt b/exercises/practice/queen-attack/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/queen-attack/CMakeLists.txt +++ b/exercises/practice/queen-attack/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/rail-fence-cipher/CMakeLists.txt b/exercises/practice/rail-fence-cipher/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/rail-fence-cipher/CMakeLists.txt +++ b/exercises/practice/rail-fence-cipher/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/raindrops/CMakeLists.txt b/exercises/practice/raindrops/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/raindrops/CMakeLists.txt +++ b/exercises/practice/raindrops/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/resistor-color-duo/CMakeLists.txt b/exercises/practice/resistor-color-duo/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/resistor-color-duo/CMakeLists.txt +++ b/exercises/practice/resistor-color-duo/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/resistor-color/CMakeLists.txt b/exercises/practice/resistor-color/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/resistor-color/CMakeLists.txt +++ b/exercises/practice/resistor-color/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/reverse-string/CMakeLists.txt b/exercises/practice/reverse-string/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/reverse-string/CMakeLists.txt +++ b/exercises/practice/reverse-string/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/rna-transcription/CMakeLists.txt b/exercises/practice/rna-transcription/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/rna-transcription/CMakeLists.txt +++ b/exercises/practice/rna-transcription/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/robot-name/CMakeLists.txt b/exercises/practice/robot-name/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/robot-name/CMakeLists.txt +++ b/exercises/practice/robot-name/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/robot-simulator/CMakeLists.txt b/exercises/practice/robot-simulator/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/robot-simulator/CMakeLists.txt +++ b/exercises/practice/robot-simulator/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/roman-numerals/CMakeLists.txt b/exercises/practice/roman-numerals/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/roman-numerals/CMakeLists.txt +++ b/exercises/practice/roman-numerals/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/rotational-cipher/CMakeLists.txt b/exercises/practice/rotational-cipher/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/rotational-cipher/CMakeLists.txt +++ b/exercises/practice/rotational-cipher/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/run-length-encoding/CMakeLists.txt b/exercises/practice/run-length-encoding/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/run-length-encoding/CMakeLists.txt +++ b/exercises/practice/run-length-encoding/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/say/CMakeLists.txt b/exercises/practice/say/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/say/CMakeLists.txt +++ b/exercises/practice/say/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/scrabble-score/CMakeLists.txt b/exercises/practice/scrabble-score/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/scrabble-score/CMakeLists.txt +++ b/exercises/practice/scrabble-score/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/secret-handshake/CMakeLists.txt b/exercises/practice/secret-handshake/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/secret-handshake/CMakeLists.txt +++ b/exercises/practice/secret-handshake/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/series/CMakeLists.txt b/exercises/practice/series/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/series/CMakeLists.txt +++ b/exercises/practice/series/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/sieve/CMakeLists.txt b/exercises/practice/sieve/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/sieve/CMakeLists.txt +++ b/exercises/practice/sieve/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/simple-linked-list/CMakeLists.txt b/exercises/practice/simple-linked-list/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/simple-linked-list/CMakeLists.txt +++ b/exercises/practice/simple-linked-list/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/space-age/CMakeLists.txt b/exercises/practice/space-age/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/space-age/CMakeLists.txt +++ b/exercises/practice/space-age/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/spiral-matrix/CMakeLists.txt b/exercises/practice/spiral-matrix/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/spiral-matrix/CMakeLists.txt +++ b/exercises/practice/spiral-matrix/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/sublist/CMakeLists.txt b/exercises/practice/sublist/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/sublist/CMakeLists.txt +++ b/exercises/practice/sublist/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/sum-of-multiples/CMakeLists.txt b/exercises/practice/sum-of-multiples/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/sum-of-multiples/CMakeLists.txt +++ b/exercises/practice/sum-of-multiples/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/triangle/CMakeLists.txt b/exercises/practice/triangle/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/triangle/CMakeLists.txt +++ b/exercises/practice/triangle/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/trinary/CMakeLists.txt b/exercises/practice/trinary/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/trinary/CMakeLists.txt +++ b/exercises/practice/trinary/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/two-bucket/CMakeLists.txt b/exercises/practice/two-bucket/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/two-bucket/CMakeLists.txt +++ b/exercises/practice/two-bucket/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/two-fer/CMakeLists.txt b/exercises/practice/two-fer/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/two-fer/CMakeLists.txt +++ b/exercises/practice/two-fer/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/word-count/CMakeLists.txt b/exercises/practice/word-count/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/word-count/CMakeLists.txt +++ b/exercises/practice/word-count/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/yacht/CMakeLists.txt b/exercises/practice/yacht/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/yacht/CMakeLists.txt +++ b/exercises/practice/yacht/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX) diff --git a/exercises/practice/zebra-puzzle/CMakeLists.txt b/exercises/practice/zebra-puzzle/CMakeLists.txt index dba98a93..758e48f6 100644 --- a/exercises/practice/zebra-puzzle/CMakeLists.txt +++ b/exercises/practice/zebra-puzzle/CMakeLists.txt @@ -2,7 +2,7 @@ get_filename_component(exercise ${CMAKE_CURRENT_SOURCE_DIR} NAME) # Basic CMake project -cmake_minimum_required(VERSION 3.5.1) +cmake_minimum_required(VERSION 3.5.1...3.29.0) # Name the project after the exercise project(${exercise} CXX)