|
Re: Multiple projects in Oxygen [message #1751145 is a reply to message #1751141] |
Wed, 04 January 2017 23:02 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
I think you are confusing launch configurations with projects. The project is used to create and contain the executable. The launch configuration is used to run the program or debug it. The launch configuration is not associated with any projects. You can theoretically run or debug any executable in your system. Both run and debug use the same configuration file.
After copying a project you need to rebuild it. The following is showing a copy of project Hello to Hello2. It has been rebuilt. The executable's name is Hello2
You then create one or more launch configurations with different arguments. The name of the configuration must be unique.
http://help.eclipse.org/neon/index.jsp?topic=%2Forg.eclipse.cdt.debug.application.doc%2Ftasks%2Fcdt_t_new_run_config.htm
NOTE; step (2) is incorrect. It should read Run-->Run Configurations ... and Debug-->Debug Configurations ...
Run-->Run and Debug-->Debug will use the last selected configuration.
[Updated on: Wed, 04 January 2017 23:08] Report message to a moderator
|
|
|
|
Re: Multiple projects in Oxygen [message #1751237 is a reply to message #1751213] |
Fri, 06 January 2017 04:22 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
Projects and Launch configurations are two different things. Projects contain the files needed to build an application/executable. Once built, you only need the executable and run time dynamic libraries. They could be among the project files or installed elsewhere in the system. A project with a C/C++ flavor offers CDT. I have projects that mix C++, Perl and R. The R (StatET) projects are actually extensions of CDT.
Launch configurations are for built executables/scripts. The launch configurations differ a bit depending on what is being used. So "C/C++ applications" would be appropriate to run or debug C/C++ executables. "Perl Local" (if you have Perl EPIC installed) to run Perl scripts, etc. Then there are configurations for attaching to a running C/C++ application and for debugging a remote one.
|
|
|
Powered by
FUDForum. Page generated in 0.04882 seconds