Skip to content

Commit

Permalink
Fixed editor creation build error
Browse files Browse the repository at this point in the history
  • Loading branch information
sainsay committed Aug 19, 2021
1 parent 71535cd commit c39db07
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
cmake_minimum_required(VERSION 3.15)

project(AUDIO_PLUGINS VERSION 0.0.1)
project(AUDIO_PLUGINS)

add_subdirectory(deps/juce)
set_directory_properties(PROPERTIES JUCE_COMPANY_NAME "sainsay")
set_directory_properties(PROPERTIES JUCE_COMPANY_WEBSITE "https://github.com/sainsay/AudioPlugins" )
set_directory_properties(PROPERTIES JUCE_COPY_PLUGIN_AFTER_BUILD TRUE )
set_directory_properties(PROPERTIES JUCE_VST3_COPY_DIR ${CMAKE_BINARY_DIR}/artefacts/VST3/ )
set_directory_properties(PROPERTIES JUCE_AU_COPY_DIR ${CMAKE_BINARY_DIR}/artefacts/AU/ )

add_subdirectory(common)

Expand Down
4 changes: 2 additions & 2 deletions infinight/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
cmake_minimum_required(VERSION 3.15)

project(Infinight VERSION 1.0.0)
project(Infinight VERSION 1.0.1)

# juce_set_vst2_sdk_path(...)
# juce_set_aax_sdk_path(...)

juce_add_plugin(Infinight
PRODUCT_NAME "Infinight-1_0_0"
PRODUCT_NAME "Infinight-1_0_1"
# ICON_BIG ... # ICON_* arguments specify a path to an image file to use as an icon for the Standalone
# ICON_SMALL ...
COMPANY_NAME "sainsay" # Specify the name of the plugin's author
Expand Down
2 changes: 1 addition & 1 deletion infinight/src/PluginProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ bool Plugin::hasEditor() const

juce::AudioProcessorEditor* Plugin::createEditor()
{
//return new juce::GenericAudioProcessorEditor(*this);
return nullptr;//new juce::GenericAudioProcessorEditor(*this);
}

//==============================================================================
Expand Down

0 comments on commit c39db07

Please sign in to comment.