diff options
Windows build for the flex demo files
1 files changed, 41 insertions, 0 deletions
| -rw-r--r-- | demo/flex/genie.lua | 41 |
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' |
