kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #32290
Re: Listing CMake build options (was: Simulator towards 5.0)
-
To:
<kicad-developers@xxxxxxxxxxxxxxxxxxx>
-
From:
Maciej Sumiński <maciej.suminski@xxxxxxx>
-
Date:
Thu, 7 Dec 2017 17:46:14 +0100
-
Authentication-results:
spf=pass (sender IP is 188.184.36.48) smtp.mailfrom=cern.ch; lists.launchpad.net; dkim=none (message not signed) header.d=none;lists.launchpad.net; dmarc=bestguesspass action=none header.from=cern.ch;
-
In-reply-to:
<2badb5df-148c-2dc3-eb77-e373e3478c74@gmail.com>
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:99
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
I agree it would be much better here, but this is what could be easily
extracted using the available CMake commands. I think the alternative is
write a CMake macro that would be used in place of options() to create
the list of build options and their descriptions. It should not be hard,
I will look into it.
Cheers,
Orson
On 12/07/2017 05:03 PM, Wayne Stambaugh wrote:
> Orson,
>
> The list contains far more information than the feature build options.
> I would prefer that it only include variables defined by using the cmake
> option() macro. What I would really like is the output to include the
> option description similar to using autotools `configure --help` with
> the nice formatting. I think searching for KICAD_* is going cause
> issues by dragging in variable that are not options. I don't know if
> there is a way to get just the variables defined in cmake options() or
> if they get lumped in with all of the other variables.
>
> Cheers,
>
> Wayne
>
> On 12/7/2017 5:38 AM, Maciej Sumiński wrote:
>> Oops, fixed version attached. Thank you for checking.
>>
>> Regards,
>> Orson
>>
>> On 12/07/2017 11:35 AM, Clemens Koller wrote:
>>> Hi!
>>>
>>> FYI: Your patch also touches OPENGL_GAL::BitmapText()...
>>>
>>> Regards,
>>> Clemens
>>>
>>> On 2017-12-07 09:27, Maciej Sumiński wrote:
>>>> The attached patch lists options that have "KICAD" in their name when
>>>> calling CMake:
>>>>
>>>> -- Build configuration:
>>>> -- KICAD_BIN=bin
>>>> -- KICAD_BRANCH_NAME=
>>>> -- KICAD_DATA=share/kicad
>>>> -- KICAD_DEMOS=share/kicad/demos
>>>> -- KICAD_DOCS=share/doc/kicad
>>>> -- KICAD_INSTALL_DEMOS=ON
>>>> -- KICAD_LIB=lib64
>>>> -- KICAD_PLUGINS=lib64/kicad/plugins
>>>> -- KICAD_SCRIPTING=OFF
>>>> -- KICAD_SCRIPTING_ACTION_MENU=OFF
>>>> -- KICAD_SCRIPTING_MODULES=OFF
>>>> -- KICAD_SCRIPTING_WXPYTHON=OFF
>>>> -- KICAD_SPICE=OFF
>>>> -- KICAD_TEMPLATE=share/kicad/template
>>>> -- KICAD_USER_CONFIG_DIR=/home/orson
>>>> -- KICAD_USER_PLUGIN=lib64/kicad/plugins
>>>> -- KICAD_USE_OCE=OFF
>>>> -- KICAD_VERSION_EXTRA=
>>>>
>>>> Perhaps that would be sufficient to inform the user about the flags he
>>>> may change.
>>>
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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
>
Attachment:
signature.asc
Description: OpenPGP digital signature
Follow ups
References
-
Simulator towards 5.0
From: Kristoffer Ödmark, 2017-12-04
-
Re: Simulator towards 5.0
From: kristoffer Ödmark, 2017-12-04
-
Re: Simulator towards 5.0
From: Nick Østergaard, 2017-12-04
-
Re: Simulator towards 5.0
From: Kristoffer Ödmark, 2017-12-05
-
Re: Simulator towards 5.0
From: Nick Østergaard, 2017-12-05
-
Re: Simulator towards 5.0
From: Wayne Stambaugh, 2017-12-05
-
Re: Simulator towards 5.0
From: Nick Østergaard, 2017-12-05
-
Re: Simulator towards 5.0
From: Maciej Sumiński, 2017-12-05
-
Re: Simulator towards 5.0
From: Nick Østergaard, 2017-12-05
-
Re: Simulator towards 5.0
From: Maciej Sumiński, 2017-12-05
-
Re: Simulator towards 5.0
From: Simon Richter, 2017-12-05
-
Re: Simulator towards 5.0
From: Wayne Stambaugh, 2017-12-06
-
Re: Simulator towards 5.0
From: Jacob Schmidt, 2017-12-06
-
Re: Simulator towards 5.0
From: Wayne Stambaugh, 2017-12-06
-
Re: Simulator towards 5.0
From: Maciej Sumiński, 2017-12-07
-
Re: Simulator towards 5.0
From: Clemens Koller, 2017-12-07
-
Re: Simulator towards 5.0
From: Maciej Sumiński, 2017-12-07
-
Re: Simulator towards 5.0
From: Wayne Stambaugh, 2017-12-07