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 6 days ago
.github Improve Dockcross 7 days ago
.vscode Fix build failed 4 months ago
cmake Imrpove 1 week ago
config_docker Test docker 43 1 week ago
dockcross@311f216402 Update dockcross 6 days ago
lib Test docker 38.5 1 week ago
src Fix Docker and improve it 2 weeks ago
theme Fix 7 days ago
toolchain Imrpove 1 week ago
tools Fix coverage 7 months ago
.clang-format Add CUDA and OpenCL to doc 1 month ago
.dockerignore Add docker and fix some issues 6 months ago
.gitignore Improve CMakefile 1 month ago
.gitmodules Change dockcross 7 days ago
CMakeLists.txt Test docker 38 1 week ago
LICENSE Initial commit 7 months ago
README.md Improve readme 1 month ago
appveyor.yml Improve 1 month ago
build_docker.sh Fix Docker and improve it 2 weeks ago
clean.sh Fix clang-format crash, Improve cmake 2 months ago
coverage.sh Add DOXYGEN 1 month ago
cpack.sh Add CPack and RPM 1 month ago
export.sh Test docker 29 1 week ago
gource.sh fix fusion 4 months ago
make.sh Fix Docker and improve it 2 weeks ago
nvvp.sh Improve speed 2 months ago
package.txt Improve install 1 month ago
run_docker.sh Test docker 13 2 weeks ago
scan-build.sh Huge update: Add cppcheck, Improve coverage, Add scan-build, Improve Cmakefile 2 months ago
valgrind.sh Fix bug 1 month ago

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 !