- Directoriescontain- CMakeLists.txt, add by- add_subdirectory
- Scriptsare- <script>.cmakefiles that can be executed with- cmake -P <script>.cmake. Not all commands are supported
- Modulesare- <script>.cmakefiles located in- CMAKE_MODULES_PATHdirectory. Can be loaded with- include()command
target_compile_definition(foo