mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-24 02:16:03 +00:00
12 lines
410 B
CMake
12 lines
410 B
CMake
cmake_minimum_required(VERSION 3.28)
|
|
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_CXX_FLAGS_DEBUG "-Werror -Wall")
|
|
set(CMAKE_CXX_FLAGS_RELEASE "-O3") |