[CMake] how to add new source files in already build cmake project from inside eclipse cdt?

Alexander Neundorf a.neundorf-work at gmx.net
Mon Jul 21 16:01:38 EDT 2014


On Monday, July 21, 2014 08:40:11 Payal Prajapati wrote:
> hello All,
> 
> Two things to say:
> 
> 1)I read all conversion regarding this topic..but can any one explain me
> the whole procedure?
>  2)I am working on orfeo toolbox which i imported in eclipse.It works fine
> upto make target->build step. but when i do make target->build->install and
> then finish it gives me an error(highlighted with red mark on
> projectname).  can any one explain which steps are required for building
> project after importing it in eclipse?
> 
> Any help would be appreciable.

you just have to add it to your CMakeLists.txt. Upon the next build, cmake 
will run again and regenerate the makefiles and Eclispe project files.
You may need to manually refresh the project in Eclipse.

Alex



More information about the CMake mailing list