跨平台C语言基础库

2019-11-21  本文已影响0人  ithewei

项目地址:https://github.com/ithewei/hw.git

通过项目跨平台编译的不断打磨,总结的一套跨平台C/C++基础库,可跨linux、windows、mac平台,
可方便用于实际项目中,也可供爱好造轮子的同学参考学习;

Intro

hw 是一套跨平台c/c++基础组件,函数名/类名以h/H开头

platform

required

Getting Started

git clone https://github.com/ithewei/hw.git
cd hw
make httpd curl

bin/httpd -d
ps aux | grep httpd

# http web service
bin/curl -v localhost:8080

# indexof
bin/curl -v localhost:8080/downloads/

# http api service
bin/curl -v -X POST localhost:8080/v1/api/json -H "Content-Type:application/json" -d '{"user":"admin","pswd":"123456"}'

Module

data-structure

base

utils

event

iowatcher

http

other

BUILD

examples

tests

compile options

compile with print debug info

compile WITH_OPENSSL

compile WITH_CURL

compile WITH_NGHTTP2

other features

上一篇下一篇

猜你喜欢

热点阅读