News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Using custom makefiles and build workspace

Started by pulsar200, January 24, 2009, 05:47:53 PM

Previous topic - Next topic

pulsar200

Hi all

I'm working on a project with two dlls which I compile using custom makefiles in code::blocks. I have a workspace which contain two projects. There is one makefile for each project.

I do however have a small snag. When I select "build workspace" it first builds the first project using my custom makefile, but then proceeds to compile the project without the makefile. This gives a lot of errors and the process halts.

But all I wanted was to build all the projects in my workspace one by one using a custom makefile for each.

How do I disable that code::blocks tries compiling my files without using my makefile? Can I customize what happens when i press "build workspace"?

Thank you
Martin, Denmark

Jenna

This is a known issue, currently we are testing a patch, that fixes the problem and improves working wit custom makefiles a little bit:
See here.

By the way a forum search should have given you some threads about this problem.

pulsar200

Hi Jens

Thank you for the info.

Actually I did try searching, but I didn't find anything.

/Martin

Jenna

If I search for "custm makefiles" leave everything else as it is, I get the thread I posted as sixth (yours is the first).
If I change search-order to most recent first, it's the second (yours is still the first).