mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
36 lines
1.1 KiB
CMake
36 lines
1.1 KiB
CMake
# ==============================================================================
|
|
#
|
|
# This file is part of the JUCE 6 technical preview.
|
|
# Copyright (c) 2020 - ROLI Ltd.
|
|
#
|
|
# You may use this code under the terms of the GPL v3
|
|
# (see www.gnu.org/licenses).
|
|
#
|
|
# For this technical preview, this file is not subject to commercial licensing.
|
|
#
|
|
# JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
|
|
# EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
|
|
# DISCLAIMED.
|
|
#
|
|
# ==============================================================================
|
|
|
|
juce_add_console_app(UnitTestRunner)
|
|
|
|
juce_generate_juce_header(UnitTestRunner)
|
|
|
|
target_sources(UnitTestRunner PRIVATE Source/Main.cpp)
|
|
|
|
target_compile_definitions(UnitTestRunner PRIVATE
|
|
JUCE_UNIT_TESTS=1
|
|
JUCE_USE_CURL=0
|
|
JUCE_WEB_BROWSER=0)
|
|
|
|
target_link_libraries(UnitTestRunner PRIVATE
|
|
juce::juce_analytics
|
|
juce::juce_audio_utils
|
|
juce::juce_blocks_basics
|
|
juce::juce_dsp
|
|
juce::juce_opengl
|
|
juce::juce_osc
|
|
juce::juce_product_unlocking
|
|
juce::juce_video)
|