added discriptions

This commit is contained in:
Andrei Yankovich 2021-03-19 21:37:14 +03:00
parent 3f6c385a93
commit 30b2e07c47
2 changed files with 11 additions and 0 deletions

View File

@ -5,6 +5,9 @@
# of this license document, but changing it is not allowed.
#
# This module adds support of the ccache.
# If you include this cmake file in the main cmakList file then your project will be use the ccace on to the compilator
if(DEFINED CCACHE_SUPPORT)
return()
else()

View File

@ -5,12 +5,20 @@
# of this license document, but changing it is not allowed.
#
# This module provides translations functionality.
# The tr module contains only prepareQM function.
if(DEFINED PROJECT_TR_SUPPORT)
return()
else()
set(PROJECT_TR_SUPPORT 1)
endif()
# This function prepare translations for you prijects
# Arguments :
# name - it is name of the translations target.
# sourceDir - it is root source directory. lupdate will be scan this dir for prepare translations.
# ts_files - it is list of the supported languages.
function(prepareQM name sourceDir ts_files)
find_program(LUPDATE_EXECUTABLE lupdate)