[Cmake-commits] [cmake-commits] hoffman committed context.cmake NONE 1.1.2.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Mar 27 21:57:37 EDT 2009
Update of /cvsroot/CMake/CMake/Tests/MacroTest
In directory public:/mounts/ram/cvs-serv17689
Added Files:
Tag: CMake-2-6
context.cmake
Log Message:
ENH: add missing file to branch
--- NEW FILE: context.cmake ---
GET_CURRENT_FILE(current_file)
IF(NOT "${current_file}" STREQUAL "${CMAKE_CURRENT_LIST_FILE}")
MESSAGE(FATAL_ERROR
"Macro file context is broken. Expected:\n"
" ${CMAKE_CURRENT_LIST_FILE}\n"
"but got:\n"
" ${current_file}\n"
"from the macro."
)
ENDIF(NOT "${current_file}" STREQUAL "${CMAKE_CURRENT_LIST_FILE}")
More information about the Cmake-commits
mailing list