From a316cd8a76e13927038cad67cdc436fb32921839 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Fri, 21 Dec 2007 09:30:32 +0000 Subject: now cmake takes snippets of code, completes them into compilable sources, builds them, executes them and stores their output in files. --- doc/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc/CMakeLists.txt') diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 265bbbec1..ba8798e9c 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,6 +1,10 @@ +IF(BUILD_DOC) + CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile ) -ADD_SUBDIRECTORY(examples) +ADD_SUBDIRECTORY(snippets) + +ENDIF(BUILD_DOC) -- cgit v1.2.3