-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCMakeLists.txt
61 lines (59 loc) · 1.75 KB
/
CMakeLists.txt
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# src/Beman/Execution26/tests/CMakeLists.txt
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
list(APPEND execution_tests
exec-get-stop-token.pass
exec-get-allocator.pass
exec-fwd-env.pass
exec-opstate.pass
exec-opstate-start.pass
allocator-requirements-general.pass
exec-general.pass
exec-utils-cmplsigs.pass
functional-syn.pass
exec-recv.pass
execution-queryable-concept.pass
exec-get-env.pass
exec-set-stopped.pass
exec-set-error.pass
exec-set-value.pass
utilities.pass
function-objects.pass
thread.pass
thread-stoptoken.pass
thread-stoptoken-intro.pass
thread-stoptoken-syn.compile.pass
stoptoken-concepts.pass
stoptoken.pass
stoptoken-general.pass
stoptoken-mem.pass
stopsource.pass
stopsource-general.pass
stopsource-cons.pass
stopsource-mem.pass
stopcallback.pass
stopcallback-general.pass
stopcallback-cons.pass
stoptoken-never.pass
stoptoken-never-general.pass
stoptoken-inplace.pass
stoptoken-inplace-general.pass
stoptoken-inplace-members.pass
stopsource-inplace.pass
stopsource-inplace-general.pass
stopsource-inplace-cons.pass
stopsource-inplace-mem.pass
stopcallback-inplace.pass
stopcallback-inplace-general.pass
stopcallback-inplace-cons.pass
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../../include)
foreach(test ${execution_tests})
add_executable(${test} ${test}.cpp)
target_include_directories(
"${test}"
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/../../../../include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/${CMAKE_LOWER_PROJECT_NAME}>
)
add_test(NAME ${test} COMMAND $<TARGET_FILE:${test}>)
endforeach()