Code::Blocks Forums

User forums => Help => Topic started by: pulsar200 on January 24, 2009, 05:47:53 pm

Title: Using custom makefiles and build workspace
Post by: pulsar200 on January 24, 2009, 05:47:53 pm
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
Title: Re: Using custom makefiles and build workspace
Post by: Jenna on January 24, 2009, 06:11:16 pm
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 (http://forums.codeblocks.org/index.php/topic,9966.0.html).

By the way a forum search should have given you some threads about this problem.
Title: Re: Using custom makefiles and build workspace
Post by: pulsar200 on January 24, 2009, 06:26:29 pm
Hi Jens

Thank you for the info.

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

/Martin
Title: Re: Using custom makefiles and build workspace
Post by: Jenna on January 24, 2009, 06:42:21 pm
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).