Inside the companion
Build your studio
Two small CMake checkpoints: one executable, then a library with tests and presets.
Project files 9
Give one source a target
The first CMake project: choose C++23 and define one executable.
cmake_minimum_required(VERSION 3.25)
project(FirstTarget LANGUAGES CXX)
set(CMAKE_CXX_EXTENSIONS OFF)
add_executable(first-target main.cpp)
target_compile_features(first-target PRIVATE cxx_std_23)
This is the file included with the course. Copy and download give you its complete source.
Taking your work offline? Download all course companions
