feat: install examples for top level builds (#233)

This might be useful for distribution packagers to provide example programs in their packages.

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2024-09-01 21:25:37 +02:00
committed by GitHub
parent e2bae9d559
commit 51e3475f38
2 changed files with 3 additions and 1 deletions

View File

@@ -294,6 +294,7 @@ UTF-8 decoding is performed using a state machine based on Bjoern Hoehrmann's '[
- **[@rbrugo](https://github.com/rbrugo)** - Helped design a new feature
- **[@Reedbeta](https://github.com/Reedbeta)** - Fixed a bug and added additional Visual Studio debugger native visualizers
- **[@Ryan-rsm-McKenzie](https://github.com/Ryan-rsm-McKenzie)** - Add natvis file to cmake install script
- **[@Scrumplex][https://github.com/Scrumplex)** - Tweaked the build scripts
- **[@shdnx](https://github.com/shdnx)** - Fixed a bug on GCC 8.2.0 and some meson config issues
- **[@sneves](https://github.com/sneves)** - Helped fix a number of parser bugs
- **[@sobczyk](https://github.com/sobczyk)** - Reported some bugs

View File

@@ -24,7 +24,8 @@ foreach example : examples
[ example + '.cpp' ],
cpp_args: example_args,
dependencies: tomlplusplus_dep,
override_options: global_overrides
override_options: global_overrides,
install: not is_subproject
)
]]
endforeach