The place where random ideas get written down and lost in time.
2023-10-06 - CMake
Category DEVhttps://cmake.org/cmake/help/latest/guide/tutorial/index.html
In a file called CMakeLists.txt:
cmake_minimum_required(version)
project(name)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
target_include_directories(ProjectName PUBLIC list_of_dirs)
for an exe, the minimum is add_executable(Name file_list)
for a library, add_library(Name file_list)
Generated on 2025-01-18 by Rig4j 0.1-Exp-f2c0035