From 612fd7b29cde5382fda720d76347212442ea4eec Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Sat, 28 Feb 2026 15:36:45 -0500 Subject: 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. --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3