How can I add a .cpp to Visual Studio .Net that I do not want compiled
in a build?
I have a C++ project, and I want to have some unit test classes in the
project. However, I do not want them compiled in VS because I haven't
gotten cppunit configured for VS. Hence, I would only get errors when
I compile.I am using a makefile to compile the unit tests separately.
However, I would still like to use Intellisense in VS for editing the
unit test classes.
Is this even possible?
Thanks.
Chua Wen Ching - 26 Sep 2004 14:19 GMT
Hi Ed,
In VS.NET 2003, click on the cpp file you want to disable from being built,
then inside the property window, you can see
Excluded from Build: change no to yes
Then you are done :)
Hope i solve your problems.
Regards,
Chua Wen Ching
> How can I add a .cpp to Visual Studio .Net that I do not want compiled
> in a build?
[quoted text clipped - 10 lines]
>
> Thanks.