Jenkins example setup discussed on thoughts-on-cpp
A jenkins build automation example, as discussed on thoughts-on-coding.com for a C++/Qt desktop application utilizing CMake, CTest and CPPCheck.
This is a very basic build setup defined with jenkins declarative pipeline.
It’s using CMake for the build process, CTest for executing the tests and CPPCheck for static code analysis
Important to note is that CMake needs the Vcpkg toolchain file to resolve the necessary dependencies
-DCMAKE_TOOLCHAIN_FILE={YOUR_PATH_TO_VCPKG}/vcpkg/scripts/buildsystems/vcpkg.cmake
This project is licensed under the MIT License - see the LICENSE file for details