Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Dependencies for post-build step

Hi Delicia,

 

What CDT version are you using?

I do not get a full rebuild when I modify a post-build step with the CDT sources from HEAD.

 

Mikhail

 


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Delicia
Sent: Wednesday, September 13, 2006 4:28 PM
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Dependencies for post-build step

 

Hi,

 

    I have a managed make C project (executable), which has successfully built.

I make a small modification to the post-build step and get:

**** Full rebuild of configuration Debug for project CDT_hello ****
make -k clean all

 

 

Shouldn't the post-build step be "incremental", and not do a clean rebuild?

I looked at the generated makefile, it has:

# All Target
all: CDT_hello.exe

 

# Tool invocations
CDT_hello.exe: $(OBJS) $(USER_OBJS)
.....

.....

 $(MAKE) --no-print-directory post-build

 

post-build:
....

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Shouldn't it rather be:

all: CDT_hello.exe post-build

 

# Tool invocations
CDT_hello.exe: $(OBJS) $(USER_OBJS)
.....

.....

 

 

post-build: CDT_hello.exe
....

 

 

Also, "post-build" is listed as a SECONDARY target, not sure on the implications of this part.

 

Thanks,

Delicia.


Back to the top