2020-06-10 00:30:01 +03:00
|
|
|
#Copyright (C) Microsoft Corporation. All rights reserved.
|
|
|
|
|
|
|
|
set(pal_win32_h_files
|
2020-07-09 02:34:27 +03:00
|
|
|
${pal_common_h_files}
|
2020-06-10 00:30:01 +03:00
|
|
|
inc/execution_engine_win32.h
|
|
|
|
inc/refcount_os.h
|
|
|
|
)
|
|
|
|
|
|
|
|
set(pal_win32_c_files
|
2020-07-09 02:34:27 +03:00
|
|
|
${pal_common_c_files}
|
2020-06-10 00:30:01 +03:00
|
|
|
src/execution_engine_win32.c
|
|
|
|
src/async_socket_win32.c
|
|
|
|
src/threadpool_win32.c
|
|
|
|
src/lock_win32.c
|
|
|
|
src/interlocked_win32.c
|
|
|
|
src/interlocked_hl_win32.c
|
|
|
|
src/platform_win32.c
|
|
|
|
src/threadapi_win32.c
|
|
|
|
src/uniqueid_win32.c
|
|
|
|
src/srw_lock_win32.c
|
|
|
|
src/string_utils.c
|
|
|
|
src/timer.c
|
2020-06-17 20:47:56 +03:00
|
|
|
src/sync_win32.c
|
2020-07-01 02:59:29 +03:00
|
|
|
src/file_win32.c
|
2020-06-10 00:30:01 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
FILE(GLOB pal_win32_md_files "devdoc/*.md")
|
2020-07-09 21:52:12 +03:00
|
|
|
SOURCE_GROUP(devdoc FILES ${pal_win32_md_files} ${pal_common_md_files})
|
2020-06-10 00:30:01 +03:00
|
|
|
|
|
|
|
include_directories(${CMAKE_CURRENT_LIST_DIR}/inc)
|
2020-07-09 02:34:27 +03:00
|
|
|
include_directories(../common/inc)
|
2020-06-10 00:30:01 +03:00
|
|
|
|
2020-07-09 21:52:12 +03:00
|
|
|
add_library(pal_win32 ${pal_win32_h_files} ${pal_win32_c_files} ${pal_win32_md_files} ${pal_common_md_files})
|
2020-07-09 02:34:27 +03:00
|
|
|
target_link_libraries(pal_win32 pal_interfaces pal_internal ws2_32 synchronization rpcrt4 azure_c_logging)
|
2020-06-10 00:30:01 +03:00
|
|
|
target_include_directories(pal_win32 PUBLIC ${CMAKE_CURRENT_LIST_DIR}/inc)
|
|
|
|
|
|
|
|
add_subdirectory(tests)
|
2020-07-09 02:34:27 +03:00
|
|
|
add_subdirectory(../common/tests common/tests)
|