Closed EYHN closed 2 years ago
I have tested it works fine on windows
hey man, Is it possible to have static link as an option? I guess would be nice to have the user to decide if he wants to use the library statically linked with prebuilt assimp or use the one available on his own system. Regarding 5.2.2, I am not sure if it breaks user space. Anyways, on russimp side I increase its version everytime russimp-sys is modified.
Yes, man. I agree that it makes sense to provide an option here. So by default should we use static links or system libraries, you decide?
hey man, sorry for the delay answering you. Lets make system libraries by default. Since this is the current default.
Please take a look at the latest changes, uses the system assimp library by default
thanks for the contribution bud. Soon as I leave the office, Today, I will review it :)
hey bud, I didn't forget your PR. I am moving to a new house, as soon as I get that sorted Ill come back to this :)
close #25
This pr adds prebuilt feature to
russimp-sys
, When the prebuilt feature is enabledrussimp-sys
will not depend on the system wideassimp
installation, at the cost of a larger compiled executable. Please see the changed readme file for details.Prebuilt results can be viewed here https://github.com/EYHN/russimp-sys/actions/runs/1908424353 https://github.com/EYHN/russimp-sys/releases
TODO
assimp
as a submodule and checkedout tov5.2.2
. Doesrussimp
need any changes for this? Although I tested all of them and all passed.test:
Maintenance Guide
!!! The new action requires a secret named
ACCESS_TOKEN
with a personal access token withrepo
scopes access, created from here https://github.com/settings/tokens/newWhen releasing a version, first change the version in Cargo.toml.
Then use git to create a tag with the version number, action will run to compile pre-built packages for each platform and upload them to github releases.
Releases are saved as drafts so no one else can see them, so don't forget to click publish release when you're done.
Then manually publish to crates.io. Publishing is irreversible, so I think it's better to do it manually.