summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bx/scripts/bin2c.lua
blob: 9e9e48669641b7405af2e361d78288c310313302 (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
--
-- Copyright 2010-2022 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bx/blob/master/LICENSE
--

project "bin2c"
	kind "ConsoleApp"

	files {
		"../tools/bin2c/**.cpp",
		"../tools/bin2c/**.h",
	}

	using_bx()

	configuration { "mingw-*" }
		targetextension ".exe"

	configuration { "linux-*" }
		links {
			"pthread",
		}
	configuration { "osx-*" }
		linkoptions {
			"-framework Foundation"
		}

	configuration { "vs20* or mingw*" }
		links {
			"psapi",
		}

	configuration {}

	strip()