Code Monkey home page Code Monkey logo

nginx_cmake's Introduction

Nginx-CMake

简介

这是一个用于生成Nginx对应CMakeList.txt的脚本
主要在CLion对Nginx进行开发,调试时使用

使用方法

  • 1.将src中的cmake复制进nginx/auto里边
  • 2.将nginx/configure中的. auto/make上加上. auto/cmake
  • 3.正常编译Nginx(若没有指定目录,则相关文件在objs/下)
  • 4.复制Nginx相关源码到你的项目中
  • 5.用CLion创建项目,开始用CLion开发Nginx

TIPS:

  • 推荐加上--builddir=输出文件更方便
  • Tengine有点麻烦,因为他强制需要openssl而且指定的库目录有点奇怪,所以还需要大家在本脚本的基础上多多修改

最后

哈哈哈,本人才疏学浅,这个脚本写的灰常low,若有dalao发现什么不好的地方,请多指教!

nginx_cmake's People

Contributors

toudsour 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.