2014-01-20 07:58:58 -08:00
|
|
|
project(w32-pthreads)
|
|
|
|
|
|
|
|
add_definitions(-D__CLEANUP_C)
|
|
|
|
add_definitions(-DPTW32_BUILD)
|
|
|
|
|
|
|
|
set(w32-pthreads_SOURCES
|
|
|
|
pthread.c)
|
|
|
|
|
|
|
|
set(w32-pthreads_HEADERS
|
|
|
|
implement.h
|
|
|
|
pthread.h
|
|
|
|
sched.h
|
|
|
|
semaphore.h)
|
|
|
|
|
2014-04-19 21:08:38 -07:00
|
|
|
add_library(w32-pthreads SHARED
|
2014-01-20 07:58:58 -08:00
|
|
|
${w32-pthreads_SOURCES}
|
|
|
|
${w32-pthreads_HEADERS})
|
|
|
|
target_link_libraries(w32-pthreads)
|
2014-04-19 20:33:45 -07:00
|
|
|
|
|
|
|
install_obs_core(w32-pthreads)
|