From b6f64ea3f8ef3658a45285fdf9341896a9c5c2e7 Mon Sep 17 00:00:00 2001 From: Matt Williams Date: Fri, 2 Jul 2010 18:38:43 +0000 Subject: [PATCH] Put the Qt Help stuff in a different folder under the build directory. --- library/CMakeLists.txt | 8 ++++---- library/polyvox.qhcp.in | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index acbe37cf..d96168d8 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -40,18 +40,18 @@ if(DOXYGEN_FOUND) #If we found qcollectiongenerator then do more processing if(QT_QCOLLECTIONGENERATOR_EXECUTABLE) - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/polyvox.qhcp.in ${CMAKE_CURRENT_BINARY_DIR}/doc/html/polyvox.qhcp) #The QtHelp config file + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/polyvox.qhcp.in ${CMAKE_CURRENT_BINARY_DIR}/doc/qthelp/polyvox.qhcp) #The QtHelp config file #We attach this command to the doc target so it will be run automatically add_custom_command(TARGET doc POST_BUILD COMMAND ${QT_QCOLLECTIONGENERATOR_EXECUTABLE} polyvox.qhcp -o polyvox.qhc - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc/html + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc/qthelp COMMENT "Compiling API documentation to Qt Help format" ) install(FILES - ${CMAKE_CURRENT_BINARY_DIR}/doc/html/polyvox.qhc - ${CMAKE_CURRENT_BINARY_DIR}/doc/html/polyvox.qch + ${CMAKE_CURRENT_BINARY_DIR}/doc/qthelp/polyvox.qhc + ${CMAKE_CURRENT_BINARY_DIR}/doc/qthelp/polyvox.qch DESTINATION ${PolyVox_DOC_INSTALL_DIR}/qthelp COMPONENT development OPTIONAL diff --git a/library/polyvox.qhcp.in b/library/polyvox.qhcp.in index 8c4e2f2f..8d99258b 100644 --- a/library/polyvox.qhcp.in +++ b/library/polyvox.qhcp.in @@ -13,7 +13,7 @@ - index.qhp + ../html/index.qhp polyvox.qch