Basics of CMake: CMakeLists.txt
# File name: CMakeLists.txt # Set the minimum required CMake version to 3.15 cmake_minimum_required(VERSION 3.15) # Set the project name to MyProject, version number to 1.0 project(MyProject VERSION 1.0) # Set compilation options, set C++ standard to C++17 set(CMAKE_CXX_STANDARD 17) # Force the compiler to support the specified C++ standard (C++17 in this case), # … Read more