Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / solution / genie.lua
blob: ced7ec1780f775420209c9580dfb0c5e83d055f6 (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
solution 'IPL'
    configurations {'debug', 'release'}
    flags {
        'FatalWarnings',
        'ExtraWarnings',
        'Cpp14',
    }

    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 'JSLib'
        kind 'StaticLib'
        language 'C++'
        uuid(os.uuid('JSLib'))
        files '../src/*.cpp'
        removefiles '../src/main.cpp'
        files '../src/*.h'

    project 'JSImpl'
        kind 'ConsoleApp'
        language 'C++'
        uuid(os.uuid('JSImpl'))
        files '../src/main.cpp'
        links 'JSLib'

    include '../test'