summaryrefslogtreecommitdiff
path: root/src/jthread/CMakeLists.txt
blob: cebb35caa69caf98d40eb7c232e398754ca6fe8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if(UNIX)
	set(THREAD_SYS_DIR pthread)
else()
	set(THREAD_SYS_DIR win32)
endif()

set(SRC_PREFIX ${CMAKE_CURRENT_SOURCE_DIR}/${THREAD_SYS_DIR})
set(JTHREAD_SRCS
	${SRC_PREFIX}/jmutex.cpp
	${SRC_PREFIX}/jthread.cpp
	${SRC_PREFIX}/jsemaphore.cpp
	${SRC_PREFIX}/jevent.cpp
	PARENT_SCOPE)