Commit d77958fe authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Install CamelCase forwarding headers

parent c6f7262c
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
project(libkmahjongg VERSION "5.0.0")
project(libkmahjongg VERSION "5.1.0")
set(QT_MIN_VERSION "5.12.0")
set(KF_MIN_VERSION "5.68.0")
......@@ -31,6 +31,7 @@ include(FeatureSummary)
include(GenerateExportHeader)
include(CMakePackageConfigHelpers)
include(ECMSetupVersion)
include(ECMGenerateHeaders)
include(ECMQtDeclareLoggingCategory)
add_definitions(
......
......@@ -15,6 +15,14 @@ set(kmahjongg_LIB_SRCS
kmahjonggconfigdialog.cpp
)
ecm_generate_headers(kmahjongg_LIB_CamelCase_HEADERS
HEADER_NAMES
KMahjonggTileset
KMahjonggBackground
KMahjonggConfigDialog
REQUIRED_HEADERS kmahjongg_LIB_HEADERS
)
ecm_qt_declare_logging_category(kmahjongg_LIB_SRCS
HEADER libkmahjongg_debug.h
IDENTIFIER LIBKMAHJONGG_LOG
......@@ -65,9 +73,8 @@ install(TARGETS KF5KMahjongglib
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/kmahjongglib_version.h
${CMAKE_CURRENT_BINARY_DIR}/libkmahjongg_export.h
kmahjonggtileset.h
kmahjonggbackground.h
kmahjonggconfigdialog.h
${kmahjongg_LIB_HEADERS}
${kmahjongg_LIB_CamelCase_HEADERS}
DESTINATION ${KF5_INCLUDE_INSTALL_DIR}/KF5KMahjongg
COMPONENT Devel
)
......
......@@ -17,6 +17,8 @@
class KMahjonggBackgroundPrivate;
/**
* @class KMahjonggBackground kmahjonggbackground.h <KMahjonggBackground>
*
* A background
*/
class LIBKMAHJONGG_EXPORT KMahjonggBackground
......
......@@ -17,6 +17,8 @@
class KMahjonggConfigDialogPrivate;
/**
* @class KMahjonggConfigDialog kmahjonggconfigdialog.h <KMahjonggConfigDialog>
*
* An extended config dialog with convenience methods to add pages for managing tilesets & backgrounds
*/
class LIBKMAHJONGG_EXPORT KMahjonggConfigDialog : public KConfigDialog
......
......@@ -18,6 +18,8 @@
class KMahjonggTilesetPrivate;
/**
* @class KMahjonggTileset kmahjonggtileset.h <KMahjonggTileset>
*
* A tile set
*/
class LIBKMAHJONGG_EXPORT KMahjonggTileset {
......
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