Website Summary Files Commits Branches @commit @diff @stats
path: root / demo / bison / calc / genie.lua
blob: 62af249c3382a9ee9e5385811cb4b1e9e4622a5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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',
        }