PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 2ms 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
 1# -*- cmake -*-
 2
 3include(Python)
 4
 5macro (check_message_template _target)
 6  add_custom_command(
 7      TARGET ${_target}
 8      PRE_LINK
 9      COMMAND ${PYTHON_EXECUTABLE}
10      ARGS ${SCRIPTS_DIR}/template_verifier.py
11           --mode=development --cache_master --master_url=${TEMPLATE_VERIFIER_MASTER_URL} ${TEMPLATE_VERIFIER_OPTIONS}
12      COMMENT "Verifying message template - See http://wiki.secondlife.com/wiki/Template_verifier.py"
13      )
14endmacro (check_message_template)