summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-05-05 17:09:46 +0200
committerSuren A. Chilingaryan <csa@suren.me>2015-05-05 17:09:46 +0200
commitc39ac7a604d9f01f602f88f5770b5832e79fcdde (patch)
treeab82c625a8c458d3e5e4e6b65c030867cc486d0e /CMakeLists.txt
parent8ba31d8601b157ada318ca60fcb094244807d421 (diff)
downloadpcitool-c39ac7a604d9f01f602f88f5770b5832e79fcdde.tar.gz
pcitool-c39ac7a604d9f01f602f88f5770b5832e79fcdde.tar.bz2
pcitool-c39ac7a604d9f01f602f88f5770b5832e79fcdde.tar.xz
pcitool-c39ac7a604d9f01f602f88f5770b5832e79fcdde.zip
Add doxygen configuration
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa64112..f397c6b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -65,14 +65,16 @@ endif(NOT DEFINED LOCALE_INSTALL_DIR)
set(PCILIB_PLUGIN_DIR "${LIB_INSTALL_DIR}/pcilib" CACHE PATH "Directory to install plugins")
set(PCILIB_DATA_DIR "${DATA_INSTALL_DIR}/pcilib" CACHE PATH "Directory to install data files")
set(PCILIB_MODEL_DIR "${PCILIB_DATA_DIR}/models" CACHE PATH "Directory to install XML models")
+set(PCILIB_DOC_DIR "${CMAKE_CURRENT_BINARY_DIR}/docs/" CACHE PATH "Directory to install documentation")
set(PCILIB_DEBUG_DIR "." CACHE PATH "Directory to write debug information")
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pcitool.pc.in ${CMAKE_CURRENT_BINARY_DIR}/pcitool.pc)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/misc/pcitool.pc.in ${CMAKE_CURRENT_BINARY_DIR}/misc/pcitool.pc)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pcilib/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/pcilib/config.h)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/pcilib/version.h.in ${CMAKE_CURRENT_BINARY_DIR}/pcilib/version.h)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/docs/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/docs/Doxyfile)
install(FILES
- ${CMAKE_CURRENT_BINARY_DIR}/pcitool.pc
+ ${CMAKE_CURRENT_BINARY_DIR}/misc/pcitool.pc
DESTINATION ${LIB_INSTALL_DIR}/pkgconfig
)