DirectoriescontainCMakeLists.txt, add byadd_subdirectoryScriptsare<script>.cmakefiles that can be executed withcmake -P <script>.cmake. Not all commands are supportedModulesare<script>.cmakefiles located inCMAKE_MODULES_PATHdirectory. Can be loaded withinclude()command
target_compile_definition(foo