- Image
- Camera
- Video
- File
- MultArray
- ProgressBar
- StringEncrypt
- BigNumber
- Time
- TestRunTime
- Mouse @TODO, linux版本未实现
- EventListener @TODO, linux版本未实现
- ThreadPool
- MemoryPool
- TerminalMenu @TODO, 不能使用键盘上下按键进行选择
git clone https://github.com/hexne/NeLib.git
cd NeLib
mkdir build && cd build
cmake .. -G Ninja -DCMAKE_CXX_COMPILER=/usr/bin/clang++
cmake --build .
sudo cmake --install .
cmake_minimum_required(VERSION 3.29)
project(untitled)
set(CMAKE_CXX_STANDARD 23)
find_package(NeLib REQUIRED)
add_executable(untitled
main.cpp
)
target_link_libraries(untitled
NeLib
)
add_rules("mode.release", "mode.debug")
add_repositories("nelib ~/Projects/xmake-repo")
set_languages("c++2b")
add_requires("nelib 2024.11.15", {configs = {modules = true}})
target("test")
set_kind("binary")
add_files("src/*.cpp")
add_packages("nelib")
set_policy("build.c++.modules", true)