diff options
author | 3gg <3gg@shellblade.net> | 2025-07-02 08:57:16 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2025-07-02 08:57:16 -0700 |
commit | e386405ac636b7e4a41d5c03eb363e9c120ce919 (patch) | |
tree | dc742fa2c2e8d677936657f225042bc430ac4280 /CMakeLists.txt | |
parent | dba3ce51eeab2485f757143ab7560e89590824b8 (diff) |
Set C23
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 78e5733..4b1ba6a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -1,10 +1,4 @@ | |||
1 | cmake_minimum_required(VERSION 3.0) | 1 | cmake_minimum_required(VERSION 3.5) |
2 | |||
3 | set(CMAKE_C_STANDARD 23) | ||
4 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
5 | set(CMAKE_C_EXTENSIONS Off) | ||
6 | |||
7 | include(cmake/shader.txt) | ||
8 | 2 | ||
9 | add_subdirectory(contrib/cgltf) | 3 | add_subdirectory(contrib/cgltf) |
10 | add_subdirectory(contrib/cgltf-tangents) | 4 | add_subdirectory(contrib/cgltf-tangents) |
@@ -14,6 +8,12 @@ add_subdirectory(app) | |||
14 | 8 | ||
15 | project(gfx) | 9 | project(gfx) |
16 | 10 | ||
11 | include(cmake/shader.txt) | ||
12 | |||
13 | set(CMAKE_C_STANDARD 23) | ||
14 | set(CMAKE_C_STANDARD_REQUIRED On) | ||
15 | set(CMAKE_C_EXTENSIONS Off) | ||
16 | |||
17 | add_shader_library(shaders | 17 | add_shader_library(shaders |
18 | shaders/brdf_integration_map.frag | 18 | shaders/brdf_integration_map.frag |
19 | shaders/cook_torrance.frag | 19 | shaders/cook_torrance.frag |