Reprojucer.cmake¶
Reprojucer.cmake
is a CMake module that provides high-level functions to reproduce how
a JUCE project is defined in Projucer.
Using Reprojucer.cmake
¶
Add the following lines at the top of your CMakeLists.txt file to use
Reprojucer.cmake
:
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/<relative_path_to_FRUT>/cmake")
include(Reprojucer)
Requirements¶
Reprojucer.cmake
requires CMake version 3.4 minimum.
Supported Projucer exporters¶
Reprojucer.cmake
supports the following Projucer exporters (also known as “export
targets”):
Supported | Exporter | CMake requirements and options |
---|---|---|
✔️ | Xcode (MacOSX) | |
✔️ | Xcode (iOS) | version 3.14 minimum
-G Xcode -DCMAKE_SYSTEM_NAME=iOS |
✔️ | Visual Studio 2019 | version 3.14 minimum |
✔️ | Visual Studio 2017 | version 3.7 minimum (3.13.3 when VS 2019 is installed) |
✔️ | Visual Studio 2015 | |
✔️ | Visual Studio 2013 | |
✔️ | Linux Makefile | |
❌ | Android | |
✔️ | Code::Blocks (Windows) | |
✔️ | Code::Blocks (Linux) |
Commands¶
Reprojucer.cmake
defines the following commands: