summaryrefslogtreecommitdiff
path: root/tools/make-cmake-config
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-28 16:40:59 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-28 16:40:59 -0500
commitadceb818e316adb8626c65b7a3b8071b2e61a9a0 (patch)
tree470159b3a9848134ea27a7d1dddaaecd7f13b0fd /tools/make-cmake-config
parentc05b28933ad0710786b89bc853c5618948397518 (diff)
docs: Added SPDX-License-Identifiers to filesHEADv1.0.0maindevelop
Diffstat (limited to 'tools/make-cmake-config')
-rwxr-xr-xtools/make-cmake-config5
1 files changed, 5 insertions, 0 deletions
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"