surge-synthesizer / tuning-library

Micro-tuning format parsing and frequency finding as a header-only C+ library
https://surge-synth-team.org/tuning-library/
MIT License
84 stars 15 forks source link

Only build tests by default when the top-level project #53

Closed mvf closed 3 years ago

mvf commented 3 years ago

Removes these targets by default in Surge and Bespoke: image On CLion in particular, this increases the odds that the top-level app (e.g. BespokeSynth) becomes the default run target (instead of parsecheck).


This adds a build option TUNING_LIBRARY_BUILD_TESTS, which defaults to ON when the tuning library is the top-level project and to OFF when add_subdirectory'd from elsewhere, reducing IDE clutter in projects that use this library.