12507be85d
CMakeLists.txt: add RagePhotoB class, improve settings clarification doc/build.doc: add RAGEPHOTO_C_LIBRARY flag doc/index.doc: correct RagePhoto.h header doc/usage.doc: fix minor documentation issue, clarify class differences ragephoto-gtkviewer: use RagePhotoB class ragephoto-qtviewer: use RagePhotoB class RagePhoto-Extract.cpp: use RagePhotoB class RagePhoto.cpp: LIBRAGEPHOTO_C_API -> LIBRAGEPHOTO_CXX_C RagePhotoA.hpp: simplify brief RagePhotoB.hpp: add best implementation detection RagePhotoLibrary.h: fix WASM C API inclusion by default README.md: add RAGEPHOTO_C_LIBRARY flag
30 lines
778 B
Text
30 lines
778 B
Text
/*! \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}
|
|
-DCMAKE_CXX_STANDARD=17
|
|
-DRAGEPHOTO_BENCHMARK=ON
|
|
-DRAGEPHOTO_C_API=OFF
|
|
-DRAGEPHOTO_C_LIBRARY=ON
|
|
-DRAGEPHOTO_DOC=ON
|
|
-DRAGEPHOTO_EXAMPLE_GTKVIEWER=ON
|
|
-DRAGEPHOTO_EXAMPLE_QTVIEWER=ON
|
|
-DRAGEPHOTO_EXTRACT=OFF
|
|
-DRAGEPHOTO_STATIC=ON
|
|
\endcode
|
|
*/
|