A year ago, I started to work on JUCE.cmake, a collection of tools for building JUCE projects using CMake and now I think it is mature enough to be shared with the JUCE community. If you are interested, it is hosted on GitHub: https://github.com/McMartin/JUCE.cmake.
JUCE.cmake currently contains
Reprojucer.cmake is a CMake module, which provides functions (all starting with
jucer_*) to reproduce how a JUCE project is defined in Projucer.
Jucer2Reprojucer is a console application (that you build with CMake and
Reprojucer.cmake), which converts your
.jucer project file into a read-to-use
CMakeLists.txt file. This means that you don’t have to know a lot about CMake in order to use JUCE.cmake.
“mature enough to be shared” doesn’t mean feature complete or bug free! A lot of features are missing (no iOS support, no Android support, minimal Linux support, …), but I am actively working on JUCE.cmake and you can follow the progress by looking at the Milestones: https://github.com/McMartin/JUCE.cmake/milestones. You can also comment on the GitHub issues to say that you really want a given feature to be implemented.
If you have any questions, don’t hesitate to ask!