add PIString::lineNumber() method
add ""_tr literal to translate string by PITranslator add pip_tr util, now useless, only can generate *.ts add qt_support internal lib, now only works with *.ts file pip_vtt migrate to qt_support
This commit is contained in:
16
utils/translator/CMakeLists.txt
Normal file
16
utils/translator/CMakeLists.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
list(APPEND PIP_UTILS_LIST "pip_tr")
|
||||
set(PIP_UTILS_LIST ${PIP_UTILS_LIST} PARENT_SCOPE)
|
||||
import_version(pip_tr PIP)
|
||||
set_deploy_property(pip_tr
|
||||
LABEL "PIP Translator"
|
||||
FULLNAME "${PIP_DOMAIN}.pip_tr"
|
||||
COMPANY "${PIP_COMPANY}"
|
||||
INFO "Platform-Independent Primitives")
|
||||
make_rc(pip_tr _RC)
|
||||
add_executable(pip_tr "main.cpp" ${_RC})
|
||||
target_link_libraries(pip_tr pip_qt_support pip)
|
||||
if (DEFINED LIB)
|
||||
install(TARGETS pip_tr DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
else()
|
||||
install(TARGETS pip_tr DESTINATION bin)
|
||||
endif()
|
||||
Reference in New Issue
Block a user