Skip to content

MrJoker211/start_A_c_cpp_project

 
 

Repository files navigation

hello world

采用的是Linux(ubuntu)系统开发,确认系统是否安装 gcc g++ make cmake, 缺什么就安装什么。

build

mkdir build
cd build
# 执行cmake 生成 makefile
cmake ..
make
# 执行测试用例
# 执行 ctest OR make test
# 或者进入tests目录 ./test_hello(可查看gtest详细日志)
# 返回源码目录
cd ${OLDPWD}

About

start_A_c_c++_project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 90.0%
  • Python 6.8%
  • CMake 1.1%
  • C 0.9%
  • Starlark 0.8%
  • Shell 0.2%
  • Other 0.2%