Files
DataPath/samples/single-process-ipc/CMakeLists.txt
T
Michael Fabian 'Xaymar' Dirks d6e6ec96c4 windows: Rewrite onto IOCompletionPorts
IOCompletionPorts are the modern way to handle asynchronous IO without affected the system too much. Synchronization, work allocation and spreading, etc is all handled by the OS for us, which reduces the work we have to do in order to be NUMA aware. While this is far from perfect, it should perform better than a naive threaded approach.

ToDo:
- Add documentation generation
- Add Github Actions integration
- Write tests for everything.
- Update 'benchmark' sample to work again.
- Figure out a useful way to deal with connect/disconnect/error events.
- Figure out the broken pipe error, caused by an additional connected event where none should have been.
2020-06-22 00:43:06 +02:00

26 lines
359 B
CMake

cmake_minimum_required(VERSION 3.5)
project(sample_single-process-ipc)
SET(PROJECT_SOURCES
"${PROJECT_SOURCE_DIR}/main.cpp"
)
SET(PROJECT_LIBRARIES
DataPath
)
# Includes
include_directories(
${PROJECT_SOURCE_DIR}
)
# Building
ADD_EXECUTABLE(${PROJECT_NAME}
${PROJECT_SOURCES}
)
# Linking
TARGET_LINK_LIBRARIES(${PROJECT_NAME}
${PROJECT_LIBRARIES}
)