Modern Cmake style
- Target centric
- Each target should fully describe how to use it
- Use
PRIVATE
,INTERFACE
,PUBLIC
keywords to specify the scope.
Structure
Flow
cmake ..
cmake --build .
CLI
Extensions
Presets
Export And Install Expressions
?<BUILD_INTERFACE>
- using build directory?<INSTALL_INTERFACE>
- used after target is installed