I Compile my GTests using my own configuration:
<ProjectConfiguration Include="Test|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
I Run my GTests using a custom made Target
<Target Name="RunTests">
<Message Text="Configuration: $(Configuration)" Importance="High" />
<Exec Command="..\$(Configuration)\@(BuildProjectFile->'%(Filename)').exe" />
</Target>
I would like to run my GTest using VS2010 instead of running it as its own executeable. I want the advantage of using the VS2010 debugger to debug my tests.
Is there a correct task to start my compilation so the debugger picks it up or do i rather have to return something to VS2010 so it starts executing on its own?