Sign in
fuchsia
/
third_party
/
cmake
/
5845c218d771b517aa4294f0a90267e6f3f64891
/
.
/
Tests
/
RunCMake
/
file
/
SIZE.cmake
blob: 4d9dbd2c9b34e5cc2b17f4b9522e264eb34faaf5 [
file
] [
log
] [
blame
]
set
(
file
"${CMAKE_CURRENT_BINARY_DIR}/a-test-file"
)
file
(
WRITE
"${file}"
"test"
)
file
(
SIZE
"${file}"
CALCULATED_SIZE
)
if
(
NOT CALCULATED_SIZE EQUAL
4
)
message
(
FATAL_ERROR
"Unexpected file size"
)
endif
()