winpthreads/CMakeLists.txt
2024-05-09 23:12:57 +03:00

9 lines
357 B
CMake

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
file(GLOB_RECURSE WIN_PTHREAD_SOURCE "${CMAKE_CURRENT_SOURCE_DIR}/*.c")
file(GLOB_RECURSE WIN_PTHREAD_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
add_library(winpthreads STATIC ${WIN_PTHREAD_SOURCE} ${WIN_PTHREAD_HEADER})
add_definitions(-D_DEBUG)
add_definitions(-D_CONSOLE)
add_definitions(-D_MBCS)