Imported existing code
This commit is contained in:
14
indra/cmake/TemplateCheck.cmake
Normal file
14
indra/cmake/TemplateCheck.cmake
Normal file
@@ -0,0 +1,14 @@
|
||||
# -*- cmake -*-
|
||||
|
||||
include(Python)
|
||||
|
||||
macro (check_message_template _target)
|
||||
add_custom_command(
|
||||
TARGET ${_target}
|
||||
PRE_LINK
|
||||
COMMAND ${PYTHON_EXECUTABLE}
|
||||
ARGS ${SCRIPTS_DIR}/template_verifier.py
|
||||
--mode=development --cache_master
|
||||
COMMENT "Verifying message template"
|
||||
)
|
||||
endmacro (check_message_template)
|
||||
Reference in New Issue
Block a user