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

Native libraries project formats #1

Open
kevinresol opened this issue Feb 28, 2017 · 6 comments
Open

Native libraries project formats #1

kevinresol opened this issue Feb 28, 2017 · 6 comments
Assignees

Comments

@kevinresol
Copy link
Owner

kevinresol commented Feb 28, 2017

Information about each target's native project format and library distribution format.
For use in the toolchain. (Auto create native project, submission helpers, etc).

Target Project Format Distribution Format Repo / Manager Getting Started Submit
JS/Node.js package.json source npm npm init npm publish
C# .nuspec dll NuGet
Java gradle, buck jar, aar maven, jcenter
Python ? source pip
Lua ? source LuaRocks
C++ ? source
static/dyn lib
?
AS3 ? source, swc ?
PHP composer.json source composer composer init packagist.org

Note: If anyone knows the missing information, please comment below and I will update accordingly.

@benmerckx
Copy link

PHP
Project Format: composer.json
Repo / Manager: composer
Getting Started: composer init
Submit: through packagist.org, releases are automatically fetched from a public repository (source must be comitted)

@kevinresol kevinresol self-assigned this Mar 1, 2017
@benmerckx
Copy link

Also, AS3 is probably easiest to be distributed through an .swc file: http://old.haxe.org/manual/swc

@kevinresol
Copy link
Owner Author

kevinresol commented Mar 1, 2017

Argh, right, I actually mean swc instead of swf :p

@ghost
Copy link

ghost commented Mar 3, 2017

C#: NuGet
Lua: LuaRocks
Python: pip

I'll do some more research on project formats, although CMake is a good option for C++

@Lotes
Copy link

Lotes commented May 6, 2019

apt-get is one way to distribute C++ libs.

Another issue is the mass of platform settings.

  • C# comes in different flavors... for Windows, Linux, Framework X.Y.Z, Net Standard X.Y...
  • Java 1.6, 1.7... and so on
  • Python 2.7 or 3.X

It would be great to have an own package distribution server for each platform, I guess.

@Lotes
Copy link

Lotes commented May 6, 2019

For most targets you have actually two options

  1. Compile the native code
  2. Compile C code and create bindings, which should be faster I guess.

In C# there exists "dotnet new ..." to create new applications.

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

No branches or pull requests

3 participants