Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit6052f7efee89006921b4ceb1182654526dd67f37 (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-10-25 13:23:34 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-11-03 17:59:55 +0200
Files3c46c168c41fe2c02c0e4f2488d53c9a636e633b
IPL-6052f7efee89006921b4ceb1182654526dd67f37.tar
IPL-6052f7efee89006921b4ceb1182654526dd67f37.tar.gz
IPL-6052f7efee89006921b4ceb1182654526dd67f37.zip
Parentb4a6c3d467682d9e0bb73637b9b80a2641a62970 (diff)
Add genie project for the bison demo
1 files changed, 38 insertions, 0 deletions
-rw-r--r--demo/bison/calc/genie.lua38
diff --git a/demo/bison/calc/genie.lua b/demo/bison/calc/genie.lua
new file mode 100644
index 0000000..62af249
--- /dev/null
+++ b/demo/bison/calc/genie.lua
@@ -0,0 +1,38 @@
+solution 'BisonDemos'
+ configurations {'debug', 'release'}
+ flags {
+ 'Cpp14',
+ 'Symbols',
+ }
+ configuration '*'
+
+ local root = 'build/'
+
+
+ configuration 'debug'
+ targetdir(root .. 'bin/debug')
+ objdir(root .. 'obj/debug')
+
+ configuration 'release'
+ targetdir(root .. 'bin/release')
+ objdir(root .. 'obj/release')
+ flags 'OptimizeSpeed'
+ configuration '*'
+
+ project 'Calc'
+ kind 'ConsoleApp'
+ language 'C'
+ uuid(os.uuid('Calc'))
+ files {
+ 'lex.yy.c',
+ 'parser.tab.c',
+ }
+ project 'DebugCalc'
+ kind 'ConsoleApp'
+ language 'C'
+ uuid(os.uuid('DebugCalc'))
+ defines 'YYDEBUG=1'
+ files {
+ 'lex.yy.c',
+ 'parser.tab.c',
+ }