aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/TemplateCheck.cmake
blob: 3b73dc82dfcf3fe538d4e6ae230c2b199278f77c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- cmake -*-

include(Python)

macro (check_message_template _target)
  add_custom_command(
      TARGET ${_target}
      PRE_LINK
      COMMAND ${PYTHON_EXECUTABLE}
      ARGS ${SCRIPTS_DIR}/template_verifier.py
           --mode=development --cache_master
      COMMENT "Verifying message template"
      )
endmacro (check_message_template)