feat(process): add windows support to sleep function

This commit is contained in:
fallenoak 2023-03-03 12:54:27 -06:00 committed by GitHub
parent d817c41985
commit 3b5da1af9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 6 deletions

View file

@ -20,6 +20,15 @@ set(CMAKE_CXX_STANDARD 11)
include(lib/system/cmake/system.cmake)
# OS defines
if(WHOA_SYSTEM_WIN)
# Avoid win32 header hell
add_compile_definitions(
NOMINMAX
WIN32_LEAN_AND_MEAN
)
endif()
add_subdirectory(lib)
add_subdirectory(bc)
add_subdirectory(test)