Skip to content

Commit

Permalink
feat: install examples for top level builds
Browse files Browse the repository at this point in the history
This might be useful for distribution packagers to provide example programs in their packages.

Signed-off-by: Sefa Eyeoglu <[email protected]>
  • Loading branch information
Scrumplex committed Sep 1, 2024
1 parent e2bae9d commit 8128eb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion examples/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8128eb6

Please sign in to comment.