Cmake

Use Case

Convert Makefile based build system to CMake.

Session 1

  • Discuss existing Makefile command.
  • Use the Makefile command to convert the build system to use CMake.
  • Discuss integration with the GTest Framework
  • Show the build using CMake Extension
  • Run tests using Testing Framework Extension

CMake files list

ubuntu@vmi1281458:~/workspace/sravz_repo/backend-cpp$ find ./ -name CMakeLists.txt
./CMakeLists.txt
./tests/unit_tests/CMakeLists.txt
./tests/CMakeLists.txt
./tests/integration_tests/CMakeLists.txt
./src/CMakeLists.txt
./src/controllers/CMakeLists.txt
./src/services/CMakeLists.txt
./src/web/CMakeLists.txt
./src/example/CMakeLists.txt

Dataflow Diagram

src: https://www.tenouk.com/ModuleW.html

Video explanation of the code

CMake

Source Code

References

https://github.com/bast/gtest-demo/tree/master

comments powered by Disqus