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

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -