From 9edb5f57127489dec4b7cbdc1e60920e6002abea Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Sun, 12 Jun 2022 16:13:22 +0200 Subject: API dox: use more markup for code or commandline samples NO_CHANGELOG --- modules/ECMPoQmTools.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/ECMPoQmTools.cmake') diff --git a/modules/ECMPoQmTools.cmake b/modules/ECMPoQmTools.cmake index 3b288064..517d9e3a 100644 --- a/modules/ECMPoQmTools.cmake +++ b/modules/ECMPoQmTools.cmake @@ -22,12 +22,12 @@ or library. Compile .po files into .qm files for the given language. -If INSTALL_DESTINATION is given, the .qm files are installed in +If ``INSTALL_DESTINATION`` is given, the .qm files are installed in ``//LC_MESSAGES``. Typically, ```` is set to ``share/locale``. ``ecm_process_po_files_as_qm`` creates a "translations" target. This target -builds all .po files into .qm files. If ALL is specified, these rules are +builds all .po files into .qm files. If ``ALL`` is specified, these rules are added to the "all" target (and so the .qm files will be built by default). :: @@ -37,8 +37,8 @@ added to the "all" target (and so the .qm files will be built by default). Generates C++ code which ensures translations are automatically loaded at startup. The generated files are appended to the variable named ```` or, if the first argument is a target (since 5.83), to -the SOURCES property of ````. Any target must be created with -add_executable() or add_library() and not be an alias. +the ``SOURCES`` property of ````. Any target must be created with +``add_executable()`` or ``add_library()`` and not be an alias. It assumes that the .qm file for the language code ```` is installed as ``/locale//LC_MESSAGES/.qm``, where -- cgit v1.2.1