My personal lib
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Bensuperpc 1708a27e27 Update dockcross 1 year ago
.github Improve Dockcross 1 year ago
.vscode
cmake
config_docker
dockcross@311f216402 Update dockcross 1 year ago
lib
src
theme Change submodule url 1 year ago
toolchain
tools
.clang-format
.dockerignore
.gitignore
.gitmodules Change submodule url 1 year ago
CMakeLists.txt
LICENSE
README.md
appveyor.yml
build_docker.sh
clean.sh
coverage.sh
cpack.sh
export.sh
gource.sh
make.sh
nvvp.sh
package.txt
run_docker.sh
scan-build.sh
valgrind.sh

README.md

BenLib

It's my personal C/C++ library

N|Solid N|Solid forthebadge N|Solid

Build test Release Maker GitHub license Activity

Twitter Youtube

New Features !

  • AES and RSA encryption functions
  • Add Doxygen doc
  • New linker
  • Add OpenCL and CUDA programs
  • New CRC32 and JAMCRC algo
  • GTA SA alternate cheats codes finder, via Brute force: JAMCRC collisions generator (WIP)
  • CPack with package installer for Debian, Manjaro, Fedora ect...

Tech

BenLib uses a number of open source projects to work properly:

  • Clang - Clang 10.0 compiler (or GCC 10 min)
  • CUDA - Nvidia CUDA libs and NVCC compiler
  • SFML - Graphic lib
  • OpenCV - Load and image processing
  • Boost - Make units tests and others things :)
  • OpenGL - OpenGL lib.
  • Qt - Qt lib.
  • CMake - Build system.
  • OpenMP - Multi-threading lib. (Not mandatory but really recommended !)
  • OpenCL - Is a framework for GPGUP
  • Docker - Container system (if you use it).
  • TLO - Linker (To replace gold linker)

You can see my public repository on GitHub, and can see my public repository on GitLab.

Building for source

You need to install SFML, OpenCV, BoostLib, OpenGL lib, Qt 5.12 or newer, GCC and G++ (With C++17 support), before build.

git clone https://github.com/Bensuperpc/BenLib.git
cd BenLib
git submodule update --init --recursive

For production release:

./make.sh -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS_DOXYGEN=ON

For minisize release:

./make.sh -DCMAKE_BUILD_TYPE=MinSizeRel

For debug release:

./make.sh -DCMAKE_BUILD_TYPE=Debug -DBUILD_DOCS_DOXYGEN=OFF

For converage release:

./make.sh -DCMAKE_BUILD_TYPE=Coverage -DBUILD_DOCS_DOXYGEN=ON
./coverage.sh

Docker

You must install docker (and docker-compose maybe in later update)

To run docker builder_test :

./build.sh

To export images from docker builder_test (Without builds):

./export.sh

You can see builds on build_docker/

Todos

  • Write MORE Tests
  • Continue dev. :D

License

MIT License

Free Software forever !