summaryrefslogtreecommitdiffstats
path: root/generators/qtdoc/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'generators/qtdoc/CMakeLists.txt')
-rw-r--r--generators/qtdoc/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/generators/qtdoc/CMakeLists.txt b/generators/qtdoc/CMakeLists.txt
index fb71784..804600e 100644
--- a/generators/qtdoc/CMakeLists.txt
+++ b/generators/qtdoc/CMakeLists.txt
@@ -4,7 +4,12 @@ set(qtdoc_generator_SRC
qtdocgenerator.cpp
)
+add_executable(docgenerator main.cpp)
+target_link_libraries(docgenerator ${QT_QTCORE_LIBRARY})
+
add_library(qtdoc_generator SHARED ${qtdoc_generator_SRC})
target_link_libraries(qtdoc_generator ${APIEXTRACTOR_LIBRARY} ${QT_QTCORE_LIBRARY} genrunner)
install(TARGETS qtdoc_generator DESTINATION ${LIB_INSTALL_DIR})
+install(TARGETS docgenerator DESTINATION bin)
+