Class SetEnvironmentVariable


  • public class SetEnvironmentVariable
    extends ProcessRunner
    A template process for setting an environment variable in all of the new project's build configurations. E.g.,
      <process type="org.eclipse.cdt.core.SetEnvironmentVariable">
          <simple name="projectName" value="$(projectName)"/>
          <complex-array name="variables">
              <element>
                  <simple name="name" value="QMAKE"/>
                  <simple name="value" value="$(qmake)"/>
              </element>
          </complex-array>
      </process>
     
    This will create an environment variable called "QMAKE" and will set the value to be the value entered in a field (called qmake) in the New Project wizard.
    Since:
    5.6