kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #41242
Re: [Patch] Cleanup of cmake python flag dependency handling
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Thu, 27 Jun 2019 14:35:21 -0400
-
In-reply-to:
<CACp=Vfbe1HnARyM6Rq9+HrjwgMo+QTeLkCOGcchb=iPsXXOP=w@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2
Hi Ian,
I merged your patch into the master and 5.1 branches of KiCad. Thank
you for your contribution to KiCad.
Cheers,
Wayne
On 6/20/2019 12:37 PM, Ian McInerney wrote:
> Based on the previous discussion on the list about the cmake handling
> for the python flags, I have made the attached patch for master. In it I
> have cleaned up how all the KICAD_SCRIPTING_* flags are handled in the
> main cmake file so that now the flag KICAD_SCRIPTING acts as a global
> off switch for all python support (it will set all other flags to OFF
> when it is set to OFF by the user). I have also added version checking
> to the wxPython detection portion, so that it now verifies that Phoenix
> was actually found when it was requested, and that the classic interface
> was found if it was requested. A mismatch in the wxPython requested
> flavor and found flavor is a fatal error for the process so the user has
> to sort out what is happening with their versioning.
>
> I do not believe these changes will break existing build processes,
> since they should already have the flags in the valid combinations and
> the defaults for the flags remain the same.
>
> -Ian
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References