-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |