Tram is now an optional dependency

This commit is contained in:
2026-04-11 12:31:37 +10:00
parent fcf9a13fa1
commit 18ac18bc6d
4 changed files with 24 additions and 4 deletions

View File

@@ -111,7 +111,11 @@ int main(int argc, char** argv) {
}
if (compile) {
#ifdef GROUND_COMPILE_WITH_TRAM
compileGroundProgram(&program, "program.gexe");
#else
printf("This version of Ground has been compiled without Tram, so compilation is not supported.\n");
#endif
} else if (writeBytecode) {
serializeProgramToFile(outFileName, &program);
} else {