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
17 lines
515 B
CMake
17 lines
515 B
CMake
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()
|