CMakeLists
CMakeLists is the build script used by the CMake build system to describe how a software project should be built. Each CMakeLists.txt file appears in a project directory and defines the rules for building that directory. The top-level CMakeLists.txt typically controls the overall project and may include subdirectories with add_subdirectory.
A typical CMakeLists.txt contains commands such as cmake_minimum_required, project, and definitions of build targets with add_executable
Common commands set up project metadata and targets: cmake_minimum_required sets the minimum CMake version, project defines
Structure often includes multiple CMakeLists.txt files across subdirectories. A subdirectory can be added with add_subdirectory, and