Giter Club home page Giter Club logo

Comments (14)

yupferris avatar yupferris commented on May 30, 2024 2

agreed about submodules; a custom script is likely much easier to use/work with.

from wavesabre.

kusma avatar kusma commented on May 30, 2024 1

submodules are notoriously hard to work with, and I would recommend against using them unless it provides a lot of benefit over something else.

It's the ugly duckling that was added to Git simply so KDE could convert their SVN repo that used svn:external heavily, but then nobody really gave it the love that was needed... It's not really something that should have been in Git in the first place IMO.

from wavesabre.

yupferris avatar yupferris commented on May 30, 2024

Unfortunately, we still need to support VST3 in order to do this (#89), as even the earliest tagged VST3 SDK releases on Github don't include any of the VST2 SDK code.

from wavesabre.

emoon avatar emoon commented on May 30, 2024

If this isn't possible then a "hack" would be to in a build setup use wget/curl or something like that to fetch and unpack it.

from wavesabre.

yupferris avatar yupferris commented on May 30, 2024

Indeed, we should try to see if that works with this archive link that we currently link to in our docs, and if so, we could provide (platform-specific?) script(s) to set it up more easily.

from wavesabre.

emoon avatar emoon commented on May 30, 2024

Yeah. For windows it would be possible to just include wget/curl and unzip inside a bin directory, and then have a setup.cmd setup.sh etc that just fetches it.

from wavesabre.

emoon avatar emoon commented on May 30, 2024

@kusma In this case it might be ok if it's only to fetch the code and never update it, otherwise I agree

from wavesabre.

emoon avatar emoon commented on May 30, 2024

another problem tho with submodules is that everyone forgets to add --recursive when cloning. Now not a hard problem to fix, but it will be a constant question :)

from wavesabre.

kusma avatar kusma commented on May 30, 2024

@emoon: It's still pretty awkward to set up the project if you're not online or if github has problems, even if you have both repos already cloned. Submodules don't really do the "distributed" part of "distributed version control"...

from wavesabre.

emoon avatar emoon commented on May 30, 2024

Right

from wavesabre.

emoon avatar emoon commented on May 30, 2024

And yeah, I have opted to move away from submodules for most/all of my projects because in the end they are a PITA to work with.

from wavesabre.

LeStahL avatar LeStahL commented on May 30, 2024

It would be possible to use file(DOWNLOAD ...) and file(ARCHIVE_EXTRACT ...) in the CMakeLists.txt to get and unpack the VST3 SDK automatically - that saves the trouble of using scripts (or having the users download it manually).

from wavesabre.

LeStahL avatar LeStahL commented on May 30, 2024

Like this: #92 :)

from wavesabre.

yupferris avatar yupferris commented on May 30, 2024

Fixed in #92

from wavesabre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.