2012-09-18 03:17:19 +04:00
|
|
|
# WinPR: Windows Portable Runtime
|
|
|
|
# libwinpr-thread cmake build script
|
|
|
|
#
|
|
|
|
# Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
|
|
|
|
#
|
|
|
|
# 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 02:03:20 +04:00
|
|
|
winpr_module_add(
|
2021-03-24 20:32:43 +03:00
|
|
|
apc.h
|
|
|
|
apc.c
|
2013-09-22 01:16:49 +04:00
|
|
|
argv.c
|
2012-09-18 23:51:33 +04:00
|
|
|
process.c
|
|
|
|
processor.c
|
|
|
|
thread.c
|
2012-12-13 07:03:40 +04:00
|
|
|
thread.h
|
2012-09-18 23:51:33 +04:00
|
|
|
tls.c)
|
2012-09-18 03:17:19 +04:00
|
|
|
|
|
|
|
if(${CMAKE_SYSTEM_NAME} MATCHES SunOS)
|
2019-03-15 13:36:24 +03:00
|
|
|
winpr_library_add_private(rt)
|
2012-09-18 03:17:19 +04:00
|
|
|
endif()
|
|
|
|
|
2013-09-22 01:16:49 +04:00
|
|
|
if(BUILD_TESTING)
|
|
|
|
add_subdirectory(test)
|
|
|
|
endif()
|