Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/asartori86/build_system_tools
Gentle introduction to the basics of CMake and meson, and unit-testing with gtest.
https://github.com/asartori86/build_system_tools
build-system cmake cpp gtest meson unit-testing
Last synced: 3 months ago
JSON representation
Gentle introduction to the basics of CMake and meson, and unit-testing with gtest.
- Host: GitHub
- URL: https://github.com/asartori86/build_system_tools
- Owner: asartori86
- Created: 2018-05-14T13:17:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-24T22:26:36.000Z (over 4 years ago)
- Last Synced: 2024-06-18T04:36:45.466Z (5 months ago)
- Topics: build-system, cmake, cpp, gtest, meson, unit-testing
- Language: C++
- Homepage:
- Size: 1.24 MB
- Stars: 13
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Build system tools and unit testing [![Build Status](https://travis-ci.org/asartori86/build_system_tools.svg?branch=master)](https://travis-ci.org/asartori86/build_system_tools)
Gentle introduction to the basics of [CMake](https://cmake.org/) and [meson](http://mesonbuild.com/), and unit-testing with [gtest](https://github.com/google/googletest/) and [catch2](https://github.com/catchorg/Catch2).
1. How to generate an executable from several source files organized in sub-folders: [01_basic](./01_basic)
2. How to generate a shared library and link your main against it: [02_shared_libraries](./02_shared_libraries)
3. How to organize your code such that it is modular: [03_modularity](./03_modularity)
4. How to perform *integration* tests: [04_tests](./04_tests)
5. How to find and use an external library **easy**: [05a_external_library](./05a_external_library)
5. How to find and use an external library **medium**: [05b_external_library](./05b_external_library)
6. How to perform *unit* tests: [06_unit_tests](./06_unit_tests)
7. How to customize the build process: [07_customization](./07_customization)
8. How compile a code with mpi (brute force) [08a_mpi](./08a_mpi)
9. How to handle mpi dependency [08b_mpi](./08b_mpi)