Ecere Software
/
sdk
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc42245
)
ide: Exporting environment variables to the compiler config
author
Jerome St-Louis
<jerome@ecere.com>
Wed, 5 Sep 2012 19:26:11 +0000
(15:26 -0400)
committer
Jerome St-Louis
<jerome@ecere.com>
Wed, 5 Sep 2012 19:26:11 +0000
(15:26 -0400)
ide/src/project/Project.ec
patch
|
blob
|
history
diff --git
a/ide/src/project/Project.ec
b/ide/src/project/Project.ec
index
c94748f
..
5e1d8c7
100644
(file)
--- a/
ide/src/project/Project.ec
+++ b/
ide/src/project/Project.ec
@@
-1987,6
+1987,14
@@
private:
f.Printf("UPX := upx\n");
f.Printf("\n");
+ if(compiler.environmentVars && compiler.environmentVars.count)
+ {
+ f.Printf("# ENVIRONMENT VARIABLES\n");
+ for(e : compiler.environmentVars)
+ {
+ f.Printf("%s := %s\n", e.name, e.string);
+ }
+ }
f.Printf("UPXFLAGS = -9\n\n"); // TOFEAT: Compression Level Option? Other UPX Options?