1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

CMake: Add support for building JUCE projects with CMake

This commit is contained in:
reuk 2019-09-15 20:37:25 +01:00
parent 1fdba480cc
commit ece5644a20
149 changed files with 9921 additions and 3693 deletions

35
examples/CMakeLists.txt Normal file
View file

@ -0,0 +1,35 @@
# ==============================================================================
#
# 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.
#
# ==============================================================================
add_subdirectory(CMake)
add_subdirectory(DemoRunner)
function(_juce_add_pips)
file(GLOB_RECURSE headers
CONFIGURE_DEPENDS LIST_DIRECTORIES false
"${CMAKE_CURRENT_SOURCE_DIR}/*.h")
foreach(header IN ITEMS ${headers})
juce_add_pip(${header})
endforeach()
endfunction()
add_subdirectory(Audio)
add_subdirectory(BLOCKS)
add_subdirectory(DSP)
add_subdirectory(GUI)
add_subdirectory(Plugins)
add_subdirectory(Utilities)