2013/11/11 Arne Pagel <a...@pagelnet.de>:
> Dear all,
>
> I am using cmake for an embedded environment where I now have to add multi 
> core support.
>
> In this case I have a Controller with up to 4 different cores!
> There is for example one core dedicated for fast peripheral access,
> one core for with additional dsp instructions and so on.
> For 3 Controllers I can use the same C Compiler, but with different Compiler 
> Options,
> for the 4th core I even have to involve a different Compiler.
>
> What I see so far for this controllers are the use of hand made makefiles.
> Lets say there are four source directories, with more or less independent 
> makefiles,
> later the output files are merged.
> (btw. does anyone know an elf merging tool? So far I use a very simple 
> approach based on libelf,
> producing an hex file)
>
> Finally all these Cores are accessing the same flash area, and I need one 
> final executable after my
> build process.
> Since there is a big dependency between the cores and code reallocation 
> between the cores will
> happen quite often in the future, I want to treat everything as one project.
>
> So basically in cmake I need target dependent compiler options and toolchains.
>
>
> Does anyone have an Idea how to setup this with cmake in a smart way?

I guess this is unsupported yet see:
http://public.kitware.com/Bug/view.php?id=14539




-- 
Erk
L'élection n'est pas la démocratie -- http://www.le-message.org
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to