klips/cpp
Shaun Reed d4f6fb9d41 Add new cpp/algorithms directory, include basic selection sort example 2021-01-17 17:04:20 -05:00
..
algorithms/sorting/selection Add new cpp/algorithms directory, include basic selection sort example 2021-01-17 17:04:20 -05:00
cmake Reorganize files 2020-05-23 03:59:42 +00:00
datastructs Update READMEs 2020-11-25 07:06:48 -05:00
opengl Cleanup files, add comments 2020-06-12 00:36:03 -04:00
sdl Cleanup files, add comments 2020-06-12 00:36:03 -04:00
sdl-cmake Cleanup files, add comments 2020-06-12 00:36:03 -04:00
README.md Update READMEs 2020-11-25 07:06:48 -05:00

README.md

Cpp

shaunrd0/klips/cpp/
├── cmake       # Example of using cmake to build and organize larger projects
├── datastructs # Collection of useful datastructures written in C++
├── opengl      # Barebones opengl application written in C++ built with make
├── README.md
├── sdl         # Barebones sdl application written in C++ built with make
└── sdl-cmake   # Barebones sdl application written in C++ built with cmake

In general, if a CMakeLists.txt is included in the project's root directory, we can build the example with the following commands

mkdir build && cd build
cmake .. && cmake --build .

If cmake is not being used in a project, it can be built with g++ manually using the commands outlined in */.vscode/tasks.json, or by using VSCode to open the example and running the build task.