An alternative to using Cmake to manage Juce projects is now available at GitHub. Use plain python to control a few classes that then generate a Projucer project. Currently alpha version but working sufficiently and tested on all plugin formats and generating for Visual Studio, XCode, Android and Linux. The module JuceGen of EachPy can make managing many plugins easier than using the projucer interface and simpler than using CMake. The jucer projects are generated in a few seconds or less.
The source code can be tried here GitHub - Eachsoft/EachPy: Python modules by EachSoft. Including build script generation and utilities. 
The documentation is also in alpha stage but lists almost all the jucer project attribute names by section.
The examples are building and working in first tests.
For comparison to CMake and other build script systems, here is some example python code for generating a plugin using JuceGen…
  
  
    
      import os
import JuceGen
import ExamplesConfig
def generate_config(ctx,project,exporter,config,plugin_name):
  if config.IsDebug:
    config.defs["DEBUG"] = "1"  
    config.defs["_DEBUG"] = "1"  
  else:
    config.attrs["optimisation"] = "6"  
  en = exporter.Name
  binary_products_base = "../../../bin/"
  config.attrs["binaryPath"] = binary_products_base + "Examples/JuceGen/" + project.Name + "/" + en + "/" + config.Name 
def generate_exporter(ctx,project,exporter,plugin_name):
  """
  The exporter object is one of the exporters asypu would find
  in Projucer, such as Visual Studio 2022, or Mac OSX.
  """
 
  This file has been truncated. show original 
   
  
    
    
  
  
 
             
            
               
               
              2 Likes 
            
            
           
          
            
            
              It would be an interesting endeavor to integrate @kunitoki ’s Popsicle, and have this generate a fully fledged C++ project.
  
  
    
   
  
    Popsicle aims to bridge the JUCE c++ framework to python. 
 
   
  
    
    
  
  
 
             
            
               
               
              1 Like 
            
            
           
          
            
            
              I’ve decided to move on from popsicle and move its tech to yup instead, now that i can control every piece of it.
Moving popsicle to yup ! by kunitoki · Pull Request #65 · kunitoki/yup · GitHub  it will take a bit of time but right now i feel much more comfortable and confident about this than continuing to support juce
             
            
               
               
              1 Like