An open API service indexing awesome lists of open source software.

https://github.com/gammasoft71/examples_juce

Shows how to use JUCE only by programming code (c++17) and CMake.
https://github.com/gammasoft71/examples_juce

application button cmake cpp17 example examples juce juce-framework label listbox multi-platform progressbar slider texteditor toolbar treeview

Last synced: 9 months ago
JSON representation

Shows how to use JUCE only by programming code (c++17) and CMake.

Awesome Lists containing this project

README

          

# JUCE examples

Shows how to use [JUCE](https://juce.com) components only by programming code ([c++17](https://en.cppreference.com/w/)).

[![JUCE](docs/Pictures/JUCE.png)](https://juce.com)

## [juce_events](juce_events/README.md)

[juce_gui_basics examples](juce_gui_basics/README.md) contains [juce_events](https://docs.juce.com/master/group__juce__events.html) events examples.

* [Timers](juce_events/Timers/README.md) contains Timers examples.

## [juce_gui_basics](juce_gui_basics/README.md)

[juce_gui_basics examples](juce_gui_basics/README.md) contains [juce_gui_basics](https://docs.juce.com/master/group__juce__gui__basics.html) (GUI) examples.

* [Hello World](juce_gui_basics/HelloWorlds/README.md) contains JUCE "Hello, World!" examples.
* [Applications](juce_gui_basics/Applications/README.md) contains applications examples.
* [Buttons](juce_gui_basics/Buttons/README.md) contains Buttons examples.
* [Widgets](juce_gui_basics/Widgets/README.md) contains widgets examples.
* [Others](juce_gui_basics/Others/README.md) contains others examples.

## Download

``` shell
git clone https://github.com/gammasoft71/Examples_JUCE
```

## Build and run

To build this project, open "Terminal" and type following lines:

### Windows

``` shell
mkdir build && cd build
cmake ..
start JUCEExamples.sln
```

Select any project and type Ctrl+F5 to build and run it.

### macOS :

``` shell
mkdir build && cd build
cmake .. -G "Xcode"
open ./JUCEExamples.xcodeproj
```

Select any project and type Cmd+R to build and run it.

### Linux with Code::Blocks :

``` shell
mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./JUCEExamples.cbp > /dev/null 2>&1
```

Select any project and type F10 to build and run it.

### Linux :

``` shell
mkdir build
cd build
cmake ..
cmake --build . --config Debug
./AnyProject
```

## Remarks

This project run with [JUCE](https://juce.com) 7.0.12 or above and [CMake](https://cmake.org) 3.22 or above.