From 0342220203fd3adb2a1859230223311252ab24e3 Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Tue, 27 May 2025 13:34:11 -0400 Subject: Update CXX_STANDARD to 20. Also update minimum CMake version. --- plugins/dwarf/dwarf_export/CMakeLists.txt | 2 +- plugins/dwarf/dwarf_import/CMakeLists.txt | 2 +- plugins/idb_import/CMakeLists.txt | 2 +- plugins/pdb-ng/CMakeLists.txt | 2 +- plugins/rtti/CMakeLists.txt | 4 ++-- plugins/stack_render_layer/CMakeLists.txt | 4 ++-- plugins/svd/CMakeLists.txt | 2 +- plugins/warp/CMakeLists.txt | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins') diff --git a/plugins/dwarf/dwarf_export/CMakeLists.txt b/plugins/dwarf/dwarf_export/CMakeLists.txt index f388f8fc..a144ae4a 100644 --- a/plugins/dwarf/dwarf_export/CMakeLists.txt +++ b/plugins/dwarf/dwarf_export/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(dwarf_export) diff --git a/plugins/dwarf/dwarf_import/CMakeLists.txt b/plugins/dwarf/dwarf_import/CMakeLists.txt index b7357ae4..dcad561b 100644 --- a/plugins/dwarf/dwarf_import/CMakeLists.txt +++ b/plugins/dwarf/dwarf_import/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(dwarf_import) diff --git a/plugins/idb_import/CMakeLists.txt b/plugins/idb_import/CMakeLists.txt index 8241e09c..81ced4eb 100644 --- a/plugins/idb_import/CMakeLists.txt +++ b/plugins/idb_import/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(idb_import) diff --git a/plugins/pdb-ng/CMakeLists.txt b/plugins/pdb-ng/CMakeLists.txt index bfd5332f..0f3bcb6b 100644 --- a/plugins/pdb-ng/CMakeLists.txt +++ b/plugins/pdb-ng/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(pdb_import_plugin) diff --git a/plugins/rtti/CMakeLists.txt b/plugins/rtti/CMakeLists.txt index b1fc1e42..25891070 100644 --- a/plugins/rtti/CMakeLists.txt +++ b/plugins/rtti/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(rtti) @@ -27,7 +27,7 @@ endif() target_link_libraries(${PROJECT_NAME} binaryninjaapi) set_target_properties(${PROJECT_NAME} PROPERTIES - CXX_STANDARD 17 + CXX_STANDARD 20 CXX_VISIBILITY_PRESET hidden CXX_STANDARD_REQUIRED ON C_STANDARD 99 diff --git a/plugins/stack_render_layer/CMakeLists.txt b/plugins/stack_render_layer/CMakeLists.txt index a578ed06..5368d1e7 100644 --- a/plugins/stack_render_layer/CMakeLists.txt +++ b/plugins/stack_render_layer/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(stack_render_layer) @@ -27,7 +27,7 @@ endif() target_link_libraries(${PROJECT_NAME} binaryninjaapi) set_target_properties(${PROJECT_NAME} PROPERTIES - CXX_STANDARD 17 + CXX_STANDARD 20 CXX_VISIBILITY_PRESET hidden CXX_STANDARD_REQUIRED ON C_STANDARD 99 diff --git a/plugins/svd/CMakeLists.txt b/plugins/svd/CMakeLists.txt index 253eb523..eb57107d 100644 --- a/plugins/svd/CMakeLists.txt +++ b/plugins/svd/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(svd_ninja) diff --git a/plugins/warp/CMakeLists.txt b/plugins/warp/CMakeLists.txt index 762eaf90..37b86165 100644 --- a/plugins/warp/CMakeLists.txt +++ b/plugins/warp/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.9...3.15 FATAL_ERROR) +cmake_minimum_required(VERSION 3.15 FATAL_ERROR) project(warp_ninja) -- cgit v1.3.1