mitjap / linux-to-windows-crosscompile-proto

Mostly for future reference

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crosscompilation using toolchain file is very simillar to regular building flow with CMake.

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=<path_to_repo>/Toolchain.windows.cmake <path_to_repo>
cmake --build .

This same toolchain file can be used with pretty much any project.

About

Mostly for future reference


Languages

Language:C++ 68.5%Language:CMake 31.5%