Mercurial > pub > dyncall > dyncall
annotate test/CMakeLists.txt @ 356:2f64957d6a46
- fix to dynload to build with musl libc (latter has dlinfo but not RTLD_SELF, so fallback to dl_iterate_phdr if on ELF targets)
author | Tassilo Philipp |
---|---|
date | Tue, 25 Feb 2020 16:07:45 +0100 |
parents | 0592eb360af2 |
children | 0c68b3f91367 |
rev | line source |
---|---|
0 | 1 include_directories( |
2 ${PROJECT_SOURCE_DIR}/dynload | |
3 ${PROJECT_SOURCE_DIR}/dyncall | |
4 ${PROJECT_SOURCE_DIR}/dyncallback | |
5 ) | |
149
c12120a1fbc0
- make cmake based builds work on systems without a C++ compiler (thanks Franklin Mathieu)
cslag
parents:
4
diff
changeset
|
6 |
c12120a1fbc0
- make cmake based builds work on systems without a C++ compiler (thanks Franklin Mathieu)
cslag
parents:
4
diff
changeset
|
7 if (CMAKE_CXX_COMPILER_WORKS) |
0 | 8 add_subdirectory(plain_c++) |
4
e1706ad13e9e
added CMakeLists.txt for tests (call_suite and resolveself)
dadler
parents:
0
diff
changeset
|
9 add_subdirectory(suite2) |
0 | 10 add_subdirectory(suite3) |
11 add_subdirectory(suite_floats) | |
4
e1706ad13e9e
added CMakeLists.txt for tests (call_suite and resolveself)
dadler
parents:
0
diff
changeset
|
12 add_subdirectory(ellipsis) |
149
c12120a1fbc0
- make cmake based builds work on systems without a C++ compiler (thanks Franklin Mathieu)
cslag
parents:
4
diff
changeset
|
13 endif () |
c12120a1fbc0
- make cmake based builds work on systems without a C++ compiler (thanks Franklin Mathieu)
cslag
parents:
4
diff
changeset
|
14 |
c12120a1fbc0
- make cmake based builds work on systems without a C++ compiler (thanks Franklin Mathieu)
cslag
parents:
4
diff
changeset
|
15 add_subdirectory(call_suite) |
c12120a1fbc0
- make cmake based builds work on systems without a C++ compiler (thanks Franklin Mathieu)
cslag
parents:
4
diff
changeset
|
16 add_subdirectory(callback_suite) |
c12120a1fbc0
- make cmake based builds work on systems without a C++ compiler (thanks Franklin Mathieu)
cslag
parents:
4
diff
changeset
|
17 add_subdirectory(plain) |
c12120a1fbc0
- make cmake based builds work on systems without a C++ compiler (thanks Franklin Mathieu)
cslag
parents:
4
diff
changeset
|
18 add_subdirectory(suite) |
4
e1706ad13e9e
added CMakeLists.txt for tests (call_suite and resolveself)
dadler
parents:
0
diff
changeset
|
19 add_subdirectory(callf) |
e1706ad13e9e
added CMakeLists.txt for tests (call_suite and resolveself)
dadler
parents:
0
diff
changeset
|
20 add_subdirectory(nm) |
214 | 21 add_subdirectory(dynload_plain) |
4
e1706ad13e9e
added CMakeLists.txt for tests (call_suite and resolveself)
dadler
parents:
0
diff
changeset
|
22 add_subdirectory(resolve_self) |
0 | 23 add_subdirectory(thunk) |
24 add_subdirectory(malloc_wx) | |
25 add_subdirectory(callback_plain) | |
26 add_subdirectory(sharedlib) | |
27 | |
149
c12120a1fbc0
- make cmake based builds work on systems without a C++ compiler (thanks Franklin Mathieu)
cslag
parents:
4
diff
changeset
|
28 if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86" AND CMAKE_CXX_COMPILER_WORKS) |
0 | 29 add_subdirectory(suite_x86win32fast) |
30 add_subdirectory(suite_x86win32std) | |
31 add_subdirectory(suite2_x86win32fast) | |
32 add_subdirectory(suite2_x86win32std) | |
33 endif() | |
34 | |
35 if(${UNIX}) | |
36 add_subdirectory(syscall) | |
37 endif() | |
38 |