We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b919d9 commit a8eba13Copy full SHA for a8eba13
iocp4linux/CMakeLists.txt
@@ -1,3 +1,7 @@
1
2
add_library(iocp4linux src/iocp.cpp include/iocp.h src/io_uring_operation_allocator.hpp src/wsa.cpp)
3
target_include_directories(iocp4linux PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
4
+
5
+if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
6
+ target_compile_options(iocp4linux PRIVATE -ffunction-sections)
7
+endif()
0 commit comments