C++ Primer
Summary
A short introduction to C++. The examples build on top of each other. A special focus is put on the build configuration which is based on the goto-tool for building C++, namely CMake
. The idea is to have the build system configured correctly right from the beginning, and only then move on to learn how to code.
Useful Weblinks
C++
CMake
List of Subprojects
- Example 1: The most basic build setup for an executable
- Library 1: The most basic build setup for a library
- Example 2: How to include libraries (primitive version using a specific directory)
- Example 3:
- How to include libraries using
FetchContent
- How to configure CPack to obtain release packages
- Example 4:
- Install in a tool-specific directory
- Configure
RUNPATH
- Illustrate the effect of
LD_LIBRARY_PATH
Basic C++ Concepts Explained
This part is not yet written.