2012-05-29 14:14:26 -04:00
|
|
|
# WinPR: Windows Portable Runtime
|
|
|
|
# libwinpr-synch cmake build script
|
|
|
|
#
|
2012-09-18 12:57:19 -04:00
|
|
|
# Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
2012-05-29 14:14:26 -04:00
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
2014-07-10 00:03:20 +02:00
|
|
|
winpr_module_add(
|
2012-09-18 15:51:33 -04:00
|
|
|
address.c
|
2012-09-18 12:57:19 -04:00
|
|
|
barrier.c
|
2012-05-29 14:14:26 -04:00
|
|
|
critical.c
|
|
|
|
event.c
|
2012-09-18 15:51:33 -04:00
|
|
|
init.c
|
2012-05-29 14:14:26 -04:00
|
|
|
mutex.c
|
2021-03-16 15:15:13 +01:00
|
|
|
pollset.c
|
|
|
|
pollset.h
|
2012-05-29 14:14:26 -04:00
|
|
|
semaphore.c
|
2012-09-18 12:57:19 -04:00
|
|
|
sleep.c
|
|
|
|
synch.h
|
2012-09-18 15:51:33 -04:00
|
|
|
timer.c
|
2012-09-18 12:57:19 -04:00
|
|
|
wait.c)
|
2012-05-29 14:14:26 -04:00
|
|
|
|
2018-05-01 23:42:25 -05:00
|
|
|
if(FREEBSD)
|
|
|
|
winpr_include_directory_add(${EPOLLSHIM_INCLUDE_DIR})
|
2019-03-15 11:36:24 +01:00
|
|
|
winpr_library_add_private(${EPOLLSHIM_LIBS})
|
2018-05-01 23:42:25 -05:00
|
|
|
endif()
|
|
|
|
|
2013-08-07 10:20:04 +02:00
|
|
|
if(BUILD_TESTING)
|
|
|
|
add_subdirectory(test)
|
|
|
|
endif()
|