20 lines
435 B
CMake
20 lines
435 B
CMake
cmake_minimum_required(VERSION 3.11) # FetchContent
|
|
|
|
project(fifo_ipc)
|
|
|
|
if (NOT DEFINED OPTCON_LOCAL_BUILD)
|
|
include(FetchContent)
|
|
FetchContent_Declare(
|
|
fmt
|
|
GIT_REPOSITORY https://github.com/fmtlib/fmt
|
|
GIT_TAG 123913715afeb8a437e6388b4473fcc4753e1c9a # 11.1.4
|
|
)
|
|
|
|
FetchContent_MakeAvailable(fmt)
|
|
endif()
|
|
|
|
add_compile_options(-Wall -Wextra -Wpedantic)
|
|
|
|
add_subdirectory(src)
|
|
add_subdirectory(test)
|