Skip to content

Please make this repo cmake noob build friendly #113

Description

@gwald

Hi there,

Nice project but OMG I thought it was just me and my loathe for anything cmake! lol
@davidthings is 100% right about "Most projects have a pattern as follows:"
From mosra/magnum#428

The splitting of projects isn't the problem, the problem is explained many times by David and others trying to install examples.

The example repo is the hardest to set up and yet it's really the first point of contact.
And it's not clearly explained how to actually set it up via command lines.
To me this post is more clear than all the wordy pages on your site:
mosra/magnum#106

To me It feels like a reverse engineering and trial and error process to build the examples!
This is a huge road block for anyone that's not a cmake expert.

This examples repo should have all the deps. core, extensions, plugins etc etc linked or included and installed from a single:
git clone --recurse-submodules
Then build ALL your relevant (platform/GPU API) examples and run them with ZERO messing around.
That should be the examples repo's main priorities, 1 easy to build and 2 play with all examples and features etc.
This is the real starting point for most people, and you either onboard them or drop them.

I would recommend putting everything in the repo so it all builds in a single directory, that way we can clearly see and find things, just like the script above, instead of installing and hunting for things.

Next running it and putting into an IDE and stepping through the code is what I would expect to do, then testing with other graphics API's and other platforms etc and then after the initial playing around with examples, then your "getting started" makes sense, when people are actually familiar with it, not before.

Anyway,
I hope that helps.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions