-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed CMake to not include juce if not needed
- Loading branch information
Showing
4 changed files
with
66 additions
and
59 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,21 @@ | ||
#[[ | ||
|
||
Adding this include will add juce to your project | ||
|
||
]] | ||
|
||
#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.9 | ||
GIT_SHALLOW ON) | ||
|
||
FetchContent_MakeAvailable(juce) |
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
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
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