summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/example-common.lua
blob: d408224e319b2bd356764261e452823035b1741b (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
--
-- Copyright 2010-2015 Branimir Karadzic. All rights reserved.
-- License: http://www.opensource.org/licenses/BSD-2-Clause
--

project ("example-common")
	uuid ("21cc0e26-bf62-11e2-a01e-0291bd4c8125")
	kind "StaticLib"

	includedirs {
		path.join(BX_DIR, "include"),
		path.join(BGFX_DIR, "include"),
		path.join(BGFX_DIR, "3rdparty"),
	}

	files {
		path.join(BGFX_DIR, "3rdparty/ib-compress/**.cpp"),
		path.join(BGFX_DIR, "3rdparty/ib-compress/**.h"),
		path.join(BGFX_DIR, "3rdparty/ocornut-imgui/**.cpp"),
		path.join(BGFX_DIR, "3rdparty/ocornut-imgui/**.h"),
		path.join(BGFX_DIR, "examples/common/**.cpp"),
		path.join(BGFX_DIR, "examples/common/**.h"),
	}

	if _OPTIONS["with-sdl"] then
		defines {
			"ENTRY_CONFIG_USE_SDL=1",
		}
		includedirs {
			"$(SDL2_DIR)/include",
		}
	end

	if _OPTIONS["with-glfw"] then
		defines {
			"ENTRY_CONFIG_USE_GLFW=1",
		}
	end

	configuration { "mingw* or vs2008" }
		includedirs {
			"$(DXSDK_DIR)/include",
		}
	if (_OPTIONS["vs"] == "vs2012-xp") or (_OPTIONS["vs"] == "vs2013-xp") then
	configuration { "vs201*" }
		includedirs {
			"$(DXSDK_DIR)/include",
		}
	end

	configuration { "winphone8*"}
		linkoptions {
			"/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata
		}
medev/mame"" Firehawke2017-12-131-15/+10 * Revert "Merge branch 'master' of https://github.com/mamedev/mame" Firehawke2017-12-131-10/+15 * get rid of legacy BITSWAP* (nw) Vas Crabb2017-12-131-1/+1 * m6809: Start resolving the great device type/clock divider mix-up AJR2017-12-081-14/+9 * sothello.cpp: removed MACHINE_SUPPORTS_SAVE flag I had wrongly committed (nw) Ivan Vangelista2017-10-301-5/+5 * sothello.cpp: very minor cleanups + preparation for save state support (nw) Ivan Vangelista2017-10-281-32/+41 * Move static data out of devices into the device types. This is a significant... Vas Crabb2017-05-141-3/+3 * Self-registering devices prep: Vas Crabb2017-02-271-1/+2 * License change per request of Tomasz Slanina (nw) Miodrag Milanovic2016-11-291-1/+1 * more trampolines removal (nw) Ivan Vangelista2016-06-201-7/+1 * Validity checking for AM_MASK/AM_MIRROR/AM_SELECT, based on OG's recent restr... AJR2016-06-171-1/+1 * sound trampolines removal from various drivers (nw) Ivan Vangelista2016-06-131-8/+3 * updated remaining drivers to use gen_latch.cpp (nw) Ivan Vangelista2016-06-121-2/+6 * reverting: Miodrag Milanovic2016-01-201-1/+1 * tags are now strings (nw) Miodrag Milanovic2016-01-161-1/+1 * overrides in drivers (nw) Miodrag Milanovic2015-12-061-2/+2