Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / solution / genie.lua
blob: 8b34d9725b59cb83152769983bb76b6fafa8e652 (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
39
40
solution 'JSImpl'
    configurations {'Debug', 'Release'}
    platforms { 'x64' }
    flags {
        'FatalWarnings',
        'ExtraWarnings',
        'Cpp14',
        'Symbols',
    }


    local root = '../build/'

    configuration 'Debug'
        targetdir(root .. 'bin/Debug')
        objdir(root .. 'obj/Debug')

    configuration 'Release'
        flags 'OptimizeSpeed'
        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'
    startproject 'Test'