summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/tests.lua
blob: 1423c10222f8a55504bbadcc25accb47af15ec49 (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
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team

--------------------------------------------------
-- MAME tests
--------------------------------------------------

project("tests")
uuid ("66d4c639-196b-4065-a411-7ee9266564f5")
kind "ConsoleApp"	

options {
	"ForceCPP",
}

flags {
	"Symbols", -- always include minimum symbols for executables 	
}

if _OPTIONS["SEPARATE_BIN"]~="1" then 
	targetdir(MAME_DIR)
end

links {
	"unittest-cpp",
	"utils",
	"expat",
	"zlib",
	"ocore_" .. _OPTIONS["osd"],
}

includedirs {
	MAME_DIR .. "3rdparty/unittest-cpp",
	MAME_DIR .. "src/osd",
	MAME_DIR .. "src/lib/util",
}

files {
	MAME_DIR .. "tests/main.c",
	MAME_DIR .. "tests/lib/util/corestr.c",
}