Hello,

Q1: Why doesn't the cmake eclipse generator produce run/debug
configurations for the executables in my cmake project?

Q2: How can I add run/debug configurations to my eclipse project such
that I can run, debug, and set breakpoints in my executable (from
within eclipse)?

More detail:

I am using gentoo linux, cmake 2.8.7, and eclipse indigo.

My CMakeLists.txt file produces a few libraries and one executable.
The "unix makefiles" and "eclipse unix makefiles" configurations
produce very nice working builds (thank you very much).

However, in eclipse, neither a "run configurations" nor a "debug
configurations" is created for my executable.  This means I cannot
run/debug my executable from within eclipse.

Not one to shy away, I created my own "run/debug configurations" for
my executable.  Eclipse will launch the executable, but it is "not
right".  When I try to add a breakpoint in the source editor, gdb
complains:

No source file named
/home/cstankevitz/Work/2012-06-01_uavlib/uavlib/VIDTRACC/src/Trackers.cpp.

The file does exist on my hard drive (caveat: I hope eclipse doesn't
think this the period at the end of the message is part of the
filename).

At this point I am confused and post my questions to the group.

Thank you,

Chris
--

Powered by www.kitware.com

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

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

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

Reply via email to