You did it!
Some Final Words
- Use the commands
- Always set
- Use namespaced alias targets
- Do NOT use
add_compile_options add_definitions include_directories link_directories link_libraries
- Never ever use
Effective CMake by Daniel Pfeifer at C++Now 2017
Using Modern CMakePatterns to Enforce a Good Modular Design by Mathieu Ropert
Embracing Modern CMake by Stephen Kelly
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.