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

include(Python)

macro (check_message_template _target)
  add_custom_command(
      TARGET ${_target}
      POST_BUILD
      COMMAND ${PYTHON_EXECUTABLE}
      ARGS ${SCRIPTS_DIR}/md5check.py
           0441fea513458ade4b81607acf481692
           ${SCRIPTS_DIR}/messages/message_template.msg
      COMMENT "Verifying message template - See http://wiki.secondlife.com/wiki/Template_verifier.py"
      )
endmacro (check_message_template)