summaryrefslogtreecommitdiffstats
path: root/generators/qtdoc/CMakeLists.txt
blob: 804600e586872e1e7c561c945c0e299fd5746f7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
project(qtdoc_generator)

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)