所以我有一个visual studio 2015 c ++项目,其中包含一个与cxx文档中的一样的testsuite.h文件。我运行cxxtestgen python工具来生成testsuite.cpp。我将testsuite.cpp文件放在另一个visual studio 2015 c ++空项目中。将cxxtest添加到项目的其他包含目录中。 但是当我构建时,我得到以下错误:
cannot open include file: cxxtest/TestListener.h
但它在附加的包含目录文件夹中。