Skip to content

Commit

Permalink
Update README and CMakeLists with compilation informations
Browse files Browse the repository at this point in the history
  • Loading branch information
mtouzot committed Dec 1, 2023
1 parent 3d76516 commit d67d03d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ endif(BUILD_EXAMPLES)
# Doxygen config
#------------------------------------------------------------

option(BUILD_DOCS "Build documentation" ON)
option(BUILD_DOCS "Build documentation" OFF)

if(BUILD_DOCS)
# Check if Doxygen is installed
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ Image taken with a Lytro Illum by Doodybutch, published under [CC BY-SA 4.0 lice

Image taken with a Lytro camera animated by [Christopher Hahne](http://www.christopherhahne.de/), published under [GNU General Public License version 3 license](https://opensource.org/license/gpl-3-0) for his [PlenoptiCam](https://github.com/hahnec/plenopticam) software.

# Compilation

Here are the commands to compile this project :
```console
cd <lytroio_build_directory>
cmake -G <cmake_generator> -DBUILD_EXAMPLES=<ON/OFF> -DBUILD_DOCS=<ON/OFF> <lytroio_source_directory>
cmake --build . --config <cfg>
```
By default, **BUILD_EXAMPLES** and **BUILD_DOCS** are set to **OFF**.

# External ressources

Here is some further reading or other projects :
Expand Down

0 comments on commit d67d03d

Please sign in to comment.