Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmake/sharg-package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# This file describes how Sharg will be packaged.

cmake_minimum_required (VERSION 3.7)
cmake_minimum_required (VERSION 3.12)

set (CPACK_GENERATOR "TXZ")

Expand Down
2 changes: 1 addition & 1 deletion test/api_stability/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.8)
cmake_minimum_required (VERSION 3.12)

project (api_stability)

Expand Down
2 changes: 1 addition & 1 deletion test/cmake/add_subdirectories.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

# Calls add_subdirectory on all (direct) subdirectories of the given directory if they contain a `CMakeLists.txt`
#
Expand Down
2 changes: 1 addition & 1 deletion test/cmake/diagnostics/list_missing_unit_tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

set (sharg_test_include_targets
""
Expand Down
2 changes: 1 addition & 1 deletion test/cmake/diagnostics/list_unused_snippets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

set (sharg_test_snippets
""
Expand Down
2 changes: 1 addition & 1 deletion test/cmake/diagnostics/list_unused_unit_tests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

set (sharg_test_targets
""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

include (diagnostics/list_missing_unit_tests)

Expand Down
2 changes: 1 addition & 1 deletion test/cmake/sharg_generate_snippet.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

# Generate snippets from a source_snippet
#
Expand Down
2 changes: 1 addition & 1 deletion test/cmake/sharg_path_longest_stem.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

# A compatible function for cmake < 3.20 that basically returns `cmake_path (GET <filename> STEM LAST_ONLY <out_var>)`
function (sharg_path_longest_stem out_var filename)
Expand Down
2 changes: 1 addition & 1 deletion test/cmake/sharg_test_component.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

include (sharg_path_longest_stem)

Expand Down
2 changes: 1 addition & 1 deletion test/cmake/sharg_test_files.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

# Finds all files relative to the `test_base_path_` which satisfy the given file pattern.
#
Expand Down
2 changes: 1 addition & 1 deletion test/documentation/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# SPDX-License-Identifier: BSD-3-Clause

# Minimum cmake version
cmake_minimum_required (VERSION 3.7)
cmake_minimum_required (VERSION 3.12)

### Find sharg
include (../../cmake/sharg-config-version.cmake)
Expand Down
2 changes: 1 addition & 1 deletion test/documentation/sharg-doxygen-package.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

set (CPACK_GENERATOR "TXZ")

Expand Down
2 changes: 1 addition & 1 deletion test/documentation/sharg-doxygen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

### Find doxygen and dependency to DOT tool
message (STATUS "Searching for doxygen.")
Expand Down
2 changes: 1 addition & 1 deletion test/external_project/sharg_installed/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.4)
cmake_minimum_required (VERSION 3.12)
project (sharg_app CXX)

# --- helper scripts
Expand Down
4 changes: 2 additions & 2 deletions test/external_project/sharg_setup_tutorial/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: CC0-1.0

cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.12)

# --- helper scripts
include (../find-package-diagnostics.cmake)
Expand All @@ -16,7 +16,7 @@ file (COPY "${CMAKE_SOURCE_DIR}/../src/hello_world.cpp" DESTINATION "${CMAKE_CUR
set (CMAKE_CURRENT_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../../source")

## [adding_files]
cmake_minimum_required (VERSION 3.5)
cmake_minimum_required (VERSION 3.12)
project (sharg_tutorial CXX)

# add sharg to search path
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.4)
cmake_minimum_required (VERSION 3.12)
project (sharg_app CXX)

# --- helper scripts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.4)
cmake_minimum_required (VERSION 3.12)
project (sharg_app CXX)

# --- helper scripts
Expand Down
2 changes: 1 addition & 1 deletion test/header/generate_header_source.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

option (HEADER_FILE_ABSOLUTE "")
option (HEADER_FILE_INCLUDE "")
Expand Down
2 changes: 1 addition & 1 deletion test/sharg-test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# SeqAn3. To build tests, run cmake on one of the sub-folders in this directory
# which contain a CMakeLists.txt.

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

# require Sharg package
find_package (Sharg REQUIRED HINTS ${CMAKE_CURRENT_LIST_DIR}/../cmake)
Expand Down
2 changes: 1 addition & 1 deletion test/snippet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)
project (sharg_test_snippet CXX)

include (../sharg-test.cmake)
Expand Down
2 changes: 1 addition & 1 deletion test/snippet/compare_snippet_output.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024 Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: CC0-1.0

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)

include ("${CMAKE_CURRENT_LIST_DIR}/../cmake/sharg_path_longest_stem.cmake")

Expand Down
2 changes: 1 addition & 1 deletion test/unit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-FileCopyrightText: 2016-2024, Knut Reinert & MPI für molekulare Genetik
# SPDX-License-Identifier: BSD-3-Clause

cmake_minimum_required (VERSION 3.10)
cmake_minimum_required (VERSION 3.12)
project (sharg_test_unit CXX)

include (../sharg-test.cmake)
Expand Down
Loading