Radium Engine
1.5.20
|
We provide a standalone cmake project (Radium-Engine/external/CMakeLists.txt
) to compile and install the Radium dependencies at any location.
For command line, tested on Linux and mac OS, for windows might need more configuration options.
External dependencies have to be installed outside Radium-Engine source tree.
If not given on the command line, the installation directory is set by default to Radium-Engine/{CMAKE_CURRENT_BINARY_DIR}/Bundle-${CMAKE_CXX_COMPILER_ID}
for CMAKE_BUILD_TYPE=Release
, and Radium-Engine/{CMAKE_CURRENT_BINARY_DIR}/Bundle-${CMAKE_CXX_COMPILER_ID}-${CMAKE_BUILD_TYPE}
for any other CMAKE_BUILD_TYPE
.
For command line, tested on Linux and mac OS, for windows might need more configuration options.
Follow the usual sequence, assuming you have build dependencies as explained here:
If Qt is installed system wide (likely on linux), -DQt6_DIR
is not needed.
To ease maintenance accross Qt versions, you should also configure the path to Qt cmake package using -DCMAKE_PREFIX_PATH=path/to/qt6
.
cmake --install
is recommended as it will copy all the radium related library in the same place, generate the cmake packages and bundle applications with their dependencies (on macos and windows).