Skip to content

Commit

Permalink
Merge pull request #1 from kybr/main
Browse files Browse the repository at this point in the history
using CMake instead of Projucer
  • Loading branch information
joeljaffesd authored Jun 18, 2024
2 parents 41a0a08 + 71dde38 commit befb037
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
build/
**/Builds
**/JuceLibraryCode
**/.DS_Store
**/.DS_Store
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "JUCE"]
path = JUCE
url = https://github.com/juce-framework/JUCE
65 changes: 65 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@

cmake_minimum_required(VERSION 3.15)

project(plugin VERSION "1.0.1")

add_subdirectory(JUCE)

#juce_set_aax_sdk_path(../aax-sdk-2-5-1)
#juce_set_vst2_sdk_path(../vstsdk2.4)

juce_add_plugin(plugin
PRODUCT_NAME "Joel"
COMPANY_NAME "Joel"
COMPANY_COPYRIGHT "Joel"
BUNDLE_ID "com.joel.JaffTune"
PLUGIN_MANUFACTURER_CODE "Jftn"
PLUGIN_CODE "Tune"
FORMATS AU VST3 Standalone
VST2_CATEGORY "kPlugCategEffect"
VST3_CATEGORIES "Fx"
AU_MAIN_TYPE "kAudioUnitType_Effect"
AAX_CATEGORY "AAX_ePlugInCategory_Harmonic"
)

juce_generate_juce_header(plugin)

target_sources(plugin
PRIVATE
"Source/PluginEditor.h"
"Source/PluginProcessor.h"
"Source/PluginProcessor.cpp"
"Source/PluginEditor.cpp"
)

target_compile_definitions(plugin
PUBLIC
JUCE_DISPLAY_SPLASH_SCREEN=0
JUCE_WEB_BROWSER=0
JUCE_USE_CURL=0
JUCE_VST3_CAN_REPLACE_VST2=0
)



target_link_libraries(plugin
PRIVATE
juce::juce_audio_utils
juce::juce_audio_basics
juce::juce_audio_devices
juce::juce_audio_formats
juce::juce_audio_plugin_client
juce::juce_audio_processors
juce::juce_audio_utils
juce::juce_core
juce::juce_data_structures
juce::juce_dsp
juce::juce_events
juce::juce_graphics
juce::juce_gui_basics
juce::juce_gui_extra
PUBLIC
juce::juce_recommended_config_flags
juce::juce_recommended_lto_flags
juce::juce_recommended_warning_flags
)
1 change: 1 addition & 0 deletions JUCE
Submodule JUCE added at d054f0

0 comments on commit befb037

Please sign in to comment.