tads-intfic/tads-runner

Standalone CMake script

Closed this issue · 5 comments

This repository has inherited the CMake script from Garglk, which obviously won't work outside of it. It would be good if it worked stand alone, ideally for both a console/curses port, and the Glk port.

Or maybe two CMake scripts would be best, one for each port. That's probably more sensible.

We could use some git magic to move all the Glk "os" files to a glk folder and keep their history. If we do that now it wouldn't be too disruptive, which it would be later. But there are internal paths which would no longer work at any of those commits. Pros and cons on both sides.

I don't think there should be any build files in this repo. This isn't an interpreter, after all. It's just the Tads base code, as used by the various terps out there.

Maybe. But for the Glk port, if it's like Glulxe then there's little reason to not provide a build script of some sort, as it should only need you to point it to the Glk lib's location in order for you to build it. Obviously the more involved interpreters shouldn't include their stuff here, but I'd like for the Glk lib to become even more generic than it is now, so that it can safely be built against all Glk libs, not just Garglk (though with less functionality of course.)

In that case just a normal commit moving files to their own directory should be totally fine, I think.

I moved the glk files to a glk folder, rewriting their history. This should be the last history change, we shouldn't need any more.