Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: J. on December 12, 2015, 02:03:59 am

Title: Auto-generated file not dependent on compiler (chosen for build target)
Post by: J. on December 12, 2015, 02:03:59 am
I want to have a file pre-processed by two different applications (configured in build targets with different compilers), however the two sets of auto-generated files are simultaneously activated for compilation and linking. This regularly causes that the build process cannot be completed, since both auto-generated files are part of the linking list. 

Set-up when file .a is supposed to be precompiled by either prog1 or prog2 with different auto-generated files:
So here my wishlist:

I hope I am not missing anything here, but happy to see how I could configure CB as is now to get build target dependent auto-generated files.

Working on Win10, CB13.12 and CB nightly (21.11.2015/rev10595/win32)

Many thanks in any event,
J./
Title: Re: Auto-generated file not dependent on compiler (chosen for build target)
Post by: scarphin on December 12, 2015, 03:08:31 am
I submitted a patch for this long ago but it is a complicated one including many other bug fixes and features. I will separate the features and bug fixes into smaller patches, hopefully in near future, but I don't think it will be included in 15.xx release.
Title: Re: Auto-generated file not dependent on compiler (chosen for build target)
Post by: J. on December 14, 2015, 12:49:29 pm
Sounds good. Happy to test.