repo.or.cz
/
CMakeLuaTailorHgBridge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Resync
[CMakeLuaTailorHgBridge.git]
/
CMakeLua
/
Tests
/
MacroTest
/
context.cmake
blob
f4d7035fbcdf5ab5aef129d127228910eacdb7fb
1
GET_CURRENT_FILE(current_file)
2
IF(NOT "${current_file}" STREQUAL "${CMAKE_CURRENT_LIST_FILE}")
3
MESSAGE(FATAL_ERROR
4
"Macro file context is broken. Expected:\n"
5
" ${CMAKE_CURRENT_LIST_FILE}\n"
6
"but got:\n"
7
" ${current_file}\n"
8
"from the macro."
9
)
10
ENDIF(NOT "${current_file}" STREQUAL "${CMAKE_CURRENT_LIST_FILE}")