[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cdt-dev] RE: [cdt-debug-dev] Resource compiler?
- From: "Sennikovsky, Mikhail" <mikhail.sennikovsky@xxxxxxxxx>
- Date: Mon, 5 Jun 2006 20:05:10 +0400
- Delivered-to: email@example.com
- Thread-index: AcaItdlHzW1zEu48S0KBxPkapYeNOQAAYicg
- Thread-topic: [cdt-debug-dev] Resource compiler?
The problem you are seeing might occur because the project pre- and
post- build steps do not provide any information about files being used
and generated and thus CDT/MBS is not always possible to take into
account those files while build.
You might want to use the resource custom build steps instead of project
custom build steps in your case.
The resource custom build steps settings are accessed via the "Custom
Build Steps" tab of the file "C/C++ Build" property page (right-click on
the rc file and select "Properties" in the context menu).
You then might enable the custom build step and add the "windres
../src/resource.rc ../Debug/resource.o" to the command field and
"resource.o" to the "Output file name" field to make your resource file
be compiled and included in the build.
[mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Jean-Claude
Sent: Monday, June 05, 2006 7:35 PM
To: CDT Debug developers list
Subject: Re: [cdt-debug-dev] Resource compiler?
Thanks for the info.
I did manage to get resources to compile:
In the project's BUILD STEPS, I put
windres ../src/resource.rc ../Debug/resource.o
in the COMMAND: edit field and added
in the Tool Settings - Miscellaneous field.
The downside is that resources get compiled only when I do a CLEAN.
It would be good if there was a way to get the .RC file considered in
the project dependencies, but I have no clue how to do that.
On Tue, 2006-05-23 at 15:55 -0400, Chris Recoskie wrote:
> Well, assuming you are using Managed Build, you would need to have
> toolchain definitions that would support Microsoft's resource
> Right now we don't have these. If someone wants to volunteer the
> though we'll happily make them a part of CDT somewhere.
> If you are using Standard Make to build your project you can of course
> anything you wish in your makefile, since you get to write it by hand.
> Chris Recoskie
> Team Lead, IBM CDT Team
> IBM Toronto
> tron.ca> CDT Debug developers list
> Sent by: <cdt-debug-dev@xxxxxxxxxxx>
> [cdt-debug-dev] Resource
> 23/05/2006 03:45
> Please respond to
> CDT Debug
> developers list
> I've been using Eclipse to develop console-mode
> for a
> little while now and so far it has worked really well.
> But upon writing a graphical Win32 application, I
> figure out
> how to specify an .RC file for my project.
> Is there a way (using the Eclipse IDE) to specify a
> that should be compiled and bound to the output executable?
> Thanks in advance.
> cdt-debug-dev mailing list
> cdt-debug-dev mailing list
cdt-debug-dev mailing list