https://github.com/asmlover/chaos
Chaos C++ Library - Cross-platform C++1z components
https://github.com/asmlover/chaos
cpp-utilities cpp1z cross-platform memory-pool multithreading
Last synced: about 1 month ago
JSON representation
Chaos C++ Library - Cross-platform C++1z components
- Host: GitHub
- URL: https://github.com/asmlover/chaos
- Owner: ASMlover
- License: bsd-2-clause
- Created: 2016-12-03T18:44:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T13:33:09.000Z (almost 4 years ago)
- Last Synced: 2025-03-24T03:04:29.521Z (2 months ago)
- Topics: cpp-utilities, cpp1z, cross-platform, memory-pool, multithreading
- Language: C++
- Homepage:
- Size: 547 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Authors: AUTHORS.md
Awesome Lists containing this project
README
# **Chaos: Morden C++ Library**
***## **What is `Chaos`?**
**Chaos is a basic library of C++2a components.*** A collection of C++ class libraries.
* Written in efficient, mordern, 100% `ANSI/ISO Standand C++`.
* Based on and complementing the `C++ Standand Library/STL`.
* Highly portable and available on many different platforms.
* Open Source, licensed under [The FreeBSD License](https://www.freebsd.org/copyright/freebsd-doc-license.html).## **Building**
Chaos use following software as its dependencies:* [CMake](https://cmake.org/) as a general build tool.
To build and run unittests please proceed with the steps below:
* Create directory called `build` or `cmake-build` in Chaos source directory.
* Change to `build` or `cmake-build` directory and run `cmake ..` command to configure your build.
* On Windows, build the solution found in the build directory. On Linux or macOS run `make` from the build directory.
```shell
# On Linux or macOS
$ mkdir cmake-build && cd cmake-build
$ cmake ..
$ make -j
# Run unittests on Linux or macOS
$ ./bin/chaos.test# On Windows
# Setting the building environment(VS2019), such as:
\> %VS2019PATH%\Community\VC\Auxiliary\Build\vcvars64.bat # just for x64
\> %VS2019PATH%\Community\VC\Auxiliary\Build\vcvars32.bat # just for x32
# Building Chaos using command
\> mkdir cmake-build & cd cmake-build
\> cmake -G "NMake Makefiles" ..
\> nmake
# Run unittests on Windows
\> .\bin\chaos.test.exe# Building Chaos using VS2019 solution
\> mkdir cmake-build & cd cmake-build
\> cmake .. # for x86
\> cmake -A x64 .. # for x64
\> msbuild ChaosPROJ.sln
```