This is cmake example to use for lecture
apt install build-essential cmake gcc libomp-dev git
in each Case folder
cmake -Bbuild
cmake --build build
./build/<program to run>
- Case01 : Normal CMake
- Case02 : add excute multiple file
- Case03 : GLOB
- Case04 : compile every file
- Case05 : include guard
- Case06 : add library and link openmp
- Case07 : create library and link
- Case08 : compile option and external library
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.