Changeset View
Changeset View
Standalone View
Standalone View
src/CMakeLists.txt
Show First 20 Lines • Show All 406 Lines • ▼ Show 20 Line(s) | |||||
407 | # ) | 407 | # ) | ||
408 | 408 | | |||
409 | # KDb/Interfaces includes | 409 | # KDb/Interfaces includes | ||
410 | # install( FILES | 410 | # install( FILES | ||
411 | # Interfaces/KDbPreparedStatementInterface.h includes/KDb/Interfaces/KDbPreparedStatementInterface | 411 | # Interfaces/KDbPreparedStatementInterface.h includes/KDb/Interfaces/KDbPreparedStatementInterface | ||
412 | # DESTINATION ${KDB_INCLUDE_INSTALL_DIR}/Interfaces COMPONENT Devel | 412 | # DESTINATION ${KDB_INCLUDE_INSTALL_DIR}/Interfaces COMPONENT Devel | ||
413 | # ) | 413 | # ) | ||
414 | 414 | | |||
415 | if(BUILD_QCH) | ||||
416 | kdb_add_qch( | ||||
417 | KDb_QCH | ||||
418 | OUTPUT_BASENAME ${KDB_BASE_NAME} | ||||
419 | VERSION ${PROJECT_VERSION} | ||||
420 | ORG_DOMAIN org.kde | ||||
421 | SOURCES | ||||
422 | Mainpage.dox | ||||
423 | ${kdb_HEADERS} | ||||
424 | ${kdb_HEADERS_FROM_BUILDDIR} | ||||
425 | LINK_QCHS | ||||
426 | Qt5Core_QCH | ||||
427 | Qt5Gui_QCH | ||||
428 | Qt5Widgets_QCH | ||||
429 | KF5CoreAddons_QCH | ||||
430 | BLANK_MACROS | ||||
431 | KDB_EXPORT | ||||
432 | KDB_DEPRECATED | ||||
433 | TAGFILE_INSTALL_DESTINATION ${KDB_QTQCH_FULL_INSTALL_DIR} | ||||
434 | QCH_INSTALL_DESTINATION ${KDB_QTQCH_FULL_INSTALL_DIR} | ||||
435 | ) | ||||
436 | set(kdb_qch_targets KDb_QCH) | ||||
437 | endif() | ||||
438 | | ||||
439 | kdb_install_qch_export( | ||||
440 | TARGETS ${kdb_qch_targets} | ||||
441 | FILE KDbQCHTargets.cmake | ||||
442 | DESTINATION "${CMAKECONFIG_INSTALL_DIR}" | ||||
443 | COMPONENT Devel | ||||
444 | ) | ||||
445 | | ||||
415 | add_subdirectory(drivers) | 446 | add_subdirectory(drivers) | ||
416 | 447 | | |||
417 | enable_testing() | 448 | enable_testing() | ||
418 | 449 | | |||
419 | configure_file(config-kdb.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kdb.h) | 450 | configure_file(config-kdb.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-kdb.h) |