summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/composite/synchronization/nativecs_interlocked/CMakeLists.txt
blob: c4567f638cc8b3ef7b31c128c4765594befd61c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cmake_minimum_required(VERSION 2.8.12.2)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(SOURCES
  interlocked.cpp
  mtx_critsect.cpp
  pal_composite_native_cs.c
  resultbuffer.cpp
)

add_executable(paltest_synchronization_nativecs_interlocked
  ${SOURCES}
)

add_dependencies(paltest_synchronization_nativecs_interlocked coreclrpal)

target_link_libraries(paltest_synchronization_nativecs_interlocked
  pthread
  m
  coreclrpal
)