2023-04-02 21:33:48 +02:00
|
|
|
/*! \page Build Build libragephoto
|
|
|
|
|
|
|
|
Keep sure you have CMake and a C++ compiler installed, then do the following or the equivalent necessary.
|
|
|
|
|
|
|
|
<h4 id="build">Build libragephoto</h4>
|
|
|
|
\code{.sh}
|
|
|
|
cmake -B libragephoto-build libragephoto
|
|
|
|
cmake --build libragephoto-build
|
|
|
|
\endcode
|
|
|
|
|
|
|
|
<h4 id="install">Install libragephoto</h4>
|
|
|
|
\code{.sh}
|
|
|
|
sudo cmake --install libragephoto-build
|
|
|
|
\endcode
|
|
|
|
|
|
|
|
To customise your libragephoto build, the following <a href="#flags">Optional CMake flags</a> can be used
|
|
|
|
|
|
|
|
<h4 id="flags">Optional CMake flags</h4>
|
|
|
|
\code{.sh}
|
2024-01-18 19:53:47 +01:00
|
|
|
-DRAGEPHOTO_CXX_STANDARD=17
|
2023-04-02 21:33:48 +02:00
|
|
|
-DRAGEPHOTO_BENCHMARK=ON
|
|
|
|
-DRAGEPHOTO_C_API=OFF
|
2023-06-11 05:41:32 +02:00
|
|
|
-DRAGEPHOTO_C_LIBRARY=ON
|
2023-04-02 21:33:48 +02:00
|
|
|
-DRAGEPHOTO_DOC=ON
|
|
|
|
-DRAGEPHOTO_EXAMPLE_GTKVIEWER=ON
|
|
|
|
-DRAGEPHOTO_EXAMPLE_QTVIEWER=ON
|
|
|
|
-DRAGEPHOTO_EXTRACT=OFF
|
|
|
|
-DRAGEPHOTO_STATIC=ON
|
|
|
|
\endcode
|
|
|
|
*/
|