diff options
author | Christian Goetze (CG) <cg@lindenlab.com> | 2011-03-31 15:43:47 -0700 |
---|---|---|
committer | Christian Goetze (CG) <cg@lindenlab.com> | 2011-03-31 15:43:47 -0700 |
commit | 44ad672b9e0a5ba1eef3ef7c71da3eb887f4fe0a (patch) | |
tree | 7d42a36660aa4b3981fbcddafcbb24dcb1c819aa /indra | |
parent | 0080ed8e2914fba475b224344d8e4233e8fa48e2 (diff) |
Apply server side code to message template verification onto the viewer tree.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/cmake/TemplateCheck.cmake | 2 | ||||
-rw-r--r-- | indra/cmake/Variables.cmake | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/indra/cmake/TemplateCheck.cmake b/indra/cmake/TemplateCheck.cmake index 24805b4214..2fada2eda9 100644 --- a/indra/cmake/TemplateCheck.cmake +++ b/indra/cmake/TemplateCheck.cmake @@ -8,7 +8,7 @@ macro (check_message_template _target) PRE_LINK COMMAND ${PYTHON_EXECUTABLE} ARGS ${SCRIPTS_DIR}/template_verifier.py - --mode=development --cache_master ${TEMPLATE_VERIFIER_OPTIONS} + --mode=development --cache_master --master_url=${TEMPLATE_VERIFIER_MASTER_URL} ${TEMPLATE_VERIFIER_OPTIONS} COMMENT "Verifying message template - See http://wiki.secondlife.com/wiki/Template_verifier.py" ) endmacro (check_message_template) diff --git a/indra/cmake/Variables.cmake b/indra/cmake/Variables.cmake index 5dc0cabf03..0d7156b91d 100644 --- a/indra/cmake/Variables.cmake +++ b/indra/cmake/Variables.cmake @@ -41,6 +41,8 @@ if (EXISTS ${CMAKE_SOURCE_DIR}/Server.cmake) set(INSTALL_PROPRIETARY ON CACHE BOOL "Install proprietary binaries") endif (EXISTS ${CMAKE_SOURCE_DIR}/Server.cmake) +set(TEMPLATE_VERIFIER_OPTIONS "" CACHE STRING "Options for scripts/template_verifier.py") +set(TEMPLATE_VERIFIER_MASTER_URL "http://bitbucket.org/lindenlab/master-message-template/raw/tip/message_template.msg" CACHE STRING "Location of the master message template") if (${CMAKE_SYSTEM_NAME} MATCHES "Windows") set(WINDOWS ON BOOL FORCE) |