PageRenderTime 21ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/indra/cmake/TemplateCheck.cmake

https://bitbucket.org/lindenlab/viewer-beta/
CMake | 14 lines | 11 code | 2 blank | 1 comment | 0 complexity | 6e5fc90e2dab509635162df3763ce074 MD5 | raw file
Possible License(s): LGPL-2.1
  1. # -*- cmake -*-
  2. include(Python)
  3. macro (check_message_template _target)
  4. add_custom_command(
  5. TARGET ${_target}
  6. PRE_LINK
  7. COMMAND ${PYTHON_EXECUTABLE}
  8. ARGS ${SCRIPTS_DIR}/template_verifier.py
  9. --mode=development --cache_master --master_url=${TEMPLATE_VERIFIER_MASTER_URL} ${TEMPLATE_VERIFIER_OPTIONS}
  10. COMMENT "Verifying message template - See http://wiki.secondlife.com/wiki/Template_verifier.py"
  11. )
  12. endmacro (check_message_template)