Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nelib package #5761

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Open

add nelib package #5761

wants to merge 10 commits into from

Conversation

hexne
Copy link

@hexne hexne commented Nov 15, 2024

This is a commonly used tool collection library.

use:

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)
import Image;
int main() {
    nl::Image image("path");
    return 0;
}

have module:

  • Image
  • Camera
  • Video
  • File
  • MultArray
  • ProgressBar
  • StringEncrypt
  • BigNumber
  • Time
  • TestRunTime
  • Mouse @todo, linux版本未实现
  • EventListener @todo, linux版本未实现
  • ThreadPool
  • MemoryPool

packages/n/nelib/xmake.lua Outdated Show resolved Hide resolved
packages/n/nelib/xmake.lua Outdated Show resolved Hide resolved
@hexne hexne requested a review from waruqi November 15, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants