← Back to team overview

kicad-developers team mailing list archive

Re: Listing CMake build options

 

No hurry on this.  I consider it a very low priority.  I would rather
you continue bug fixing in preparation for the stable 5 release.

On 12/7/2017 11:46 AM, Maciej Sumiński wrote:
> 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
>>
> 
> 
> 
> 
> _______________________________________________
> 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