mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-24 02:16:03 +00:00
c9e1a63378
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Waiting to run
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Failing after 58s
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Failing after 9s
13 lines
433 B
CMake
13 lines
433 B
CMake
cmake_minimum_required(VERSION 3.27)
|
|
project(clay_examples_cpp_project_example CXX)
|
|
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fno-omit-frame-pointer -g")
|
|
|
|
add_executable(clay_examples_cpp_project_example main.cpp)
|
|
|
|
target_include_directories(clay_examples_cpp_project_example PUBLIC .)
|
|
|
|
set(CMAKE_C_FLAGS_DEBUG "-Werror -Wall -Wno-error=missing-braces")
|
|
set(CMAKE_C_FLAGS_RELEASE "-O3")
|