]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
xon compile flags martin-t/qc2rust
authorMartin Taibr <taibr.martin@gmail.com>
Sun, 17 Nov 2019 11:54:13 +0000 (12:54 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Sun, 17 Nov 2019 11:54:13 +0000 (12:54 +0100)
.gitignore
tests/_tmp.qc

index 478b9673aee97db25d00e23849b5fa2aec08274a..13851e220da34905c667b45cf919f0104b5717f4 100644 (file)
@@ -13,3 +13,6 @@ testsuite
 
 build/
 .idea/
+
+out.dat
+out.lno
index 52937a5b612810362d706fbaa009f4b5cc57eff5..ddd519680afd3e31feff6584e52b30d1d1246a37 100644 (file)
@@ -15,4 +15,7 @@ float  (float val)                floor     = #14;
 float  (float val1, float val2)   pow       = #15;
 vector (string str)               stov      = #16;
 
+// xon uses these flags:
+// ./gmqcc -std=gmqcc -Ooverlap-locals -O3 -Wall -Wno-field-redeclared -flno -futf8 -fno-bail-on-werror -frelaxed-switch -freturn-assignments tests/_file.qc -o out.dat && ./qcvm out.dat
+
 void main() {}