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.