On 9/30/2014 8:53 AM, Alexey Pavlov wrote:
>
> 30 сент. 2014 г., в 16:35, Richard Shaw <[email protected]
> <mailto:[email protected]>> написал(а):
>
>> On Tue, Sep 30, 2014 at 7:28 AM, Wayne Stambaugh
>> <[email protected] <mailto:[email protected]>> wrote:
>>
>>
>> find_package( wxWidgets 3.0.0 COMPONENTS gl aui adv html core net base
>> xml REQUIRED )
>>
>> will still find wxWidgets even if the version is 2.8.12. There
>> are some
>> other problems with cross building that we fixed as well. I've
>> recently
>> added the version checks so that I could force the version of
>> wxWidgets
>> to 3 or greater for building KiCad.
>>
>>
>> I recently took over maintainer-ship of the FindwxWidgets.cmake module
>> so if you'd like to see about incorporating your changes upstream
>> please feel free to contact me directly.
>>
>> In all likelihood though, any updates would probably not be released
>> upstream until CMake 3.1
>>
>> In the project I use wxWidgets for I just check for the version
>> manually via execute_process and using the wx-config script, however,
>> this would only work for *nix systems (or msys/cygwin). Does your
>> script have an OS-agnostic method?
>>
>>
> No. Using CMake without msys/cygwin you can’t proper get version of
> wxWidgets I think. Solution maybe to write C/C++ test that link with
> wxWidgets and return version of it.
This does not work for cross builds and we have quite a few developers
who create mingw builds on Linux. I use regular expressions to extract
the version info from wx/version.h in the path(s)
(${wxWidgets_INCLUDE_DIRS}) where wxWidgets was found.
>
>
> P.S.: I’m finishing building wxPython for MSYS2 repo with mingw-python2
>
> Regards,
> Alexey.
>
>> Thanks,
>> Richard
>> ------------------------------------------------------------------------------
>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk_______________________________________________
>> Msys2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/msys2-users
>
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Msys2-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/msys2-users
>
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users