aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-09-16 08:36:28 -0700
committer3gg <3gg@shellblade.net>2024-09-16 08:36:28 -0700
commit2f87b72173c5ba419f56076411888d07e931b81d (patch)
tree6bf18ec1d99bd6b8d6e837b5137b18c636947f00
parent0af80388a0c019daf102c2c41cb05dea51591926 (diff)
Upgrade minimum cmake version.
-rw-r--r--CMakeLists.txt2
-rw-r--r--cassert/CMakeLists.txt2
-rw-r--r--cstring/CMakeLists.txt2
-rw-r--r--error/CMakeLists.txt2
-rw-r--r--filesystem/CMakeLists.txt2
-rw-r--r--list/CMakeLists.txt2
-rw-r--r--log/CMakeLists.txt2
-rw-r--r--mem/CMakeLists.txt2
-rw-r--r--mempool/CMakeLists.txt6
-rw-r--r--plugin/CMakeLists.txt2
-rw-r--r--random/CMakeLists.txt2
-rw-r--r--test/CMakeLists.txt2
-rw-r--r--timer/CMakeLists.txt4
13 files changed, 18 insertions, 14 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index dae71bf..04e0e4e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(clib) 3project(clib)
4 4
diff --git a/cassert/CMakeLists.txt b/cassert/CMakeLists.txt
index 855f261..13e5560 100644
--- a/cassert/CMakeLists.txt
+++ b/cassert/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(cassert) 3project(cassert)
4 4
diff --git a/cstring/CMakeLists.txt b/cstring/CMakeLists.txt
index bc385c3..1d1dfe4 100644
--- a/cstring/CMakeLists.txt
+++ b/cstring/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(cstring) 3project(cstring)
4 4
diff --git a/error/CMakeLists.txt b/error/CMakeLists.txt
index e47a1f9..7d7d03b 100644
--- a/error/CMakeLists.txt
+++ b/error/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(error) 3project(error)
4 4
diff --git a/filesystem/CMakeLists.txt b/filesystem/CMakeLists.txt
index 04390f4..07cfdc4 100644
--- a/filesystem/CMakeLists.txt
+++ b/filesystem/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(filesystem) 3project(filesystem)
4 4
diff --git a/list/CMakeLists.txt b/list/CMakeLists.txt
index 6e76ec6..5e335cc 100644
--- a/list/CMakeLists.txt
+++ b/list/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(list) 3project(list)
4 4
diff --git a/log/CMakeLists.txt b/log/CMakeLists.txt
index eed76f4..cc103c5 100644
--- a/log/CMakeLists.txt
+++ b/log/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3add_library(log 3add_library(log
4 src/log.c) 4 src/log.c)
diff --git a/mem/CMakeLists.txt b/mem/CMakeLists.txt
index e4b28c3..007a95b 100644
--- a/mem/CMakeLists.txt
+++ b/mem/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(mem) 3project(mem)
4 4
diff --git a/mempool/CMakeLists.txt b/mempool/CMakeLists.txt
index 8c9dd30..31ff0e1 100644
--- a/mempool/CMakeLists.txt
+++ b/mempool/CMakeLists.txt
@@ -1,7 +1,11 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(mempool) 3project(mempool)
4 4
5set(CMAKE_C_STANDARD 23)
6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_C_EXTENSIONS Off)
8
5# Library 9# Library
6 10
7add_library(mempool 11add_library(mempool
diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt
index 0cfadc1..58b956e 100644
--- a/plugin/CMakeLists.txt
+++ b/plugin/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(plugin) 3project(plugin)
4 4
diff --git a/random/CMakeLists.txt b/random/CMakeLists.txt
index 188d16b..ad1b684 100644
--- a/random/CMakeLists.txt
+++ b/random/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(random) 3project(random)
4 4
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 102568c..c67f680 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,4 +1,4 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(test) 3project(test)
4 4
diff --git a/timer/CMakeLists.txt b/timer/CMakeLists.txt
index 6d8846a..717f70b 100644
--- a/timer/CMakeLists.txt
+++ b/timer/CMakeLists.txt
@@ -1,11 +1,11 @@
1cmake_minimum_required(VERSION 3.0) 1cmake_minimum_required(VERSION 3.5)
2 2
3project(timer) 3project(timer)
4 4
5# Library 5# Library
6 6
7set(SRC 7set(SRC
8 src/timer.c) 8 src/timer.c)
9 9
10add_library(timer ${SRC}) 10add_library(timer ${SRC})
11 11