aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/cmake/TemplateCheck.cmake
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/cmake/TemplateCheck.cmake
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
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)