microsoftarchive / openFrameworks

OpenFrameworks is a cross platform open source toolkit for creative coding in C++.
http://openframeworks.cc
Other
39 stars 24 forks source link

[winrt branch] Project generator in OF_ROOT #20

Open bilderbuchi opened 10 years ago

bilderbuchi commented 10 years ago

hi!

regarding the files you added in OF_ROOT/projectGenerator - the Project Generator (Simple) is actually not kept there (As you can see, such a folder does not exist in https://github.com/openframeworks/openFrameworks). Instead, this (currently) lives in a submodule projectGeneratorSimple in apps/projectGenerator, which is maintained by @ofZach over at https://github.com/ofZach/projectGeneratorSimple, so any changes/patches should go over there.

I should say that there has been work to re-unite the two different project generators, but nobody has come around to do that yet. I don't know the current status of this - @ofZach, do you?

ofZach commented 10 years ago

the work on restructuring the PG to merge the two lives here (was started around ycam times), but is not completed yet: https://github.com/ofzach/projectGeneratorSimple/tree/restructure

steven-chith commented 10 years ago

So what's the difference between the simple and non-simple version? I used the simple version when creating the winrt version.

bilderbuchi commented 10 years ago

Afaik, simple is the user-facing one (which gets copied into OF_ROOT in release downloads), which someone created for a better UX than the original/advanced/non-simple one. The non-simple one can do different things (generating all examples for a set of specified platforms, e.g.), and is primarily intended for dev use (e.g. when preparing a release; understands command line args,...), but there's still overlap between the two I think.

ghost commented 10 years ago

Need to identify the proper way forward for the WinRT project generator with community

ofZach commented 10 years ago

how can we help?

steven-chith commented 10 years ago

There are buttons in the generator that specify a platform, although the simple one doesn't do anything with its one button. We could add another to specify winrt or not.

ofZach commented 10 years ago

at the moment (and with apologies) there are two project generators. One is in devApps and the other is in a separate repo. The one in devApp is developer facing, it should build all the project files, be able to update an existing project, have command line approaches, allow you to select platform etc.

The simple project generator was developed to make something "user facing". Since users who don't download OF don't have multi-platform setups, it doesn't make sense to give them choices in terms of platforms. Are you suggesting that for winRT you need a multi-platform user facing download?

it might also help if you can look at this design which is where the PG is heading:

http://kikko.fr/share/of-ycam/of_project_generator-v2.png

as part of the 1.0 roadmap:

https://docs.google.com/document/d/1GjgjQZCHTcOD3cT9OFSl0AZ1nhfYwwvxTl5L4OJE6qA/edit#

steven-chith commented 10 years ago

WinRT needs its own platform different than win32 desktop, but it's also possible to spit out both winRT versions and win32 versions from the same generator. Would that be more preferable?

ofZach commented 10 years ago

are they separate OF downloads (see http://openframeworks.cc/download/) as there are for osx and ios, or linux armv6 and linux armv7?

steven-chith commented 10 years ago

Seems as though it will be, yes. We had to recompile every lib used by OF as a Windows Store lib.

ofZach commented 10 years ago

so separate downloads have their own PG that targets that platform only. does that work for you?

steven-chith commented 10 years ago

Sure. So should we just put the source for the winrt version up in your PG repo?

ofZach commented 10 years ago

yes please submit a pull request.