Skip to content

Commit

Permalink
Re #6630. Install qt assistant on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfpeterson committed Mar 13, 2013
1 parent 4079dba commit 4ecda6e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Code/Mantid/docs/qtassistant/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@ if (QT_QCOLLECTIONGENERATOR_EXECUTABLE)
COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/mantid.qhcp
${HELP_OUT_DIR}/mantid.qhcp )

if (WIN32) # copy the assistant executable for windows 32 and 64
add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/assistant.exe
COMMAND ${CMAKE_COMMAND} ARGS -E copy_if_different ${THIRD_PARTY}/assistant.exe
${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/assistant.exe )
install (FILES ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/assistant.exe
DESTINATION ${CMAKE_INSTALL_PREFIX} )
endif (WIN32)

set ( HELP_ALGO_OUT
${HELP_OUT_DIR}/algorithms.qhp
${HELP_HTML_DIR}/algorithms_index.html )
Expand Down

0 comments on commit 4ecda6e

Please sign in to comment.