Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ffAudio committed Oct 7, 2024
1 parent d728fda commit 8d1a3ab
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions cmake/Juce.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#[[
Adding this include will add juce to your project
]]

include(FetchContent)

#Adds all the module sources so they appear correctly in the IDE
set_property(GLOBAL PROPERTY USE_FOLDERS YES)
option(JUCE_ENABLE_MODULE_SOURCE_GROUPS "Enable Module Source Groups" ON)

#set any of these to "ON" if you want to build one of the juce examples
#or extras (Projucer/AudioPluginHost, etc):
option(JUCE_BUILD_EXTRAS "Build JUCE Extras" OFF)
option(JUCE_BUILD_EXAMPLES "Build JUCE Examples" OFF)

FetchContent_Declare(juce
GIT_REPOSITORY https://github.com/juce-framework/JUCE.git
GIT_TAG 7.0.12
GIT_SHALLOW ON)

FetchContent_MakeAvailable(juce)

0 comments on commit 8d1a3ab

Please sign in to comment.