Red Hat Developer Day – 26 June 201245
Running Your Executable Continued...
●
For more complex cases
●
Right-click on executable and select Run as.. -> Run Configurations...
●
This brings up the Run Configurations dialog
●
Can select type of executable
–
Should default to C/C++ Application
●
Can add arguments for main() via Arguments tab
●
Can specify environment variables via Environment tab
–
Note that build environment variables are not the same
–
Cannot specify build variables for environment variable values
–
Set of default variables you can work with (e.g. workspace_loc)
–
Can append to native environment or replace it
–
specify LD_LIBARY_PATH for libraries in your workspace
Commentaires sur ces manuels