[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] Variables and the CacheLocal VariablesCache VariablesEnvironment variablesThe CacheProperties Variables and the Cache Local Variables We will cover variables first. A loc...
[TOC] Introduction to the basicsMinimum VersionSetting a projectMaking an executableMaking a libraryTargets are your friendDive in Introduction to the basics Minimum Version He...
[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] 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] Running CMakeBuilding a projectPicking a compilerPicking a generatorSetting optionsVerbose and partial buildsOptionsStandard optionsDebugging your CMake files Running CMak...
[TOC] Installing CMakeQuick list (more info on each method below)Official packageCMake Default VersionsWindowsMacOSLinuxRHEL/CentOSUbuntuDebianOtherGeneral toolsCIFull listPip I...
[TOC] An Introduction to Modern CMakeWhy do I need a good build system?Why must the answer be CMake?Why use a Modern CMake?Other sourcesCredits An Introduction to Modern CMake P...
CLion Importing the project Debugging the project CLion CLion is a commercial JetBrains IDE for C++. Importing the project CMakeLists.txt file as a project file, which is p...