Browse Source

Removed unsupported exporters from the CodeEditorDemo and VideoDemo and added compiler errors when trying to build on unsupported platforms

tags/2021-05-28
ed 7 years ago
parent
commit
fbb592034f
2 changed files with 8 additions and 2 deletions
  1. +5
    -1
      examples/GUI/CodeEditorDemo.h
  2. +3
    -1
      examples/GUI/VideoDemo.h

+ 5
- 1
examples/GUI/CodeEditorDemo.h View File

@@ -31,7 +31,7 @@
dependencies: juce_core, juce_data_structures, juce_events, juce_graphics,
juce_gui_basics, juce_gui_extra
exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone
exporters: xcode_mac, vs2017, linux_make, xcode_iphone
moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1
@@ -48,6 +48,10 @@
#include "../Assets/DemoUtilities.h"
#if JUCE_ANDROID
#error "This demo is not supported on Android!"
#endif
//==============================================================================
class CodeEditorDemo : public Component,
private FilenameComponentListener


+ 3
- 1
examples/GUI/VideoDemo.h View File

@@ -31,7 +31,7 @@
dependencies: juce_core, juce_data_structures, juce_events, juce_graphics,
juce_gui_basics, juce_gui_extra, juce_video
exporters: xcode_mac, vs2017, linux_make, androidstudio, xcode_iphone
exporters: xcode_mac, vs2017, androidstudio, xcode_iphone
moduleFlags: JUCE_STRICT_REFCOUNTEDPOINTER=1
@@ -702,4 +702,6 @@ private:
updatePositionSliderAndLabel();
}
};
#elif JUCE_LINUX
#error "This demo is not supported on Linux!"
#endif

Loading…
Cancel
Save