YLIB
Since its inception in 2019, YLIB has undergone continuous iteration, optimization, and updates. It is now fully capable of supporting the development of nearly all C++ projects. It can serve as a foundational library to assist with basic project construction, and it can also be used for advanced applications through its network, database, and general utility encapsulations.
Build and Deployment
Download project
git clone https://github.com/Liuccysdgg/ylib.git
Windows
create a directory
mkdir ylib_build_vs
enter then directory
cd ylib_build_vs
use cmake generate a visual studio project
cmake ../ylib
Linux(Recommended for Ubuntu)
enter the ylib
cd ylib
execute the build script
chmod 777 build.sh
./build.sh
Building Application
<span style=”color: #0D0D0D; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, “Segoe UI”, Roboto, Ubuntu, Cantarell, “Noto Sans”, sans-serif, “Helvetica Neue”, Arial, “Apple Color Emoji”, “Segoe UI Emoji”, “Segoe UI Symbol”, “Noto Color Emoji”; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: pre-wrap; background-color: #FFFFFF; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;”>On Linux, it automatically installs to the system environment. On Windows, please follow the requirements below for linking and referencing:
Reference Header Files
ylib\include
ylib\3rdparty
Link static libraries
# Library directory
ylib_vs_build\lib\Debug
# essential component (must include)
ybase.lib
# network
ynet.lib
# utility
yutil.lib
# QtGUI
yqt.lib
# MySqlConnectorCpp
ymysql.lib
# Lua support
ylua.lib
🙇致谢
YLIB would not have been possible without the help of existing excellent software in the community.
- https://github.com/ldcsaa/HP-Socket A high-performance network library
- https://github.com/GreycLab/CImg.git A small open-source C++ library for image processing
- https://github.com/FFmpeg/FFmpeg A collection of libraries and tools for handling multimedia content such as audio, video, subtitles, and related metadata
- https://github.com/satoren/kaguya Bindings between C++ and Lua
- https://github.com/lua/lua
- https://github.com/brofield/simpleini A cross-platform library that provides a simple API to read and write INI-style configuration files
- https://www.sqlite.org A C-language library that implements a small, fast, self-contained, highly reliable, and fully-featured SQL database engine
- https://github.com/madler/zlib A general-purpose data compression library