clay/examples/clay-official-website/CMakeLists.txt
FintasticMan c4c88197db
[Examples/*] Don't error on missing-braces warning
GCC throws this warning. It's not an issue, but fixing it properly will
probably need API changes, so *temporarily* just disable the error.
2024-12-29 00:24:58 +00:00

12 lines
352 B
CMake

cmake_minimum_required(VERSION 3.27)
project(clay_official_website C)
set(CMAKE_C_STANDARD 99)
add_executable(clay_official_website main.c)
target_compile_options(clay_official_website PUBLIC -Wall -Werror -Wno-unknown-pragmas -Wno-error=missing-braces)
target_include_directories(clay_official_website PUBLIC .)
set(CMAKE_CXX_FLAGS_RELEASE "-O3")