[CMake] Predownload

Miller Henry MillerHenry at JohnDeere.com
Mon Apr 17 11:47:36 EDT 2017


Instead of trying to do this with the toolchain somehow in cmake I think you might want to look into a meta build system that handles the toolchain and all other dependencies.  I listed all I know of a couple months ago in this thread.  https://cmake.org/pipermail/cmake/2017-March/065229.html


From: CMake [mailto:cmake-bounces at cmake.org] On Behalf Of Zabel, Oliver
Sent: Monday, April 17, 2017 8:07 AM
To: cmake at cmake.org
Subject: [CMake] Predownload

Hi,

i’m developing Software for embedded Systems and my applications Need to run on different target platforms. Until now we are build our Code with make but i’d like to Switch to cmake. ATM we’re putting our Compiler toolchains in our VCS to be able to produce the same binarys even after years. Until now, there is only one toolchain include in a Project as svn-external/git submodule. But i want to use toolchain-files with cmake.

Now here is my idea and i’d like to know whether this is possible with cmake.
I have my Project root and in this Folder i’d like to have different toolchain files for different Compilers. I’d like to exclude the Compilers as external.
Now i’d like to build the cmake Cache by calling cmake with the required toolchain file. Is it now somehow possible, to download the required toolchain before the Cache is buidl up? If this would be possible, i could dynamicly choose which toolchain i want to have – would be great for Compiler / unit Tests as well.

Perhaps someone has a better idea to do this or even i using such a System and give me a hint?

Thanks a lot!

Best regards,
Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20170417/fc6e70a6/attachment.html>


More information about the CMake mailing list