summaryrefslogtreecommitdiff
path: root/tools/make-cmake-config
diff options
context:
space:
mode:
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"