summaryrefslogtreecommitdiff
path: root/src/pal/tests/palsuite/threading/CreateProcessA/test1/CMakeLists.txt
blob: 67e53edccdfeed113942508d00946e3bc4958dd1 (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
  parentProcess.c
)

add_executable(paltest_createprocessa_test1
  ${TESTSOURCES}
)

add_dependencies(paltest_createprocessa_test1 coreclrpal)

target_link_libraries(paltest_createprocessa_test1
  pthread
  m
  coreclrpal
)


set(HELPERSOURCES
  childProcess.c
)

add_executable(paltest_createprocessa_test1_child
  ${HELPERSOURCES}
)

add_dependencies(paltest_createprocessa_test1_child coreclrpal)

target_link_libraries(paltest_createprocessa_test1_child
  pthread
  m
  coreclrpal
)