Have a look here: basically, you define a “toolchain file” that sets things like the system name, paths to compilers and so on. You then call cmake
like so:
cmake /path/to/src -DCMAKE_TOOLCHAIN_FILE=/path/to/toolchain/foo-bar-baz.cmake
Have a look here: basically, you define a “toolchain file” that sets things like the system name, paths to compilers and so on. You then call cmake
like so:
cmake /path/to/src -DCMAKE_TOOLCHAIN_FILE=/path/to/toolchain/foo-bar-baz.cmake