[CMake] Cmake with Eclipse

Brandon Van Every bvanevery at gmail.com
Tue Jun 5 10:33:50 EDT 2007


On 6/5/07, Joachim Zettler <joachim_zettler at yahoo.de> wrote:
> Hi, here is the error i get in eclipse.

please give the output with VERBOSE=1.  Unless that's really just it?

> Maybe it has to do with the "all" but i am absolutely not shure what this is
> :(
> Concerning cmake at all. If you execute mingw32-make -f Makefile directly
> from the command line in the build directory then everything is working just
> fine and the project is compiled.
>
> mingw32-make -f build\Makefile all
> build\Makefile:42: CMakeFiles/progress.make: No such file or directory
> mingw32-make: *** No rule to make target `CMakeFiles/progress.make'.  Stop.
>
>
> Hopefully you can give me some further hints.
>
> Best regards,
>
> Joachim
>
>
> 2007/6/5, Brandon Van Every <bvanevery at gmail.com >:
> >
> > On 6/5/07, Joachim Zettler <joachim_zettler at yahoo.de> wrote:
> > > Dear all,
> > >
> > > thank you for your help up to now. I followed the tutorials you provided
> to
> > > me and made a Standard C++ makefile project.
> > >
> > > Afterwards I tried to adjust the make command but it is not working.
> Here
> > > you can find the command.
> > >
> > > mingw32-make -f build\Makefile
> > >
> > > The makefile is actually in a build folder and i generated it before
> with
> > > cmake -G "MinGW Makefiles". Now it seems that the build\makefile is not
> > > working.
> >
> > Can you be more specific?  What is the output of "mingw32-make VERBOSE=1"
> ?
> >
> > > Also build/makefile is wrong. I dont want to write the full path
> > > because it depends on which pc I actually work.
> >
> > CMake outputs absolute paths that only work in the target environment.
> > You will have to generate new Makefiles on each specific machine you
> > use.  It's not wrong, it's a design choice.  Many things can go wrong
> > when you don't use absolute paths in a build.
> >
> > > Up to now I also create the makefile myself everytime I change something
> in
> > > the cmakelist.txt. I have read about an option to run external tools but
> I
> > > dont know exactly how to implement this so that cmake is running only
> when
> > > something cmakelist has changed. Is there also a possibility to choose
> > > between release and debug? In vc++ this was very easy to handle :)
> >
> > I don't know how to do these things in Eclipse.
> >
> >
> > Cheers,
> > Brandon Van Every
> > _______________________________________________
> > CMake mailing list
> > CMake at cmake.org
> > http://www.cmake.org/mailman/listinfo/cmake
> >
>
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>


More information about the CMake mailing list