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. --- docs/dev/plugins.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/dev') diff --git a/docs/dev/plugins.md b/docs/dev/plugins.md index 1b7791e3..5cac34d6 100644 --- a/docs/dev/plugins.md +++ b/docs/dev/plugins.md @@ -102,7 +102,7 @@ Older versions may work but are not supported. - Windows: VS 2022 Professional with C/C++ Native Tools package, v143 (14.34) - Linux: GCC 11.4+ -Additionally, Binary Ninja uses C++17 features, and requires a C++17 compatible compiler. +Additionally, Binary Ninja uses C++20 features, and requires a C++20 compatible compiler. ### CMake Setup @@ -120,7 +120,7 @@ The first things to specify in your CMake file are a couple boilerplate options # Name your plugin project(TestPlugin CXX) - set(CMAKE_CXX_STANDARD 17) + set(CMAKE_CXX_STANDARD 20) # Unless you are writing a plugin that needs Qt's UI, specify this set(HEADLESS 1) -- cgit v1.3.1