gligneul / stdplus

Lightweight extension for ANSI C89

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stdplus Build Status

Lightweight extension for ANSI C89

Modules

  • stdplus/inttypes: Size of integer types
  • stdplus/mem: Memory allocation utilities
  • stdplus/vector: Dynamic array (like stl vector)

How to build

cd path/to/stdplus
mkdir build; cd build
cmake -DCMAKE_INSTALL_PREFIX=custom/install/dir ..
make
make install

Add to another project

Add stdplus as a git submodule:

cd path/to/myproject
mkdir ext
git submodule add https://github.com/gligneul/stdplus.git ext/stdplus

Now add it to your top level cmake file:

add_subdirectory(ext/stdplus)
target_link_libraries(mylib stdplus)

About

Lightweight extension for ANSI C89

License:MIT License


Languages

Language:C 67.5%Language:C++ 27.7%Language:CMake 4.8%