|C++ unit tests with plugin and Visual C++ compiler [message #898357]
||Thu, 26 July 2012 05:20
| Peter Brüning
Registered: July 2012
I am not sure, if I've chosen the right forum.
Win7 64 bit
Microsoft Visual C++ 2010
I am searching for a solution for using a unit test plugin for C++ in Eclipse. I tried CUTE, but this doesn't work with the Visual C++ compiler. You can create, compile and execute tests with it, but your information is just shown in the console-view. The "CUTE Test Results"-view is empty and doesn't detect any test.
When I am using the MinGW-compiler out-of-the-box, it also does not working. You can fix it if you set the "-static" linker flag in Properties -> C/C++ Build -> Settings -> Tool Settings -> MinGW C++ Linker -> Miscellaneous.
Because of this, I tried to set the Run-Time Library to "Multi-Threaded Static" in my Visual C++ project (Properties -> C/C++ Build -> Settings -> Tool Settings -> C++ Compiler -> Code Generation). This has no effect on the plugin.
Unfortunately I have to use the Microsoft Visual C++ compiler. Does anybody know a solution for this problem or a different Eclipse plugin with graphical assistance, which is working with Visual C++?
Thanks for all helpful comments!
Powered by FUDForum
. Page generated in 0.02257 seconds