Giter Club home page Giter Club logo

Comments (10)

soundofjw avatar soundofjw commented on July 20, 2024

I'll fix this pronto when I get back to the house tonight.

from monocle-engine.

gmacd avatar gmacd commented on July 20, 2024

Noticed the tests have broken refs too :-)

from monocle-engine.

zaphire avatar zaphire commented on July 20, 2024

Premake4 beta can build Xcode4 project files that work (For me at least)

you can run this on the "development" branch and it should work

from monocle-engine.

soundofjw avatar soundofjw commented on July 20, 2024

Yes, this completely threw me off when I first read it. premake4 should work wonderfully. Don't rely on the preincluded project files.

from monocle-engine.

gmacd avatar gmacd commented on July 20, 2024

Ok, I'll do that, but unless you want this to become a recurring problem, it needs to be kept up to date, or replaced with a very explicitly named script that will run premake for the user.

from monocle-engine.

soundofjw avatar soundofjw commented on July 20, 2024

Unless I'm mistaken, premake4 is the only way we're encouraging builds on any system. It's much like CMAKE with other projects. The best solution, I believe, would be to remove the xcode project from git altogether.

from monocle-engine.

zaphire avatar zaphire commented on July 20, 2024

I think what would be most convenient is if we could somehow automate premake4 to build new project files when we push to master.

This would be the nicest option for new folks who just want to try out the engine, I think.

I don't know if such automation is possible, but I suppose it could be as simple as a batch file that we have to remember to run before pushing to master.

Any other ideas? :)

from monocle-engine.

fgenesis avatar fgenesis commented on July 20, 2024

To totally automate things try using a git commit hook as described here:
http://www.kernel.org/pub/software/scm/git/docs/githooks.html -- the pre-commit hook is what you're looking for.
When a new file is generated that needs to be added, exit the hook script with nonzero status to abort committing, add the file, and commit again. Or just invoke "git add xyz" from the script, should work as well.
It is a bit of shell hackery, but once it works, put the file into the repo as well and everyone can use it then.
Makes human error less likely too :)

from monocle-engine.

gmacd avatar gmacd commented on July 20, 2024

Incidentally, how do you guys build the xcode project? I'd like to build the engine and the test apps. I tried 'premake4 --testapp=all xcode4'... It builds into 'Build/gen-xcode4-all' which doesn't seem right... right? (Although it does seem to work)

from monocle-engine.

bzgeb avatar bzgeb commented on July 20, 2024

I probably should've read this ticket before fixing the the project file.

from monocle-engine.

Related Issues (10)

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.