makefile - CMake: specifying build toolchain -


very new cmake, , far i'm finding extremely helpful. have set of custom libraries build multiple platforms using cross-compilation. toolchains installed, , can hand-create makefiles need so, able make use of cmake.

is there way tell cmake toolchain use, either @ command line or in cmakelists.txt file?

have here: basically, define "toolchain file" sets things system name, paths compilers , on. call cmake so:

cmake /path/to/src -dcmake_toolchain_file=/path/to/toolchain/foo-bar-baz.cmake 

Comments

Popular posts from this blog

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -

mysql - How to insert just year and month into date field? -