Changeset View
Changeset View
Standalone View
Standalone View
build/premake/extern_libs5.lua
Show First 20 Lines • Show All 577 Lines • ▼ Show 20 Lines | compile_settings = function() | ||||
add_third_party_include_paths("tinygettext") | add_third_party_include_paths("tinygettext") | ||||
end, | end, | ||||
}, | }, | ||||
valgrind = { | valgrind = { | ||||
compile_settings = function() | compile_settings = function() | ||||
add_source_include_paths("valgrind") | add_source_include_paths("valgrind") | ||||
end, | end, | ||||
}, | }, | ||||
epoxy = { | |||||
compile_settings = function() | |||||
add_source_include_paths("libepoxy") | |||||
end, | |||||
link_settings = function() | |||||
add_source_lib_paths("libepoxy") | |||||
if os.istarget("windows") then | |||||
filter "Debug" | |||||
links { "epoxy" } | |||||
filter "Release" | |||||
links { "epoxy" } | |||||
filter { } | |||||
else | |||||
filter "Debug" | |||||
links { "epoxy" } | |||||
filter "Release" | |||||
links { "epoxy" } | |||||
filter { } | |||||
end | |||||
end, | |||||
}, | |||||
vorbis = { | vorbis = { | ||||
compile_settings = function() | compile_settings = function() | ||||
if os.istarget("windows") then | if os.istarget("windows") then | ||||
add_default_include_paths("vorbis") | add_default_include_paths("vorbis") | ||||
elseif os.istarget("macosx") then | elseif os.istarget("macosx") then | ||||
add_default_include_paths("libogg") | add_default_include_paths("libogg") | ||||
add_default_include_paths("vorbis") | add_default_include_paths("vorbis") | ||||
end | end | ||||
▲ Show 20 Lines • Show All 108 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator