Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Win32 icons in programs

Hi Carmine,

I assume that you are using a Managed Make project.  For CDT 3.0, we
plan to add the concept of Custom Build steps which should make what you
want to do fairly easy.  For now, if you are familiar with GNU Make, the
makefile that the Managed Build system generates includes 3, optional,
user-defined makefile segments.  Below is an example makefile.  Notice
the includes of makefile.init, makefile.defs, and makefile.targets.  The
Managed Build system does not generate these files.  The user, i.e. you,
can create these files to add additional rules to the build.

Regards,
Leo


########################################################################
########
# Automatically-generated file. Do not edit!
########################################################################
########

ROOT := ..

-include $(ROOT)/makefile.init

RM := rm -rf

# All of the sources participating in the build are defined here
-include sources.mk
-include $(SUBDIRS:%=%/subdir.mk)
-include objects.mk
-include $(DEPS)
-include $(ROOT)/makefile.defs

all: GNU_EXE.exe

GNU_EXE.exe: $(OBJS)
	@echo 'Building target: $@'
	gcc  -o $@ $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building: $@'

clean:
	-$(RM) $(OBJS) $(DEPS) GNU_EXE.exe

.PHONY: all clean dependents

-include $(ROOT)/makefile.targets

-----Original Message-----
From: cdt-dev-admin@xxxxxxxxxxx [mailto:cdt-dev-admin@xxxxxxxxxxx] On
Behalf Of cecily@xxxxxxxxx
Sent: Saturday, January 15, 2005 4:42 AM
To: cdt-dev
Subject: [cdt-dev] Win32 icons in programs

Hallo everybody,

I would like to know how can I build a program with Eclipse under Win32
adding
to it an icon. I should use the resource compiler and so I should write
a
toolchain, but there is a simpler way for this simple taks??

Thanks, Carmine Cella



____________________________________________________________
Libero ADSL: 3 mesi gratis e navighi a 1.2 Mega. E poi hai l'Adsl senza
limiti a meno di 1 euro al giorno. 
Abbonati subito senza costi di attivazione su http://www.libero.it



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top