JUCE Visual Designer — Foundation Build

This is the initial native JUCE C++ foundation for the planned visual designer / IDE.

Current implementation

Not yet implemented

This is a foundation build, not the complete IDE. The following stages remain:

Requirements

Configure with your installed Visual Studio

The project intentionally does not force Visual Studio 2022. Let CMake select its default generator, or explicitly select an installed generator.

Automatic CMake generator

cmake -S . -B build -DJUCE_ROOT=C:/JUCE
cmake --build build --config Release

Explicit Visual Studio 2019

cmake -S . -B build-vs2019 -G "Visual Studio 16 2019" -A x64 -DJUCE_ROOT=C:/JUCE
cmake --build build-vs2019 --config Release

Explicit Visual Studio 2022

cmake -S . -B build-vs2022 -G "Visual Studio 17 2022" -A x64 -DJUCE_ROOT=C:/JUCE
cmake --build build-vs2022 --config Release

Do not reuse the same build directory when switching CMake generators.

JUCE discovery

The CMake project checks, in order:

  1. JUCE_ROOT CMake variable
  2. JUCE_ROOT environment variable
  3. C:/JUCE
  4. JUCE_DIR through find_package(JUCE CONFIG)

Important

The environment scan is informational and does not install or modify Visual Studio, JUCE, CMake or Windows SDK. The current Build and Run buttons are UI placeholders; the actual asynchronous build pipeline is a subsequent implementation stage.

Portable project and settings storage

On first launch, the application creates data beside the running executable:

The auto-clean build script backs up config.ini and Projects/ before deleting the build folder, then restores them beside the newly built executable. If the executable folder is write-protected (for example, under Program Files), run it from a writable folder.