Commit d0123440 authored by Niklas Haas's avatar Niklas Haas
Browse files

demos: install `plplay` if demos are enabled

This is a useful enough tool that I think installing it makes sense.
(Unlike the other demos)

People that don't want it can still disable the `demos` build option.
parent 34decaab
...@@ -110,7 +110,10 @@ else ...@@ -110,7 +110,10 @@ else
if nuklear_found if nuklear_found
plplay_deps += nuklear plplay_deps += nuklear
endif endif
executable('plplay', 'plplay.c', dependencies: plplay_deps) executable('plplay', 'plplay.c',
dependencies: plplay_deps,
install: true,
)
endif endif
if nuklear_found if nuklear_found
......
...@@ -22,7 +22,7 @@ option('lcms', type: 'feature', value: 'auto', ...@@ -22,7 +22,7 @@ option('lcms', type: 'feature', value: 'auto',
# Miscellaneous # Miscellaneous
option('demos', type: 'boolean', value: true, option('demos', type: 'boolean', value: true,
description: 'Enable building demo programs') description: 'Enable building (and installing) the demo programs')
option('tests', type: 'boolean', value: false, option('tests', type: 'boolean', value: false,
description: 'Enable building the test cases') description: 'Enable building the test cases')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment