Structure

Cppm Generate Project Structure

Example
cppm.toml             # Cppm configuration file. Generate CMakeLists.txt
build/                # build directory
cmake/                # cmake files
+-- Modules/          # Find cmake files
+-- cppm_tool.cmake   # cppm cmake tools
+-- HunterGate.cmake  # Hunter package manager cmake tools
include/              # include directory
src/                  # source directory
thirdparty/           # cppkg script install path
+-- ${dependency name}/
    +-- ${version}/
        +-- cppkg.toml
        +-- dep.cmake
        +-- ${dependency_name}.cmake.in

Cppkg Structure

Example
lastest/              # build directory
+-- FindExample.cmake # none cmake base project finder
+-- cppkg.toml        # cppkg config file
+-- Example.cmake.in  # cppkg auto installer file
+-- dep.cmake         # cppkg dependeny loader
${version}/           # cppkg script install path

Last updated

Was this helpful?