ringbuffer/CMakeLists.txt

14 lines
268 B
CMake
Raw Normal View History

2023-04-08 22:35:17 +08:00
cmake_minimum_required(VERSION 3.14)
project(ringbuffer LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_library(ringbuffer STATIC
ringbuffer.cpp
ringbuffer.h
)
target_compile_definitions(ringbuffer PRIVATE RINGBUFFER_LIBRARY)