cmake的交叉编译

win32.cmake

set(CMAKE_SYSTEM_NAME Windows)

编译命令
./configure --cmake-toolchain-file=./win32.cmake --TOOLCHAIN_PREFIX=i686-w64-mingw32-