cmake -E copy_if_different does nothing if the files are different but bigger than 2GB on Windows
The following command does nothing for different files that are bigger than 2GB on Windows 10(21H1 Build 19043.1415) with cmake v3.22.1.
cmake.exe -E copy_if_different AnotherApp/libAnotherApp_arm64-v8a.so AnotherApp/android-build/libs/arm64-v8a/libAnotherApp_arm64-v8a.so
md5sum new/libAnotherApp_arm64-v8a.so old/libAnotherApp_arm64-v8a.so
fdf828a69896114190ee5737c25921db new/libAnotherApp_arm64-v8a.so
0ae67d3078d7bd9b78db03b8c3deada7 old/libAnotherApp_arm64-v8a.so
cmp old/libAnotherApp_arm64-v8a.so new/libAnotherApp_arm64-v8a.so
old/libAnotherApp_arm64-v8a.so new/libAnotherApp_arm64-v8a.so sind verschieden: Byte 737, Zeile 1
I tested it with the same files on linux with cmake v3.20.5, there it works.
Edited by Markus87