Changeset View
Changeset View
Standalone View
Standalone View
build/premake/extern_libs5.lua
Show First 20 Lines • Show All 252 Lines • ▼ Show 20 Lines | link_settings = function() | ||||
filter "Debug" | filter "Debug" | ||||
links { "FColladaSD" } | links { "FColladaSD" } | ||||
filter "Release" | filter "Release" | ||||
links { "FColladaSR" } | links { "FColladaSR" } | ||||
filter { } | filter { } | ||||
end | end | ||||
end, | end, | ||||
}, | }, | ||||
fmt = { | |||||
compile_settings = function() | |||||
if os.istarget("windows") or os.istarget("macosx") or _OPTIONS["with-bundled-fmt"] then | |||||
add_source_include_paths("fmt") | |||||
else | |||||
--- Linux, BSD | |||||
pkgconfig.add_includes("fmt") | |||||
end | |||||
end, | |||||
link_settings = function() | |||||
if os.istarget("windows") or os.istarget("macosx") or _OPTIONS["with-bundled-fmt"] then | |||||
add_default_links({ | |||||
unix_names = { "fmt" }, | |||||
}) | |||||
else | |||||
pkgconfig.add_links("fmt") | |||||
end | |||||
Stan: It might be a stupid question. but can we check the version? | |||||
Done Inline ActionsTo check the version, we'd need some (ideally non-convoluted) way of finding out what the version is. s0600204: To check the version, we'd need some (ideally non-convoluted) way of finding out what the… | |||||
end | |||||
}, | |||||
gloox = { | gloox = { | ||||
compile_settings = function() | compile_settings = function() | ||||
if os.istarget("windows") then | if os.istarget("windows") then | ||||
add_default_include_paths("gloox") | add_default_include_paths("gloox") | ||||
else | else | ||||
-- Support GLOOX_CONFIG for overriding the default (pkg-config --cflags gloox) | -- Support GLOOX_CONFIG for overriding the default (pkg-config --cflags gloox) | ||||
-- i.e. on OSX where it gets set in update-workspaces.sh | -- i.e. on OSX where it gets set in update-workspaces.sh | ||||
pkgconfig.add_includes("gloox", os.getenv("GLOOX_CONFIG")) | pkgconfig.add_includes("gloox", os.getenv("GLOOX_CONFIG")) | ||||
▲ Show 20 Lines • Show All 433 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator
It might be a stupid question. but can we check the version?