diff options
| -rw-r--r-- | README.md | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -2,3 +2,32 @@ The goal of this project is to integrate Kconfiglib into CMake in a clean way. +## Example + +### Required Directories/Files + +``` +. +├── cmake +│ ├── Kconfig.cmake +├── CMakeLists.txt +├── configs +│ ├── example_defconfig +│ └── example2_defconfig +├── Kconfig +└── tools + ├── Kconfiglib/ + └── make-cmake-config +``` + +### Commands + +``` +mkdir build +cd build +cmake -DDEFCONFIG=example_defconfig [-G Ninja] .. +(make | ninja) menuconfig +[(make | ninja) savedefconfig] +(make | ninja) +``` + |
