Skip to content

Commit 3027947

Browse files
Update code/spaceship/CMakeLists.txt for C++20
Co-authored-by: Bernhard Manfred Gruber <bernhardmgruber@gmail.com>
1 parent ef9df94 commit 3027947

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/spaceship/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
cmake_minimum_required( VERSION 3.12 )
44
project( spaceship LANGUAGES CXX )
55

6-
set(CMAKE_CXX_STANDARD 20)
7-
set(CMAKE_CXX_STANDARD_REQUIRED ON)
8-
96
# Set up the compilation environment.
107
include( "${CMAKE_CURRENT_SOURCE_DIR}/../CompilerSettings.cmake" )
118
include( "${CMAKE_CURRENT_SOURCE_DIR}/../SolutionTarget.cmake" )
129

10+
set(CMAKE_CXX_STANDARD 20)
11+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
12+
1313
# Create the user's executable.
1414
add_executable( spaceship "spaceship.cpp" )
1515

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy