Unverified Commit 83e54d5f authored by Julien Wintz's avatar Julien Wintz
Browse files

Updating build tree.

parent 4e923563
......@@ -60,6 +60,8 @@ message(STATUS "Using Qt5 binary qhgn: ${QT5_QHGN_EXECUTABLE}")
## Input
## ###################################################################
set(DTK_WIDGETS_DIRECTORY ${CMAKE_SOURCE_DIR}/../dtk-widgets)
add_subdirectory(src)
######################################################################
......
......@@ -21,7 +21,19 @@ project(dtkDoc VERSION ${dtkDoc_VERSION})
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/dtk.qdocconf.in
${CMAKE_CURRENT_BINARY_DIR}/dtk.qdocconf
@ONLY)
IMMEDIATE @ONLY)
## ###################################################################
##
## ###################################################################
add_custom_target("doc")
add_custom_command(TARGET "doc" POST_BUILD
COMMAND ${QT5_QDOC_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/dtk.qdocconf
# COMMAND ${QT5_QHGN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/dtk.qhp -o ${CMAKE_BINARY_DIR}/dtk.qch
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
COMMENT "-- Generating documentation")
######################################################################
### CMakeLists.txt ends here
## Version: $Id$
##
######################################################################
##
### Commentary:
##
######################################################################
##
### Change Log:
##
######################################################################
##
### Code:
naturallanguage = en_US
outputencoding = UTF-8
sourceencoding = UTF-8
headers.fileextensions = "*.h *.hpp *.ch *.h++ *.hh *.hxx"
sources.fileextensions = "*.c++ *.cc *.cpp *.cxx *.tpp *.mm *.qml *.qdoc"
sourcedirs += @DTK_WIDGETS_DIRECTORY@/src/dtkWidgets
outputdir = @CMAKE_BINARY_DIR@/doc
######################################################################
### dtk.qdocconf.in ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment