infra: move the examples folder outside of the source directory.

examples are not considered a feature of ThorVG;
hence, they are excluded from the src directory.

This change allows developers to concentrate more effectively
on the core ThorVG sources for practical usages.
This commit is contained in:
Hermet Park 2024-03-31 12:48:32 +09:00
parent c943b6caa9
commit 26e04611e6
267 changed files with 9 additions and 8 deletions

View file

@ -13,6 +13,6 @@
/src/loaders/webp/ @JSUYA /src/loaders/webp/ @JSUYA
/src/savers/gif/ @JSUYA /src/savers/gif/ @JSUYA
/src/tools/svg2png/ @JSUYA /src/tools/svg2png/ @JSUYA
/src/examples/ @JSUYA @RuiwenTang @SergeyLebedkin @tinyjin @mgrudzinska /examples/ @JSUYA @RuiwenTang @SergeyLebedkin @tinyjin @mgrudzinska
/test/* @JSUYA @RuiwenTang @SergeyLebedkin @tinyjin @mgrudzinska /test/* @JSUYA @RuiwenTang @SergeyLebedkin @tinyjin @mgrudzinska
/web/* @tinyjin /web/* @tinyjin

View file

@ -172,7 +172,7 @@ void transitGlCb(Elm_Transit_Effect *effect, Elm_Transit* transit, double progre
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
tvg::CanvasEngine tvgEngine = tvg::CanvasEngine::Sw; auto tvgEngine = tvg::CanvasEngine::Sw;
if (argc > 1) { if (argc > 1) {
if (!strcmp(argv[1], "gl")) tvgEngine = tvg::CanvasEngine::Gl; if (!strcmp(argv[1], "gl")) tvgEngine = tvg::CanvasEngine::Gl;

View file

@ -91,6 +91,6 @@ if get_option('bindings').contains('capi') == true
endforeach endforeach
endif endif
execute_all_src = join_paths(meson.source_root(), 'src/examples/all.sh') execute_all_src = join_paths(meson.source_root(), 'examples/all.sh')
execute_all_dst = join_paths(meson.build_root(), 'src/examples/all.sh') execute_all_dst = join_paths(meson.build_root(), 'examples/all.sh')
run_command('cp', execute_all_src, execute_all_dst, check: true) run_command('cp', execute_all_src, execute_all_dst, check: true)

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 310 KiB

After

Width:  |  Height:  |  Size: 310 KiB

View file

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View file

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View file

Before

Width:  |  Height:  |  Size: 399 KiB

After

Width:  |  Height:  |  Size: 399 KiB

View file

Before

Width:  |  Height:  |  Size: 450 KiB

After

Width:  |  Height:  |  Size: 450 KiB

View file

Before

Width:  |  Height:  |  Size: 426 KiB

After

Width:  |  Height:  |  Size: 426 KiB

Some files were not shown because too many files have changed in this diff Show more