Resources
Notes
add_executable(<target> <files>)
- Target: Defines a target name
- Files: List of source files
add_library(<target> <type> <files>)
- Target: Selected target
- Types:
- STATIC: archives of object files for use when linking other targets
- SHARED: libraries are linked dynamically and loaded at runtime
- MODULES: libraries are plugins that are not linked into other targets but may be loaded dynamically at runtime using dlopen-like functionality.
- Files: List of source files