User forums > Using Code::Blocks

Environment variable doesn't work with Scons

<< < (2/2)

stahta01:

--- Quote from: a71128 on July 31, 2017, 08:48:05 pm ---
--- Quote from: oBFusCATed on July 31, 2017, 08:23:48 pm ---What are you really trying to do?
Create a custom makefile project that executes scons for building?
Have you tried the env var plugin (http://wiki.codeblocks.org/index.php/Environment_Variables_plugin)?

--- End quote ---
Yes, that is exactly what I would like to achieve.
I wanted to try the env var plugin. However, I  couldn't find the link to the install file.

--- End quote ---

Make sure you have the codeblocks contrib package installed via the normal Linux package installer method.

Then, in Code::Blocks look under "Plugins" -> "Manage Plugins..." to verify the Env Vars plugin is listed and enabled.

Tim S.

BlueHazzard:
And then you can enable the environment variables via
Project->Properties->EnVars option

and set the environment variables via:
Settings->Environment->Environment variables

You can use variable expansion to define environment variables: http://wiki.codeblocks.org/index.php/Variable_expansion

a71128:
Thanks, guys. I got it to work!

Navigation

[0] Message Index

[*] Previous page

Go to full version