aboutsummaryrefslogtreecommitdiff
path: root/launcher/CMakeLists.txt
diff options
context:
space:
mode:
authorAaron Sonin <10217842+byteduck@users.noreply.github.com>2023-01-02 11:59:29 -0700
committerGitHub <noreply@github.com>2023-01-02 11:59:29 -0700
commite0e3d4d8feec359dbd1df7ccff2573af49d14d91 (patch)
treebe85bccd5764d178fd62f3a5ddf2cac7fbb57239 /launcher/CMakeLists.txt
parentba81ad1ac3cff48b973ee167802a5d6398eac990 (diff)
parent4b12c85d91be34504384117584fb4f25a754481e (diff)
downloadPrismLauncher-e0e3d4d8feec359dbd1df7ccff2573af49d14d91.tar.gz
PrismLauncher-e0e3d4d8feec359dbd1df7ccff2573af49d14d91.tar.bz2
PrismLauncher-e0e3d4d8feec359dbd1df7ccff2573af49d14d91.zip
Merge branch 'PrismLauncher:develop' into instance-accounts
Diffstat (limited to 'launcher/CMakeLists.txt')
-rw-r--r--launcher/CMakeLists.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt
index a0d92b6e..6ca88ec6 100644
--- a/launcher/CMakeLists.txt
+++ b/launcher/CMakeLists.txt
@@ -551,6 +551,24 @@ set(ATLAUNCHER_SOURCES
modplatform/atlauncher/ATLShareCode.h
)
+######## Logging categories ########
+
+ecm_qt_declare_logging_category(CORE_SOURCES
+ HEADER Logging.h
+ IDENTIFIER authCredentials
+ CATEGORY_NAME "launcher.auth.credentials"
+ DEFAULT_SEVERITY Warning
+ DESCRIPTION "Secrets and credentials for debugging purposes"
+ EXPORT "${Launcher_Name}"
+)
+
+if(KDE_INSTALL_LOGGINGCATEGORIESDIR) # only install if there is a standard path for this
+ ecm_qt_install_logging_categories(
+ EXPORT "${Launcher_Name}"
+ DESTINATION "${KDE_INSTALL_LOGGINGCATEGORIESDIR}"
+ )
+endif()
+
################################ COMPILE ################################
set(LOGIC_SOURCES