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/graphics.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/graphics.cpp')
| -rwxr-xr-x | tests/projects/package/components/src/graphics.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/projects/package/components/src/graphics.cpp b/tests/projects/package/components/src/graphics.cpp new file mode 100755 index 000000000..bc081a517 --- /dev/null +++ b/tests/projects/package/components/src/graphics.cpp @@ -0,0 +1,8 @@ +#include <SFML/Graphics.hpp> + +extern "C" { +void graphics() { + sf::Text text; + text.setString("Hello world"); +} +} |
