diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-02-28 16:40:59 -0500 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-02-28 16:40:59 -0500 |
| commit | adceb818e316adb8626c65b7a3b8071b2e61a9a0 (patch) | |
| tree | 470159b3a9848134ea27a7d1dddaaecd7f13b0fd | |
| parent | c05b28933ad0710786b89bc853c5618948397518 (diff) | |
| -rw-r--r-- | CMakeLists.txt | 5 | ||||
| -rw-r--r-- | Kconfig | 5 | ||||
| -rw-r--r-- | cmake/Kconfig.cmake | 5 | ||||
| -rw-r--r-- | cmake/TC-clang.cmake | 5 | ||||
| -rw-r--r-- | cmake/TC-gcc11.cmake | 5 | ||||
| -rw-r--r-- | cmake/TC-gcc15.cmake | 5 | ||||
| -rw-r--r-- | source/test.c | 6 | ||||
| -rwxr-xr-x | tools/make-cmake-config | 5 |
8 files changed, 41 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ebefb7d..554551c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# ######################################################################################################################## # General Configuration ######################################################################################################################## @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# mainmenu "Example Configuration" config USE_TOOLCHAIN_FILE diff --git a/cmake/Kconfig.cmake b/cmake/Kconfig.cmake index 580867b..8c30c0c 100644 --- a/cmake/Kconfig.cmake +++ b/cmake/Kconfig.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# if(__CMAKE_KCONFIG_CMAKE__) return() endif() diff --git a/cmake/TC-clang.cmake b/cmake/TC-clang.cmake index 992011f..cf5a03a 100644 --- a/cmake/TC-clang.cmake +++ b/cmake/TC-clang.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR amd64) diff --git a/cmake/TC-gcc11.cmake b/cmake/TC-gcc11.cmake index a60e63a..cade3f0 100644 --- a/cmake/TC-gcc11.cmake +++ b/cmake/TC-gcc11.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# set(CMAKE_SYSTEM_NAME MacOS) set(CMAKE_SYSTEM_PROCESSOR arm64) diff --git a/cmake/TC-gcc15.cmake b/cmake/TC-gcc15.cmake index 43a1a34..4a95fd8 100644 --- a/cmake/TC-gcc15.cmake +++ b/cmake/TC-gcc15.cmake @@ -1,3 +1,8 @@ +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# set(CMAKE_SYSTEM_NAME MacOS) set(CMAKE_SYSTEM_PROCESSOR arm64) diff --git a/source/test.c b/source/test.c index eac9f91..d293a62 100644 --- a/source/test.c +++ b/source/test.c @@ -1,3 +1,9 @@ +// +// Copyright (c) 2026 Jacob McDonnell +// +// SPDX-License-Identifier: MIT +// + #include <stdio.h> #include "generated.h" diff --git a/tools/make-cmake-config b/tools/make-cmake-config index 0444767..6a6ddaa 100755 --- a/tools/make-cmake-config +++ b/tools/make-cmake-config @@ -1,3 +1,8 @@ #!/usr/bin/env bash +# +# Copyright (c) 2026 Jacob McDonnell +# +# SPDX-License-Identifier: MIT +# cat $1 | gawk '{print gensub(/(.*)=(.*)/, "set(\\1 \\2)", 1)}' > "$(dirname $1)/$(basename -s .make $1).cmake" |
