Code Monkey home page Code Monkey logo

gtest-cmake's Introduction

概述

这个项目是演示, cmake在编译的过程中运行gtest的例子 cmake的编译过程一般按顺序分为

  1. make
  2. build
  3. run test
  4. install

该项目演示在第二步, build时,运行test, 并且在test运行失败时终止 PS:

  • 第三步和第四步非必需
  • 该例子就是演示第二步和第三步合并

该演示的核心功能是cmake/RunGTestBuilding.cmake文件

运行方法

rebuild.bat和rebuild.sh分别是对应平台的编译脚本

生成的目录build, 是编译位置 生成的目录prefix, 是安装位置

gtest-cmake's People

Contributors

tumiwang avatar

Watchers

 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.