【发布时间】:2014-09-28 03:03:19
【问题描述】:
我正在一个项目中,我需要包含库自动 cppunit 测试。 我需要用 g++ 编译项目,并且不包含库作为编译命令
g ++ -Wall main.cc xx.cc xx.h test.cc xx-xx-test.h
我也不知道库安装linux系统的路径。
任何知道该主题的人都会提供帮助
库:cppunit-1.13.2 编译器:g++
【问题讨论】:
-
我不确定你想要什么。教程?你有什么问题?请尝试遵循预期的问题/答案格式。
-
嗨,感谢您的评论我需要行 c ++ 编译一个包含库的程序...例如:g++ main.c -o test
标签: c++ linux unit-testing g++ cppunit