build: extract CMake plugin/harness modules and add platform build scripts
Split CMakeLists.txt into cmake/Plugin.cmake (production formats and MinGW link flags) and cmake/Harness.cmake (console test harness with CTest registration). Add SERUMALT_BUILD_PLUGIN and SERUMALT_BUILD_TESTS options so production and harness builds are mutually exclusive and each omits the other's targets. Add build_linux.sh, build_macos.sh, and build_harness.sh with host validation, env-overridable build dirs, and explicit option flags. Rewrite build_windows.sh to use the checked-in mingw64-toolchain.cmake instead of regenerating it, validate all required tools, and stage with cmake -E copy_directory. Broaden .gitignore to cover all build_*/ directories.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# ---------------------------------------------------------------------------
|
||||
# Headless QA harness (console app that drives the processor and checks output)
|
||||
# ---------------------------------------------------------------------------
|
||||
juce_add_console_app(SerumAltTest)
|
||||
serumalt_configure_target(SerumAltTest)
|
||||
target_sources(SerumAltTest PRIVATE Source/Tests/TestMain.cpp)
|
||||
add_test(NAME SerumAltTest COMMAND SerumAltTest)
|
||||
Reference in New Issue
Block a user