Created
July 4, 2021 18:47
-
-
Save cfanatic/d5169df2aad3eb25d0bede7a9e90a9bb to your computer and use it in GitHub Desktop.
Non-blocking FIFO process
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.18) | |
project(fifo) | |
set(CMAKE_CXX_STANDARD 11) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pthread") | |
find_package(Boost 1.74.0 COMPONENTS iostreams system) | |
include_directories(${Boost_INCLUDE_DIR}) | |
add_executable(fifo fifo.cpp) | |
target_link_libraries(fifo ${Boost_LIBRARIES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment