Re: [CMake] multi core project

2013-11-20 Thread Arne Pagel
OK, thanks. But somehow complicated. I wonder If I couldn't (miss)use the UPDATE_COMMAND for this. Can I use a macro as UPDATE_COMMAND? My CMakeLists.txt looks like that right now: include(ExternalProject) SET(subprojects "core0" "core1" "core2") foreach(MYPROJ ${subprojects}) ExternalPr

Re: [CMake] multi core project

2013-11-19 Thread Williams, Norman K
Add this: set(proj CORE0) ExternalProject_Add_Step(${proj} forcebuild COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_CURRENT_BUILD_DIR}/${proj}-prefix/src/${proj}-stamp/${proj}-build DEPENDEES configure DEPENDERS build ALWAYS 1 ) ExternalProject keeps track of project phases based on 'st

Re: [CMake] multi core project

2013-11-19 Thread Arne Pagel
Dear all, I just tried to use the ExternalProject_Add for this multicore project, having different separate camke projects for each core Now I have 2 Problems: 1.) with the ExternalProject_Add and a given source dir it seams that my external projects are not rebuild if I made some changes ther

Re: [CMake] multi core project

2013-11-11 Thread Eric Noulard
2013/11/11 Arne Pagel : > 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

[CMake] multi core project

2013-11-11 Thread Arne Pagel
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 Con