aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-09-16 08:53:52 -0700
committer3gg <3gg@shellblade.net>2024-09-16 08:53:52 -0700
commitac801fb439abe3897d2a5156e3d87c8aeb589bd4 (patch)
treec73e30ca9c1343ff4e58c1b88c5ba07977f35cae
parentb540364f3842fe6ea41a908c905e12e4458e4fef (diff)
Set C standard version.
-rw-r--r--cstring/CMakeLists.txt4
-rw-r--r--error/CMakeLists.txt4
-rw-r--r--filesystem/CMakeLists.txt4
-rw-r--r--list/CMakeLists.txt4
-rw-r--r--mem/CMakeLists.txt4
-rw-r--r--plugin/CMakeLists.txt4
-rw-r--r--random/CMakeLists.txt4
-rw-r--r--timer/CMakeLists.txt4
8 files changed, 32 insertions, 0 deletions
diff --git a/cstring/CMakeLists.txt b/cstring/CMakeLists.txt
index 1d1dfe4..99cc081 100644
--- a/cstring/CMakeLists.txt
+++ b/cstring/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5)
2 2
3project(cstring) 3project(cstring)
4 4
5set(CMAKE_C_STANDARD 23)
6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_C_EXTENSIONS Off)
8
5add_library(cstring 9add_library(cstring
6 src/cstring.c) 10 src/cstring.c)
7 11
diff --git a/error/CMakeLists.txt b/error/CMakeLists.txt
index 7d7d03b..fbbc945 100644
--- a/error/CMakeLists.txt
+++ b/error/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5)
2 2
3project(error) 3project(error)
4 4
5set(CMAKE_C_STANDARD 23)
6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_C_EXTENSIONS Off)
8
5add_library(error 9add_library(error
6 src/error.c) 10 src/error.c)
7 11
diff --git a/filesystem/CMakeLists.txt b/filesystem/CMakeLists.txt
index 07cfdc4..508f99d 100644
--- a/filesystem/CMakeLists.txt
+++ b/filesystem/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5)
2 2
3project(filesystem) 3project(filesystem)
4 4
5set(CMAKE_C_STANDARD 23)
6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_C_EXTENSIONS Off)
8
5add_library(filesystem 9add_library(filesystem
6 src/filesystem.c 10 src/filesystem.c
7 src/path.c) 11 src/path.c)
diff --git a/list/CMakeLists.txt b/list/CMakeLists.txt
index 5e335cc..7e1df38 100644
--- a/list/CMakeLists.txt
+++ b/list/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5)
2 2
3project(list) 3project(list)
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(list INTERFACE) 11add_library(list INTERFACE)
diff --git a/mem/CMakeLists.txt b/mem/CMakeLists.txt
index 007a95b..89bf444 100644
--- a/mem/CMakeLists.txt
+++ b/mem/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5)
2 2
3project(mem) 3project(mem)
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(mem 11add_library(mem
diff --git a/plugin/CMakeLists.txt b/plugin/CMakeLists.txt
index 58b956e..f2745b2 100644
--- a/plugin/CMakeLists.txt
+++ b/plugin/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5)
2 2
3project(plugin) 3project(plugin)
4 4
5set(CMAKE_C_STANDARD 23)
6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_C_EXTENSIONS Off)
8
5add_library(plugin 9add_library(plugin
6 src/plugin.c) 10 src/plugin.c)
7 11
diff --git a/random/CMakeLists.txt b/random/CMakeLists.txt
index ad1b684..3c4b2dc 100644
--- a/random/CMakeLists.txt
+++ b/random/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5)
2 2
3project(random) 3project(random)
4 4
5set(CMAKE_C_STANDARD 23)
6set(CMAKE_C_STANDARD_REQUIRED On)
7set(CMAKE_C_EXTENSIONS Off)
8
5add_library(random 9add_library(random
6 src/mt19937-64.c 10 src/mt19937-64.c
7 src/normal.c) 11 src/normal.c)
diff --git a/timer/CMakeLists.txt b/timer/CMakeLists.txt
index 717f70b..fb300a0 100644
--- a/timer/CMakeLists.txt
+++ b/timer/CMakeLists.txt
@@ -2,6 +2,10 @@ cmake_minimum_required(VERSION 3.5)
2 2
3project(timer) 3project(timer)
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
7set(SRC 11set(SRC