Giter Club home page Giter Club logo

vscode_cmake_template's Introduction

Project Template

CMake的项目模板, 支持boost1.68, gtest, opencv这些第三方库;

项目结构说明

.
├── Basic
├── build
├── CMakeLists.txt
├── doc
├── main.cpp
├── README.md
├── Test
└── ThirdParty
  • Basic文件夹:存放着一些基础的源文件,不依赖于项目中的其它文件;

  • build文件夹:存放着编译生成的makefile文件,库文件,可执行文件等文件,这个文件夹不被git跟踪;

  • CMakeLists.txt: 是整个项目的编译规则;

  • doc: 存放着这个项目的配置文件,以及这个项目所有源文件的介绍文档;

  • main.cpp: 是整个项目的入口;

  • README.md: 是关于这个项目的介绍;

  • Test文件夹: 是用于存放测试内容的源文件,只需要在CMakeLists.txt添加源文件(去掉后缀),如果需要链接第三方库,也需要自己添加。

  • ThirdParty文件夹: 存放着项目引用的第三方库(boost, opencv, gtest),目的是实现与平台的低耦合。

当构建整个文件的时候,会同时构建项目以及测试;

至此,不打算继续维护它了,它的进一步开发在Tools这个项目中https://github.com/AZMDDY/Tools.git

vscode_cmake_template's People

Contributors

jsntsch avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.