Difference between revisions of "Manipulating multiple projects at the same time"

From Code::Blocks
(page creation)
 
(Fix WX_VERSION and WX_CONFIG mismatch)
 
Line 3: Line 3:
  
 
== Changing custom variables ==
 
== Changing custom variables ==
This section shows how to change a custom variable named ''WX_CONFIG'' for the whole codeblocks workspace from ''30'' to ''31'':
+
This section shows how to change a custom variable named ''WX_VERSION'' for the whole codeblocks workspace from ''30'' to ''31'':
  
 
Start the plugin with  
 
Start the plugin with  
Line 12: Line 12:
 
# Activate ''Scan within:Workspace'' to search for the custom variable on the whole workspace
 
# Activate ''Scan within:Workspace'' to search for the custom variable on the whole workspace
 
# Select ''Operation: Change option''
 
# Select ''Operation: Change option''
# Enter the name of the variable ''WX_CONFIG'' in the ''Search item: Option/Var'' field
+
# Enter the name of the variable ''WX_VERSION'' in the ''Search item: Option/Var'' field
 
# Select the scope to ''Custom var'' and write the new value ''31'' in the text field
 
# Select the scope to ''Custom var'' and write the new value ''31'' in the text field
 
# Search at projects and targets: Select 'Search for option: ''At project and target level''
 
# Search at projects and targets: Select 'Search for option: ''At project and target level''

Latest revision as of 15:56, 24 September 2016

Manipulating options of multiple projects in a workspace or targets by hand is a tedious process. There exists a contributed plugin called Project Options Manipulator that helps to change multiple options and properties of build targets or projects.


Changing custom variables

This section shows how to change a custom variable named WX_VERSION for the whole codeblocks workspace from 30 to 31:

Start the plugin with Plugins->Project options manipulator

Menu to project options manipulator.png

  1. Activate Scan within:Workspace to search for the custom variable on the whole workspace
  2. Select Operation: Change option
  3. Enter the name of the variable WX_VERSION in the Search item: Option/Var field
  4. Select the scope to Custom var and write the new value 31 in the text field
  5. Search at projects and targets: Select 'Search for option: At project and target level
  6. Hit ok
  7. Follow the instructions

Project options manipulator changing custom var.png