aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/TemplateCheck.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/cmake/TemplateCheck.cmake')
-rw-r--r--linden/indra/cmake/TemplateCheck.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/cmake/TemplateCheck.cmake b/linden/indra/cmake/TemplateCheck.cmake
new file mode 100644
index 0000000..3b73dc8
--- /dev/null
+++ b/linden/indra/cmake/TemplateCheck.cmake
@@ -0,0 +1,14 @@
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
12 COMMENT "Verifying message template"
13 )
14endmacro (check_message_template)