aboutsummaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-02-12 17:09:10 +0200
committerLasse Collin <lasse.collin@tukaani.org>2024-02-14 18:31:16 +0200
commit22af94128b89a131f5e58ae69bee5e50227c15da (patch)
treeccc9899891b9561873c903ff963e2d3b51030385 /cmake
parentliblzma: Sync the AUTHORS fix about SHA-256 to lzma.h. (diff)
downloadxz-22af94128b89a131f5e58ae69bee5e50227c15da.tar.xz
Add SPDX license identifier into 0BSD source code files.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/remove-ordinals.cmake2
-rw-r--r--cmake/tuklib_common.cmake4
-rw-r--r--cmake/tuklib_cpucores.cmake4
-rw-r--r--cmake/tuklib_integer.cmake4
-rw-r--r--cmake/tuklib_large_file_support.cmake4
-rw-r--r--cmake/tuklib_mbstr.cmake4
-rw-r--r--cmake/tuklib_physmem.cmake4
-rw-r--r--cmake/tuklib_progname.cmake4
8 files changed, 30 insertions, 0 deletions
diff --git a/cmake/remove-ordinals.cmake b/cmake/remove-ordinals.cmake
index 60e20be7..de85ddfd 100644
--- a/cmake/remove-ordinals.cmake
+++ b/cmake/remove-ordinals.cmake
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: 0BSD
+
#############################################################################
#
# remove-ordinals.cmake
diff --git a/cmake/tuklib_common.cmake b/cmake/tuklib_common.cmake
index 01d50531..a7f101fa 100644
--- a/cmake/tuklib_common.cmake
+++ b/cmake/tuklib_common.cmake
@@ -1,8 +1,12 @@
+# SPDX-License-Identifier: 0BSD
+
+#############################################################################
#
# tuklib_common.cmake - common functions and macros for tuklib_*.cmake files
#
# Author: Lasse Collin
#
+#############################################################################
function(tuklib_add_definitions TARGET_OR_ALL DEFINITIONS)
# DEFINITIONS may be an empty string/list but it's fine here. There is
diff --git a/cmake/tuklib_cpucores.cmake b/cmake/tuklib_cpucores.cmake
index 377ea192..e5e9c34d 100644
--- a/cmake/tuklib_cpucores.cmake
+++ b/cmake/tuklib_cpucores.cmake
@@ -1,8 +1,12 @@
+# SPDX-License-Identifier: 0BSD
+
+#############################################################################
#
# tuklib_cpucores.cmake - see tuklib_cpucores.m4 for description and comments
#
# Author: Lasse Collin
#
+#############################################################################
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckCSourceCompiles)
diff --git a/cmake/tuklib_integer.cmake b/cmake/tuklib_integer.cmake
index 268f73c5..7e1ed3c5 100644
--- a/cmake/tuklib_integer.cmake
+++ b/cmake/tuklib_integer.cmake
@@ -1,8 +1,12 @@
+# SPDX-License-Identifier: 0BSD
+
+#############################################################################
#
# tuklib_integer.cmake - see tuklib_integer.m4 for description and comments
#
# Author: Lasse Collin
#
+#############################################################################
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(TestBigEndian)
diff --git a/cmake/tuklib_large_file_support.cmake b/cmake/tuklib_large_file_support.cmake
index 071fe47f..4ed1d091 100644
--- a/cmake/tuklib_large_file_support.cmake
+++ b/cmake/tuklib_large_file_support.cmake
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: 0BSD
+
+#############################################################################
#
# tuklib_large_file_support.cmake
#
@@ -8,6 +11,7 @@
#
# Author: Lasse Collin
#
+#############################################################################
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckCSourceCompiles)
diff --git a/cmake/tuklib_mbstr.cmake b/cmake/tuklib_mbstr.cmake
index 17091e9f..71e16cc5 100644
--- a/cmake/tuklib_mbstr.cmake
+++ b/cmake/tuklib_mbstr.cmake
@@ -1,8 +1,12 @@
+# SPDX-License-Identifier: 0BSD
+
+#############################################################################
#
# tuklib_mbstr.cmake - see tuklib_mbstr.m4 for description and comments
#
# Author: Lasse Collin
#
+#############################################################################
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckSymbolExists)
diff --git a/cmake/tuklib_physmem.cmake b/cmake/tuklib_physmem.cmake
index 52179ded..e4888ebe 100644
--- a/cmake/tuklib_physmem.cmake
+++ b/cmake/tuklib_physmem.cmake
@@ -1,3 +1,6 @@
+# SPDX-License-Identifier: 0BSD
+
+#############################################################################
#
# tuklib_physmem.cmake - see tuklib_physmem.m4 for description and comments
#
@@ -6,6 +9,7 @@
#
# Author: Lasse Collin
#
+#############################################################################
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckCSourceCompiles)
diff --git a/cmake/tuklib_progname.cmake b/cmake/tuklib_progname.cmake
index f02aa756..a1f15bde 100644
--- a/cmake/tuklib_progname.cmake
+++ b/cmake/tuklib_progname.cmake
@@ -1,8 +1,12 @@
+# SPDX-License-Identifier: 0BSD
+
+#############################################################################
#
# tuklib_progname.cmake - see tuklib_progname.m4 for description and comments
#
# Author: Lasse Collin
#
+#############################################################################
include("${CMAKE_CURRENT_LIST_DIR}/tuklib_common.cmake")
include(CheckSymbolExists)