Unrecognized Eclipse configuration ? [message #922363] |
Tue, 25 September 2012 00:40 |
Alex L Messages: 1 Registered: September 2012 |
Junior Member |
|
|
Hi there,
I'm trying to run a different 'main' for GoogleTest (no 'main' function, but TEST() things), which is installed and I'm able to get it to work. I made for my GoogleTests a new configuration named "GTests" based on the Debug configuration.
The problem is, when I exclude the main used to do GoogleTests for the Debug & Release configuration, it's still running in both my Debug and Release (I see the GTests output). It is the only file with Google Tests in it.
Any idea where the problem might be ? I can't seem to get that "Exclude from Build..." thing to work...
Also, I see in "Run configuration" that the plugin seems to always be created at the same place... and putting a variable ( C/C++ Application = "${config_name}/Projectname.exe" ) gives me a runtime error of Eclipse "Problem Occurred - Launching 'NameProject.exe' has encountered a problem. Project name should be specified as variable argument for ${config_name} variable" = ???
Refreshing doesn't work (F5), nor cleaning.
Thank you,
Alex
EDIT : Btw I'm using Eclipse C++ ( if it wasn't clear )
[Updated on: Tue, 25 September 2012 00:47] Report message to a moderator
|
|
|
Re: Unrecognized Eclipse configuration ? [message #922434 is a reply to message #922363] |
Tue, 25 September 2012 02:29 |
|
On 09/24/2012 06:40 PM, Alex L wrote:
> Hi there,
>
> I'm trying to run a different 'main' for GoogleTest (no 'main' function,
> but TEST() things), which is installed and I'm able to get it to work. I
> made for my GoogleTests a new configuration named "GTests" based on the
> Debug configuration.
>
> The problem is, when I exclude the main used to do GoogleTests for the
> Debug & Release configuration, it's still running in both my Debug and
> Release (I see the GTests output). It is the only file with Google Tests
> in it.
>
> Any idea where the problem might be ? I can't seem to get that "Exclude
> from Build..." thing to work...
>
> Also, I see in "Run configuration" that the plugin seems to always be
> created at the same place... and putting a variable ( C/C++ Application
> = "${config_name}/Projectname.exe" ) gives me a runtime error of Eclipse
> "Problem Occurred - Launching 'NameProject.exe' has encountered a
> problem. Project name should be specified as variable argument for
> ${config_name} variable" = ???
>
> Refreshing doesn't work (F5), nor cleaning.
>
> Thank you,
>
> Alex
Read sticky posts at top of forum.
|
|
|
Powered by
FUDForum. Page generated in 0.07946 seconds