diff options
author | Jacek Antonelli | 2008-09-06 18:24:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-09-06 18:25:07 -0500 |
commit | 798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch) | |
tree | 1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/cmake/TemplateCheck.cmake | |
parent | Second Life viewer sources 1.20.15 (diff) | |
download | meta-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.cmake | 14 |
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 | |||
3 | include(Python) | ||
4 | |||
5 | macro (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 | ) | ||
14 | endmacro (check_message_template) | ||