summaryrefslogtreecommitdiff
path: root/indra/cmake/TemplateCheck.cmake
blob: 90d58d93ad4bd652f0260d48f03ec9e04239edea (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
           3f19d130400c547de36278a6b6f9b028
           ${SCRIPTS_DIR}/messages/message_template.msg
      COMMENT "Verifying message template - See http://wiki.secondlife.com/wiki/Template_verifier.py"
      )
endmacro (check_message_template)