Website Summary Files Commits Branches @commit @diff @stats
path: root / demo / flex / genie.lua
diff options
context:
space:
mode:
Commiteddc31d42bce24b97e18e8ed765888af7ddbb44f (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-10 21:30:02 +0300
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-10 21:30:02 +0300
Filese61d773fbc95e9e87e38a4ed4be651afc978faf7 /demo/flex/genie.lua
IPL-eddc31d42bce24b97e18e8ed765888af7ddbb44f.tar
IPL-eddc31d42bce24b97e18e8ed765888af7ddbb44f.tar.gz
IPL-eddc31d42bce24b97e18e8ed765888af7ddbb44f.zip
Parenta6a0184c1c9d32f27beb4a0a4f19ab2ce429d31f (diff)
Windows build for the flex demo files
1 files changed, 41 insertions, 0 deletions
-rw-r--r--demo/flex/genie.lua41
diff --git a/demo/flex/genie.lua b/demo/flex/genie.lua
new file mode 100644
index 0000000..44b76b4
--- /dev/null
+++ b/demo/flex/genie.lua
@@ -0,0 +1,41 @@
+solution 'FlexDemos'
+ configurations {'debug', 'release'}
+ configuration 'Linux'
+ flags {
+ 'FatalWarnings',
+ 'ExtraWarnings',
+ 'Cpp14',
+ }
+ configuration '*'
+
+ local root = 'build/'
+
+
+ configuration 'debug'
+ targetdir(root .. 'bin/debug')
+ objdir(root .. 'obj/debug')
+
+ configuration 'release'
+ targetdir(root .. 'bin/release')
+ objdir(root .. 'obj/release')
+ configuration '*'
+
+ project 'FlexLexer'
+ kind 'ConsoleApp'
+ language 'C'
+ uuid(os.uuid('FlexLexer'))
+ files {
+ 'lex.yy.c',
+ 'JavaScript.flex',
+ }
+ debugargs 'hello.js'
+
+ project 'js2html'
+ kind 'ConsoleApp'
+ language 'C'
+ uuid(os.uuid('js2html'))
+ files {
+ 'js2html.c',
+ 'js2html.flex',
+ }
+ debugargs 'hello.js'