summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/benchmarks.lua
blob: a643939d6db13263cf9e2ef3b83818799835cd72 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
-- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team

---------------------------------------------------------------------------
--
--   benchmarks.lua
--
--   Rules for building benchmarks
--
---------------------------------------------------------------------------

--------------------------------------------------
-- Google Benchmark library objects
--------------------------------------------------

project "benchmark"
	uuid "60a7e05c-8b4f-497c-bfda-2949a009ba0d"
	kind "StaticLib"

	configuration { }
		defines {
			"HAVE_STD_REGEX",
		}

	includedirs {
		MAME_DIR .. "3rdparty/benchmark/include",
	}
	files {
		MAME_DIR .. "3rdparty/benchmark/src/benchmark.cc",
		MAME_DIR .. "3rdparty/benchmark/src/colorprint.cc",
		MAME_DIR .. "3rdparty/benchmark/src/commandlineflags.cc",
		MAME_DIR .. "3rdparty/benchmark/src/console_reporter.cc",
		MAME_DIR .. "3rdparty/benchmark/src/csv_reporter.cc",
		MAME_DIR .. "3rdparty/benchmark/src/json_reporter.cc",
		MAME_DIR .. "3rdparty/benchmark/src/log.cc",
		MAME_DIR .. "3rdparty/benchmark/src/reporter.cc",
		MAME_DIR .. "3rdparty/benchmark/src/sleep.cc",
		MAME_DIR .. "3rdparty/benchmark/src/string_util.cc",
		MAME_DIR .. "3rdparty/benchmark/src/sysinfo.cc",
		MAME_DIR .. "3rdparty/benchmark/src/walltime.cc",
		MAME_DIR .. "3rdparty/benchmark/src/re_std.cc",
	}



project("benchmarks")
	uuid ("a9750a48-d283-4a6d-b126-31c7ce049af1")
	kind "ConsoleApp"

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

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

	configuration { }

	links {
		"benchmark",
	}

	includedirs {
		MAME_DIR .. "3rdparty/benchmark/include",
		MAME_DIR .. "src/osd",
	}

	files {
		MAME_DIR .. "benchmarks/main.cpp",
		MAME_DIR .. "benchmarks/eminline_native.cpp",
		MAME_DIR .. "benchmarks/eminline_noasm.cpp",
	}
ns'>-17/+16 * private: use (S, T, U, V) (nw) (#3720) David Haywood2018-07-011-6/+8 * as if millions of this pointers suddenly cried out in terror, and were sudden... Vas Crabb2018-06-081-5/+5 * Move the +1 to the proper place in the ROM BIOS macros - that's been Vas Crabb2018-05-291-6/+6 * Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS ... MooglyGuy2018-05-131-16/+16 * (nw) remove more low-value macros and add a couple more constructor options Vas Crabb2018-05-101-2/+1 * dsp16: fix condition mask in disassembler (nw) Vas Crabb2018-05-091-1/+1 * Streamline machine configuration macros - everyone's a device edition. Vas Crabb2018-05-061-14/+14 * Address maps macros removal, pass 1 [O. Galibert] Olivier Galibert2018-03-141-30/+35 * (nw) screw you macros and the horse you rode in on Vas Crabb2018-02-141-4/+8 * API change: Memory maps are now methods of the owner class [O. Galibert] Olivier Galibert2018-02-121-5/+10 * xtal.h is dead, long live to xtal.cpp [O. Galibert] Olivier Galibert2018-01-231-4/+4