The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2KB

  1. # ==============================================================================
  2. #
  3. # This file is part of the JUCE 6 technical preview.
  4. # Copyright (c) 2020 - Raw Material Software Limited
  5. #
  6. # You may use this code under the terms of the GPL v3
  7. # (see www.gnu.org/licenses).
  8. #
  9. # For this technical preview, this file is not subject to commercial licensing.
  10. #
  11. # JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  12. # EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  13. # DISCLAIMED.
  14. #
  15. # ==============================================================================
  16. juce_add_console_app(UnitTestRunner)
  17. juce_generate_juce_header(UnitTestRunner)
  18. target_sources(UnitTestRunner PRIVATE Source/Main.cpp)
  19. target_compile_definitions(UnitTestRunner PRIVATE
  20. JUCE_UNIT_TESTS=1
  21. JUCE_USE_CURL=0
  22. JUCE_WEB_BROWSER=0)
  23. target_link_libraries(UnitTestRunner PRIVATE
  24. juce::juce_analytics
  25. juce::juce_audio_utils
  26. juce::juce_blocks_basics
  27. juce::juce_dsp
  28. juce::juce_opengl
  29. juce::juce_osc
  30. juce::juce_product_unlocking
  31. juce::juce_video
  32. juce::juce_recommended_config_flags
  33. juce::juce_recommended_lto_flags
  34. juce::juce_recommended_warning_flags)