diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-04-22 13:39:15 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2020-04-22 13:39:15 +0300 |
commit | d3afbce5fe3f63b47dba9b14057d0cbd018e513e (patch) | |
tree | 8a25a155e413113dd6a6d09f4a30f622921e6d43 /CMakeLists.txt | |
parent | 181e7310b40b574ba39ab411b93f87ecac689ed9 (diff) |
Port async pipe handle test over from resumable i/o branch
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4cbe6303..67ff41ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -291,7 +291,7 @@ int main() { endif() # Set any macros this library requires -all_compile_definitions(PRIVATE LLFIO_INCLUDE_STORAGE_PROFILE=1) +all_compile_definitions(PRIVATE LLFIO_INCLUDE_STORAGE_PROFILE=1 LLFIO_ENABLE_TEST_IO_MULTIPLEXERS=1) foreach(target ${llfio_EXAMPLE_TARGETS}) target_compile_definitions(${target} PRIVATE LLFIO_INCLUDE_STORAGE_PROFILE=1) endforeach() @@ -336,7 +336,7 @@ if(NOT PROJECT_IS_DEPENDENCY) include(QuickCppLibMakeStandardTests) # For each test target, set definitions and linkage foreach(target ${llfio_COMPILE_TEST_TARGETS} ${llfio_TEST_TARGETS}) - target_compile_definitions(${target} PRIVATE LLFIO_INCLUDE_STORAGE_PROFILE=1) + target_compile_definitions(${target} PRIVATE LLFIO_INCLUDE_STORAGE_PROFILE=1 $<$<PLATFORM_ID:Windows>:LLFIO_ENABLE_TEST_IO_MULTIPLEXERS=1>) endforeach() find_quickcpplib_library(kerneltest GIT_REPOSITORY "https://github.com/ned14/kerneltest.git" |