1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00
SqMod/vendor/ConcurrentQueue/CMakeLists.txt

13 lines
478 B
CMake
Raw Normal View History

2020-09-04 22:51:14 +02:00
# Create the ConcurrentQueue library
add_library(ConcurrentQueue STATIC
include/concurrentqueue.h
include/lightweightsemaphore.h
include/blockingconcurrentqueue.h
concurrentqueue.cpp
)
# Configure include folders
target_include_directories(ConcurrentQueue PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_include_directories(ConcurrentQueue PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include)
# Configure macro options
target_compile_definitions(ConcurrentQueue PRIVATE _WIN32_WINNT=0x0601)