diff options
| author | ruki <[email protected]> | 2022-10-20 11:20:37 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-20 11:20:37 +0800 |
| commit | 5e10a17b2602d756bb918b75ebb9d4fa3f9e47ea (patch) | |
| tree | e12a91a696b62f011113caae5907fe7be39b4b31 /tests/projects/package/components/src/main.cpp | |
| parent | e6affabd6e20bbb179fea1f315414142cef650e3 (diff) | |
| parent | 2183a9d1ac3d63351a36b5a855c7fce02405d374 (diff) | |
Merge pull request #2932 from xmake-io/components
Add package components support
Diffstat (limited to 'tests/projects/package/components/src/main.cpp')
| -rw-r--r-- | tests/projects/package/components/src/main.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/projects/package/components/src/main.cpp b/tests/projects/package/components/src/main.cpp new file mode 100644 index 000000000..bf0ad1553 --- /dev/null +++ b/tests/projects/package/components/src/main.cpp @@ -0,0 +1,14 @@ +#include <SFML/Graphics.hpp> +#include <SFML/Network.hpp> + +extern "C" { +void network(); +void graphics(); +} + +int main(int argc, char** argv) { + network(); + graphics(); + return 0; +} + |
