diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-02-28 15:36:45 -0500 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-02-28 15:36:45 -0500 |
| commit | 612fd7b29cde5382fda720d76347212442ea4eec (patch) | |
| tree | cbaccd60d7eb64ab9aca4c217e67be5afeba05b5 /CMakeLists.txt | |
| parent | 8edb6adb91191ef329b6044ea298d74b11c7835d (diff) | |
fix: awk -> gawk & verify defconfig exists
Transitioned from awk to gawk for the time being to use gensub cross
platform. Also, now verify that the defconfig specified exists and if it
does not, then an error message is printed.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 999ea9c..ebefb7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,10 @@ cmake_minimum_required(VERSION 3.22) project(KconfigCmake VERSION 0.0.1 LANGUAGES C) +set(C_STANDARD 23) +set(C_EXTENSIONS OFF) +set(C_STANDARD_REQUIRED ON) + list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) include(Kconfig) |
