diff --git a/CMakeIncludes/PGMPluginval.cmake b/CMakeIncludes/PGMPluginval.cmake index 8fda1f45..85bdf7f4 100644 --- a/CMakeIncludes/PGMPluginval.cmake +++ b/CMakeIncludes/PGMPluginval.cmake @@ -66,7 +66,9 @@ set (PLUGINVAL_SAMPLERATES "44100;44800;96000" CACHE STRING "list of samplerates set (PLUGINVAL_BLOCKSIZES "1;250;512" CACHE STRING "list of blocksizes to test in pluginval") -mark_as_advanced (PLUGINVAL_PROGRAM PLUGINVAL_STRICTNESS PLUGINVAL_REPEATS PLUGINVAL_SAMPLERATES PLUGINVAL_BLOCKSIZES) +set (PLUGINVAL_OUTPUT_DIR "${CMAKE_BINARY_DIR}/pluginval" CACHE PATH "Directory to write pluginval logs to") + +mark_as_advanced (PLUGINVAL_PROGRAM PLUGINVAL_STRICTNESS PLUGINVAL_REPEATS PLUGINVAL_SAMPLERATES PLUGINVAL_BLOCKSIZES PLUGINVAL_OUTPUT_DIR) # @@ -141,8 +143,10 @@ function (pgm_add_pluginval_tests pluginTarget) --strictness-level "${PLUGINVAL_STRICTNESS}" --sample-rates "${sample_rates}" --block-sizes "${block_sizes}" - --repeat "${PLUGINVAL_REPEATS}" --randomise - --validate "${plugin_artefact}") + --repeat "${PLUGINVAL_REPEATS}" + --validate "${plugin_artefact}" + --output-dir "${PLUGINVAL_OUTPUT_DIR}" + --randomise --verbose) message (VERBOSE "Added pluginval test for plugin target ${format_target}") diff --git a/CMakeLists.txt b/CMakeLists.txt index c7be5ed2..1928af7b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,6 +56,8 @@ set (CMAKE_CXX_STANDARD_REQUIRED ON) set (CMAKE_CXX_VISIBILITY_PRESET hidden) set (CMAKE_VISIBILITY_INLINES_HIDDEN ON) +set (BUILD_SHARED_LIBS OFF) + # universal binaries on Mac set (CMAKE_OSX_ARCHITECTURES "arm64;x86_64" CACHE STRING "Architectures to build on MacOS. Set to arm64\;x86_64 to build universal (fat) binaries, or just one of those for faster build times.")