无法编译cxxtest生成的cpp文件

时间:2016-10-31 05:01:20

标签: c++ visual-studio unit-testing visual-studio-2015 cxxtest

所以我有一个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

但它在附加的包含目录文件夹中。

0 个答案:

没有答案