[TOC] Installing CMakeQuick list (more info on each method below)Official packageCMake Default VersionsWindowsMacOSLinuxRHEL/CentOSUbuntuDebianOtherGeneral toolsCIFull listPip I...
[TOC] Do’s and Don’tsCMake AntipatternsCMake PatternsSelecting a minimum in 2024:What minimum to choose - OS support:What minimum to choose - Features: Do’s and Don’ts The next ...
[TOC] Introduction to the basics Variables and the Cache Programming in CMake Communication with your code How to structure your project Running other programs A simple example
[TOC] Introduction to the basicsMinimum VersionSetting a projectMaking an executableMaking a libraryTargets are your friendDive in Introduction to the basics Minimum Version He...
[TOC] Variables and the CacheLocal VariablesCache VariablesEnvironment variablesThe CacheProperties Variables and the Cache Local Variables We will cover variables first. A loc...
[TOC] Programming in CMakeControl flowgenerator-expressionsMacros and FunctionsArguments Programming in CMake Control flow CMake has an if statement, though over the years it h...
[TOC] Communication with your codeConfigure FileVersion.h.inCMake lines:Reading files Communication with your code Configure File CMake allows you to access CMake variables fro...
[TOC] How to structure your project How to structure your project The following information is biased. But in a good way, I think. I’m going to tell you how to structure the dir...
[TOC] Running other programsRunning a command at configure timeRunning a command at build timeIncluded common utilities Running other programs Running a command at configure ti...