creating cmake config files
cmake -H. -Bbuild- will creates CMake configuration files inside folder build.
-H.refers to source directory where
-Bbuildis th folder to where to put all of the generated cmake config.
cmake --build build -- -j3- will generate the output program
- add c++ files recursively - https://stackoverflow.com/questions/27992346/how-to-use-cmake-glob-recurse-for-only-some-subdirectories
- very good guide - http://derekmolloy.ie/hello-world-introductions-to-cmake/
- also good - https://email@example.com/cmake-tutorial-585dd180109b