Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 872 Bytes

File metadata and controls

34 lines (24 loc) · 872 Bytes

#如何在Linux(NetBeans)上运行cpp-tests

##环境要求

完成这些,让我们安装NetBeans。

##安装NetBeans

它可能需要指定--javahome指向你的JRE安装位置。

sh netbeans-8.0-cpp-linux.sh --javahome 

##创建新项目

 File -> New Project
 Category -> C/C++ and Projects: C/C++ Project With Existing Sources
 Browse and select your source tree
 NetBeans will recognise it is a `CMake` based project and setup the rest for you
 Build Project (from toolbar)
 Run Project (from toolbar)

应用程序运行结果如下:

img