Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / test / genie.lua
blob: 262ed18fc0af2ac0a10b2b9e884262b4b59a3973 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
project 'Test'
    kind 'ConsoleApp'
    language 'C++'
    uuid(os.uuid('Test'))

    files '*.cpp'

    includedirs {
        'googletest/googletest/include',
        'googletest/googlemock/include',
        '..',
    }
    links {
        'JSLib',
        'gtest',
        'gmock',
        'gtest_main',
    }
    configuration 'Linux'
        links 'pthread'
    configuration '*'

project 'gtest'
    kind 'StaticLib'
    language 'C++'
    uuid(os.uuid('gtest'))
    files 'googletest/googletest/src/gtest-all.cc'
    files 'googletest/googletest/include/gtest/*.h'
    includedirs {
        'googletest/googletest',
        'googletest/googletest/include',
    }

project 'gmock'
    kind 'StaticLib'
    language 'C++'
    uuid(os.uuid('gmock'))
    files 'googletest/googlemock/src/gmock-all.cc'
    files 'googletest/googlemock/include/gmock/*.h'
    includedirs {
        'googletest/googlemock',
        'googletest/googlemock/include',
        'googletest/googletest/include',
    }

project 'gtest_main'
    kind 'StaticLib'
    language 'C++'
    uuid(os.uuid('gtest_main'))
    files 'googletest/googletest/src/gtest_main.cc'
    includedirs {
        'googletest/googletest',
        'googletest/googletest/include',
    }