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
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ cmake_minimum_required(VERSION 3.25)

project(Vortex DESCRIPTION "Vortex C and C++ libraries" LANGUAGES NONE)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Directory-scoped developer defaults; an embedded root resets inherited ownership.
set(_vortex_top_level "${PROJECT_IS_TOP_LEVEL}")

Expand Down
3 changes: 3 additions & 0 deletions lang/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ cmake_minimum_required(VERSION 3.25)

project(VortexCXX DESCRIPTION "Vortex C++ wrapper" LANGUAGES C CXX)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Standalone entry points own their defaults; otherwise inherit Vortex's marker.
if(PROJECT_IS_TOP_LEVEL)
set(_vortex_top_level ON)
Expand Down
3 changes: 3 additions & 0 deletions vortex-ffi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ cmake_minimum_required(VERSION 3.25)

project(VortexFFI DESCRIPTION "Vortex C FFI" LANGUAGES C CXX)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Standalone entry points own their defaults; otherwise inherit Vortex's marker.
if(PROJECT_IS_TOP_LEVEL)
set(_vortex_top_level ON)
Expand Down
Loading