Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: LETARTARE on April 13, 2025, 01:17:44 am

Title: Custom variables
Post by: LETARTARE on April 13, 2025, 01:17:44 am
Context : writing the programming of a plugin for 'CB'.

In the menu :
Quote
'Project->Build Options ...->Custom variables'
:
What are the class methods for reading all the variables for the project and for the different targets ?
Title: Re: Custom variables
Post by: LETARTARE on April 16, 2025, 10:41:51 am
I still have no lead ...
Title: Re: Custom variables
Post by: Miguel Gimenez on April 22, 2025, 06:47:05 pm
If you are referring to "Custom variables" in "Project build options", look at CompilerOptionsDlg::DoFillVars() and other methods involving "lstVars".
Title: Re: Custom variables
Post by: LETARTARE on April 25, 2025, 02:00:56 am
Thank you very much.
This is exactly what I needed to read user-defined variables from a project.