Hello,
“Since Eclipse C/C++ "projects" can only build based on one pre-specified Makefile, you can't selectively build in sub-directories”
This is possible if you use the Make Target feature. Select your sub directory, and select New Make Target from the menu. Give it a name and enter your build command (eg mingw32-make). You can now just make
the sub directory by right clicking on your new target and selecting Build Target.
Hope this is useful,
James O’Hea
Diamond Light Source
I've used the Eclipse C/C++ IDE for this in the past. The key is to configure it right for an EPICS build. It's been a while, but as I recall this requires configuring the Eclipse build step to invoke gmake on the top-level makefile. The
build step in Eclipse is highly configurable and flexible, and takes a bit of work to get a handle on it.
Since Eclipse C/C++ "projects" can only build based on one pre-specified Makefile, you can't selectively build in sub-directories. But, in general, the EPICS Makefiles behave well when initiating a build at the highest level. It's just a bit slower because
it has to traverse all the files and dependencies, even if you're repeatedly building just one file in a subdir.
Either this, or you make a separate Eclipse "project" for different subdirs. Depends.
And the above mechanism may not pick up the association between compiler errors and line numbers automatically. But you can turn on line-number display in the Eclipse editors, and find the lines manually...
Hope this helps,
Claude
On 08/24/2011 12:40 PM, Jay Steele wrote:
Hi EPICS folks,
I’ve been doing some EPICS software development with Windows/Cygwin-x86 for a couple of months now, and am getting tired of simple text editors and running make from the cygwin command shell. Ideally, would like something like Visual
C++ 2008 that, for example, shows function prototypes when you hover the cursor over some text, includes a debugger, and shows the relevant code line after clicking on a compiler error statement. Does anybody have recommendations for an Integrated Development
Environment (IDE) that works well with EPICS, GCC, and cygwin? I see some different options on the web (Qt Designer, Eclipse, etc) but haven’t tried them out yet.
Cheers,
Jay Steele
Xradia Corporation
The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose
is prohibited. If you have received this email in error, please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone.
--
----------------------------------------------------------
Claude Saunders <[email protected]>
Software Services Group Leader
Advanced Photon Source, Argonne National Laboratory
Argonne, IL 60439 630 - 252 - 6619
----------------------------------------------------------
We write suggestions, suggesting fading to silence
And that must please you
My mirror's tarnished with 'no help'
- Gary Numan
----------------------------------------------------------
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom