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