C++ sandbox project
- A compiler supporting C++17.
- CMake v3.10 or higher.
Navigate to the project root.
Create a build
directory and navigate to it:
mkdir build && cd build
Build the project:
cmake ..
Then, in the same directory:
make
To compile only a specific executable:
make ExecutableName
e.g.,
make IncrementAndDecrementOperators
cd
to the directory of the example:
cd ./sections/sectionXX/YY_ExecutableName
e.g.,
cd ./sections/section01/02_DataTypes
Run the executable:
./ExecutableName
e.g.,
./DataTypes