Author Topic: Patch for Windows wx28 cbp files needed for PCH version of sdk.h to be used.  (Read 4986 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
I am working on a patch to add the proper sdk.h PCH search folder to CB projects using wxWidgets 28 under Windows.

I am only doing some of the CB Contrib Projects and 4 or 5 other CB Projects.

Criteria of Project selection uses sdk.h in a source file include (source file means non-header file in this message thread).

Is easy to test that the PCH file is being used.

Skipped "SmartIndent" project because of complexity to test.
Skipped "wxSmith" projects because I thought the gain was likely not worth trying at this time.
Skipped "FortranProject" project because of weird error at this time; will need to figure out cause or good work around.

Patch available at https://github.com/stahta01/codeblocks/tree/PCH/Patches
This patch is called "cb_cbp_wx28_add_objs_include_search.patch"

Still testing this patch for build issues.
No build issues noticed; the CodeCompletion Project still needs better testing and it has a PCH warning now.
The  "BrowseTracker" Plugin now also has a PCH warning where the incorrect header "sdk_precomp.h" is used instead of the correct "sdk.h".

Tim S.
 
« Last Edit: February 01, 2014, 05:15:34 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org