Metrics
0
Watch 1 Star 2 Fork 0

中华人民共和国的网民 / lcpkgNodeJSMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
一个用于管理 Windows C/C++ 项目依赖库的命令行工具 spread retract

Clone or download
Loading...
README.md

LCPkg

(English/中文)

A command line tool for manage Windows C/C++ project dependencies, it is able to:

  • Install dependencies from Vcpkg or GitHub.
  • Save information about your project and its dependencies.
  • Pack resource files, header files and library files into a package file to make your project easier to install.

Screenshot

Quick Start

Prerequisites:

To get started:

npm install -g lcpkg

Tell lcpkg where the root directory of vcpkg is:

lcpkg config vcpkg.root /path/to/vcpkg

Go to your project directory:

cd /path/to/your/project

Tell lcpkg about your project information:

lcpkg init

Install any packages with:

lcpkg install sdl2 curl

If your project is a C/C++ library, and want to publish it to other developers, you can package it:

lcpkg pack

This command will output some files like this:

dist/yourlib_all.lcpkg.zip
dist/yourlib_x86-windows.lcpkg.zip
dist/yourlib_x64-windows.lcpkg.zip
dist/yourlib_x86-uwp.lcpkg.zip
dist/yourlib_x64-uwp.lcpkg.zip

The yourlib_all.lcpkg.zip file includes packages for all platforms and architectures, you can install it like this:

lcpkg install /path/to/yourlib_all.lcpkg.zip

If your project is an open source project and hosted on GitHub.com, you can upload them to the release assets each time you post a release note, and tell your users install it like this:

lcpkg install github.com/yourusername/yourlib

The yourlib_all.lcpkg.zip file is usually large, We recommend you upload files other than it, so that users don't have to wait too long for downloading.

Contribute

There are many ways to contribute to LCPkg.

LCPkg has adopted the code of conduct defined by the Contributor Covenant. This document is used across many open source communities, and we think it articulates our values well. For more, see the Code of Conduct.

License

Code licensed under the MIT License.

Comments ( 0 )

You need to Sign in for post a comment

NodeJS
1
https://gitee.com/lc-soft/lcpkg.git
git@gitee.com:lc-soft/lcpkg.git

Help Search