Skip to content

Commit

Permalink
chore: fix compatibility with CLion (#12)
Browse files Browse the repository at this point in the history
## Summary

I love this IDE and I need to figure out how to make it work for JUCE
projects.

## Changelog

```
- Add specific header includes for project header files
```
  • Loading branch information
maxwellmattryan authored Nov 21, 2024
1 parent fce8826 commit e30fa96
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
6 changes: 5 additions & 1 deletion src/RotorAnalyzer.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@

#pragma once

#include "JuceHeader.h"
#include <juce_audio_basics/juce_audio_basics.h>
#include <juce_dsp/juce_dsp.h>
#include <juce_gui_basics/juce_gui_basics.h>

using namespace juce;

//==============================================================================
/*
Expand Down
7 changes: 5 additions & 2 deletions src/RotorEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@

#pragma once

#include "JuceHeader.h"

#include "RotorAnalyzer.h"
#include "RotorLookAndFeel.h"
#include "RotorProcessor.h"

#include <juce_audio_processors/juce_audio_processors.h>
#include <juce_opengl/juce_opengl.h>

using namespace juce;

typedef AudioProcessorValueTreeState::SliderAttachment SliderAttachment;
typedef AudioProcessorValueTreeState::ButtonAttachment ButtonAttachment;

Expand Down
6 changes: 4 additions & 2 deletions src/RotorLookAndFeel.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@

#pragma once

#include "JuceHeader.h"

#include "RotorData.h"

#include <juce_gui_basics/juce_gui_basics.h>

using namespace juce;

//==============================================================================
class RotorLookAndFeel : public LookAndFeel_V4 {
public:
Expand Down
4 changes: 3 additions & 1 deletion src/RotorProcessor.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

#pragma once

#include "JuceHeader.h"
#include <juce_audio_processors/juce_audio_processors.h>

using namespace juce;

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

0 comments on commit e30fa96

Please sign in to comment.