aboutsummaryrefslogtreecommitdiff
path: root/src/jthread/CMakeLists.txt
blob: a581a3b024b82cb9d85ae95bb439a63eb33803fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if( UNIX )
	set(JTHREAD_SRCS
		${CMAKE_CURRENT_SOURCE_DIR}/pthread/jmutex.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/pthread/jthread.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/pthread/jsemaphore.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/pthread/jevent.cpp
		PARENT_SCOPE)
else( UNIX )
	set(JTHREAD_SRCS
		${CMAKE_CURRENT_SOURCE_DIR}/win32/jmutex.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/win32/jthread.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/win32/jsemaphore.cpp
		${CMAKE_CURRENT_SOURCE_DIR}/win32/jevent.cpp
		PARENT_SCOPE)
endif( UNIX )