Hi Guys,

Just a small patch to improve wxWidgets detection on windows. When
wx-config isn't available, cmake can only detect the monolithic and gl
components. wx-config isn't available when wxWidgets is built without
using msys and is instead built using mingw32-make.

The reason for that is then cmake can be used to create a codeblocks
project file. Cmake cannot do this from msys because sh must *not* be
in the bin path when generating a codeblocks project file!!

As I use codeblocks for everything else on linux + windows, it'd be
nice to use it for KiCad. It will help me develop much quicker as the
code completion features in codeblocks are very good, and I just don't
get on with vi or emacs.

wxWidgets libraries are under the lib/gcc_lib directory using
mingw32-make too instead of lib/gcc_dll so I added this as a search
path for the zlib library search which is hard-coded.

Best Regards,

Brian.

Attachment: cmake_for_mingw32.patch
Description: Binary data

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to