Friday, January 05, 2007

Another Update of wxWidgets Project Wizard for Code::Blocks

Another update has been uploaded to the Code::Blocks forum. This release has couple of fixes and new features.

Changes:
  • Supports Pre-compiled headers for BCC 5.5.1 and MSVC 8.
  • Wizard CPP files have been modified to support PCH.
  • "Use the debugging libraries" option have been disabled in Windows part. This option is no longer necessary (See screenshot below).
  • DECLARE_EVENT_TABLE(); in main.h file has been changed to DECLARE_EVENT_TABLE() This is necessary to avoid error while compiling with BCC.
  • msvcrt.lib has been added as /NODEFAULTLIB in Debug target of MSVC 8 to avoid warning messages in some cases.



Please Remember that PCH works well only when you have a large number of static headers to include and your project CPP files have consistent header declaration. So if you have fairly large project written in wxWidgets, you'll notice a Huge decrease in build time.

But improper use may increase Build time if the headers are not consistent. Regeneration of PCH will increase the build time .

Known Issues:
  • PCH support does not work with MSVC 6 or 7.1
  • wx_pch.h file is included in the CPP files and also force included in case of GCC and MSVC. I have kept the force include option as some devs want this to remain. To support Borland, wx_pch.h have been added to CPP files itself. In future this option will be modifed as per CB devs and other users decision.

To download the required files, please visit the following url,

http://forums.codeblocks.org/index.php?topic=4768.msg37945#msg37945

You have to login in order to download them.

Enjoy the new release.

No comments: