aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorKrzysztof Stachowiak <krzysztof.stachowiak@arm.com>2018-01-19 16:21:11 +0100
committerKrzysztof Stachowiak <krzysztof.stachowiak@arm.com>2018-01-19 16:21:18 +0100
commita0188d673046107df8c46e343c99dc4fc7ed4e44 (patch)
tree061a3a7a5938a8a5096bb6c293862fa0a399fe84 /CMakeLists.txt
parent297d7535fb7f325507a4c35104f11000c613bbc4 (diff)
downloadmbedtls-a0188d673046107df8c46e343c99dc4fc7ed4e44.zip
mbedtls-a0188d673046107df8c46e343c99dc4fc7ed4e44.tar.gz
mbedtls-a0188d673046107df8c46e343c99dc4fc7ed4e44.tar.bz2
Have doxygen run in the doxygen directory
When the Doxywizzard GUI is used and the doxyfile is loaded, the workind directory for doxygen is set to the location of the doxyfile. However the Make and CMake build systems expect doxygen to be ran from the top level directory. This commit unifies the build system and the Doxywizzard GUI so that all of them expect doxygen to be executed in the doxygen directory.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3e47224..ca4cba2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -126,8 +126,8 @@ if(ENABLE_PROGRAMS)
endif()
ADD_CUSTOM_TARGET(apidoc
- COMMAND doxygen doxygen/mbedtls.doxyfile
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
+ COMMAND doxygen mbedtls.doxyfile
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/doxygen)
if(ENABLE_TESTING)
enable_testing()