blob: eb88100a0d98b84ab30295a4c2cef2106a9da2e9 [file] [edit]
function(cmp0219_assert_equal actual expected)
if(NOT "${actual}" STREQUAL "${expected}")
message(FATAL_ERROR
"Assertion failed:\n"
" expected=[${expected}]\n"
" actual=[${actual}]")
endif()
endfunction()
function(cmp0219_assert_undefined variable_name)
if(DEFINED ${variable_name})
message(FATAL_ERROR
"Assertion failed:\n"
" ${variable_name} should be undefined\n"
" actual=[${${variable_name}}]")
endif()
endfunction()
set(cmp0219_path_fwd "C:/build_bot/new/temp/vendor")
string(REPLACE "/" "\\" cmp0219_path_native "${cmp0219_path_fwd}")