diff options
| author | ruki <[email protected]> | 2019-09-04 00:33:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2019-09-03 21:23:33 +0800 |
| commit | ca20eae2af926af38bd19a539bd919f4cd1439cd (patch) | |
| tree | 8a1a3214043a2759a569f3fa2fd80b14c7853483 /tests/projects/hybrid/static_library/src | |
| parent | 9f580d4e56f182c65b8402b7e4e5dd3e9c1612fd (diff) | |
add hybrid test project
Diffstat (limited to 'tests/projects/hybrid/static_library/src')
| -rw-r--r-- | tests/projects/hybrid/static_library/src/main.cpp | 10 | ||||
| -rw-r--r-- | tests/projects/hybrid/static_library/src/test.h | 12 | ||||
| -rw-r--r-- | tests/projects/hybrid/static_library/src/test1.c | 5 | ||||
| -rw-r--r-- | tests/projects/hybrid/static_library/src/test2.m | 5 | ||||
| -rw-r--r-- | tests/projects/hybrid/static_library/src/test3.mm | 5 | ||||
| -rw-r--r-- | tests/projects/hybrid/static_library/src/test4.cpp | 5 |
6 files changed, 42 insertions, 0 deletions
diff --git a/tests/projects/hybrid/static_library/src/main.cpp b/tests/projects/hybrid/static_library/src/main.cpp new file mode 100644 index 000000000..2750fcf2c --- /dev/null +++ b/tests/projects/hybrid/static_library/src/main.cpp @@ -0,0 +1,10 @@ +#include "test.h" + +int main(int argc, char** argv) +{ + test1(); + test2(); + test3(); + test4(); + return 0; +} diff --git a/tests/projects/hybrid/static_library/src/test.h b/tests/projects/hybrid/static_library/src/test.h new file mode 100644 index 000000000..3d4687d06 --- /dev/null +++ b/tests/projects/hybrid/static_library/src/test.h @@ -0,0 +1,12 @@ +#ifdef __cplusplus +extern "C" { +#endif + +void test1(void); +void test2(void); +void test3(void); +void test4(void); + +#ifdef __cplusplus +} +#endif diff --git a/tests/projects/hybrid/static_library/src/test1.c b/tests/projects/hybrid/static_library/src/test1.c new file mode 100644 index 000000000..8e0c1e021 --- /dev/null +++ b/tests/projects/hybrid/static_library/src/test1.c @@ -0,0 +1,5 @@ +#include "test.h" + +void test1() +{ +} diff --git a/tests/projects/hybrid/static_library/src/test2.m b/tests/projects/hybrid/static_library/src/test2.m new file mode 100644 index 000000000..2164a8bf5 --- /dev/null +++ b/tests/projects/hybrid/static_library/src/test2.m @@ -0,0 +1,5 @@ +#include "test.h" + +void test2() +{ +} diff --git a/tests/projects/hybrid/static_library/src/test3.mm b/tests/projects/hybrid/static_library/src/test3.mm new file mode 100644 index 000000000..ea33c33d5 --- /dev/null +++ b/tests/projects/hybrid/static_library/src/test3.mm @@ -0,0 +1,5 @@ +#include "test.h" + +void test3() +{ +} diff --git a/tests/projects/hybrid/static_library/src/test4.cpp b/tests/projects/hybrid/static_library/src/test4.cpp new file mode 100644 index 000000000..3cdf598a2 --- /dev/null +++ b/tests/projects/hybrid/static_library/src/test4.cpp @@ -0,0 +1,5 @@ +#include "test.h" + +void test4() +{ +} |
