summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/threading/GetExitCodeProcess/test1/CMakeLists.txt
blob: 1ef9db22990f9c167ce550c8b79cef179e3e3644 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
cmake_minimum_required(VERSION 2.8.12.2)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(TESTSOURCES
  test1.cpp
)

add_executable(paltest_getexitcodeprocess_test1
  ${TESTSOURCES}
)

add_dependencies(paltest_getexitcodeprocess_test1 coreclrpal)

target_link_libraries(paltest_getexitcodeprocess_test1
  pthread
  m
  coreclrpal
)


set(HELPERSOURCES
  childProcess.cpp
)

add_executable(paltest_getexitcodeprocess_test1_child
  ${HELPERSOURCES}
)

add_dependencies(paltest_getexitcodeprocess_test1_child coreclrpal)

target_link_libraries(paltest_getexitcodeprocess_test1_child
  pthread
  m
  coreclrpal
)