Full rewrite of all CMakeLists

CMake now works on all platforms
This commit is contained in:
BtbN
2014-01-20 16:58:58 +01:00
parent 8fa309c96e
commit 45ec80fb7d
48 changed files with 2069 additions and 43 deletions

19
deps/w32-pthreads/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,19 @@
project(w32-pthreads)
add_definitions(-D__CLEANUP_C)
add_definitions(-DPTW32_BUILD)
add_definitions(-DPTW32_STATIC_LIB)
set(w32-pthreads_SOURCES
pthread.c)
set(w32-pthreads_HEADERS
implement.h
pthread.h
sched.h
semaphore.h)
add_library(w32-pthreads STATIC
${w32-pthreads_SOURCES}
${w32-pthreads_HEADERS})
target_link_libraries(w32-pthreads)