diff options
author | Michal Cmarada <mcmarada@cisco.com> | 2019-03-11 13:29:57 +0100 |
---|---|---|
committer | Michal Cmarada <mcmarada@cisco.com> | 2019-03-15 10:07:11 +0100 |
commit | a9aacd4d48c3a5887267366c2ef643e953975792 (patch) | |
tree | c90c7c41eb77f8679cbcd85d66e7dde0067570ab /CMakeLists.txt | |
parent | f8e326876496ddcdaaa2525596c30aad820b69f4 (diff) |
add documentation generator
Enables generating of HTML documentation. It depends on sphinx generator.
During configuration if sphinx is detected it will generate "docs" target
for make. To build the documentation use "make docs", which will build
the HTML documentation in build-root/html.
Change-Id: Ia627f7d26c954a2341e13a54006955d21d162802
Signed-off-by: Michal Cmarada <mcmarada@cisco.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 38850d5..082a2e7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,8 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) project(jvpp) include(CheckCCompilerFlag) - +# Add custom modules +set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/modules") # # Convert to camel case string from lower case underscored string. # @@ -147,7 +148,7 @@ else() endif() add_subdirectory(java) - +add_subdirectory(docs) # enable Tests include(FindPythonInterp) if(PYTHONINTERP_FOUND) |