2013-05-17 22:39:08 -04:00
|
|
|
--
|
2014-02-11 01:07:04 -05:00
|
|
|
-- Copyright 2010-2014 Branimir Karadzic. All rights reserved.
|
2013-05-17 22:39:08 -04:00
|
|
|
-- License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
--
|
|
|
|
|
2013-06-05 00:43:43 -04:00
|
|
|
project ("example-common")
|
2013-05-17 22:39:08 -04:00
|
|
|
uuid ("21cc0e26-bf62-11e2-a01e-0291bd4c8125")
|
|
|
|
kind "StaticLib"
|
|
|
|
|
|
|
|
includedirs {
|
|
|
|
BX_DIR .. "include",
|
|
|
|
BGFX_DIR .. "include",
|
|
|
|
BGFX_DIR .. "3rdparty",
|
|
|
|
}
|
|
|
|
|
|
|
|
files {
|
|
|
|
BGFX_DIR .. "examples/common/**.cpp",
|
|
|
|
BGFX_DIR .. "examples/common/**.h",
|
|
|
|
}
|
2014-08-23 07:24:39 -04:00
|
|
|
|
2014-10-12 00:55:24 -04:00
|
|
|
if _OPTIONS["with-sdl"] then
|
|
|
|
defines {
|
|
|
|
"ENTRY_CONFIG_USE_SDL=1",
|
|
|
|
}
|
2014-10-12 12:58:06 -04:00
|
|
|
includedirs {
|
|
|
|
"$(SDL2_DIR)/include",
|
|
|
|
}
|
2014-10-12 00:55:24 -04:00
|
|
|
end
|
|
|
|
|
2014-08-23 07:24:39 -04:00
|
|
|
configuration { "xcode4" }
|
|
|
|
includedirs {
|
|
|
|
BX_DIR .. "include/compat/osx",
|
|
|
|
}
|