Commit Graph

104 Commits

Author SHA1 Message Date
Tobias Hunger
1ff6f940fc Environment/Win: Handle extensions when looking for executables
Properly handle extensions when looking up executables in the path
on windows.
2010-10-15 18:28:19 +02:00
Tobias Hunger
ad008b9b57 Environment: Disable escaping when expanding variables
This breaks too much on windows.

Reviewed-by: dt
2010-10-08 14:30:26 +02:00
Tobias Hunger
e851684e9d Environment: New method to find an executable
Add a method to find an executable:
 * Expand environment variables
 * If relative: Check provided directories
 * If still not found: Check the path

Reviewed-by: dt
2010-09-24 16:35:03 +02:00
Tobias Hunger
f5c044fe48 Move ProjectExplorer::Environment to Utils::Environment
Reviewed-by: dt
2010-09-23 13:40:26 +02:00