diff --git a/binaries/data/mods/public/gui/credits/texts/programming.json b/binaries/data/mods/public/gui/credits/texts/programming.json
index b99ec28..d45a47a 100644
a
|
b
|
|
183 | 183 | {"nick": "Stefan"}, |
184 | 184 | {"nick": "stilz", "name": "Sławomir Zborowski"}, |
185 | 185 | {"nick": "stwf", "name": "Steven Fuchs"}, |
| 186 | {"nick": "Susnux"}, |
186 | 187 | {"nick": "svott", "name": "Sven Ott"}, |
187 | 188 | {"nick": "t4nk004"}, |
188 | 189 | {"nick": "tbm", "name": "Martin Michlmayr"}, |
diff --git a/build/premake/extern_libs4.lua b/build/premake/extern_libs4.lua
index 7ec3130..1aad736 100644
a
|
b
|
extern_lib_defs = {
|
634 | 634 | }, |
635 | 635 | tinygettext = { |
636 | 636 | compile_settings = function() |
637 | | add_third_party_include_paths("tinygettext") |
| 637 | if _OPTIONS["with-system-tinygettext"] then |
| 638 | pkgconfig_cflags("tinygettext") |
| 639 | else |
| 640 | add_third_party_include_paths("tinygettext") |
| 641 | end |
| 642 | end, |
| 643 | link_settings = function() |
| 644 | if _OPTIONS["with-system-tinygettext"] then |
| 645 | pkgconfig_libs("tinygettext") |
| 646 | end |
638 | 647 | end, |
639 | 648 | }, |
640 | 649 | valgrind = { |
diff --git a/build/premake/premake4.lua b/build/premake/premake4.lua
index 999759a..5929510 100644
a
|
b
|
newoption { trigger = "without-miniupnpc", description = "Disable use of miniupn
|
15 | 15 | newoption { trigger = "without-nvtt", description = "Disable use of NVTT" } |
16 | 16 | newoption { trigger = "without-pch", description = "Disable generation and usage of precompiled headers" } |
17 | 17 | newoption { trigger = "without-tests", description = "Disable generation of test projects" } |
| 18 | newoption { trigger = "with-system-tinygettext", description = "Search standard paths for tinygettext, instead of using bundled copy" } |
18 | 19 | |
19 | 20 | -- OS X specific options |
20 | 21 | newoption { trigger = "macosx-bundle", description = "Enable OSX bundle, the argument is the bundle identifier string (e.g. com.wildfiregames.0ad)" } |
… |
… |
function setup_all_libs ()
|
599 | 600 | end |
600 | 601 | setup_static_lib_project("network", source_dirs, extern_libs, {}) |
601 | 602 | |
602 | | source_dirs = { |
603 | | "third_party/tinygettext/src", |
604 | | } |
605 | | extern_libs = { |
606 | | "iconv", |
607 | | "boost", |
608 | | } |
609 | | setup_third_party_static_lib_project("tinygettext", source_dirs, extern_libs, { } ) |
610 | | |
611 | | -- it's an external library and we don't want to modify its source to fix warnings, so we just disable them to avoid noise in the compile output |
612 | | if _ACTION == "vs2013" then |
613 | | buildoptions { |
614 | | "/wd4127", |
615 | | "/wd4309", |
616 | | "/wd4800", |
617 | | "/wd4100", |
618 | | "/wd4996", |
619 | | "/wd4099", |
620 | | "/wd4503" |
| 603 | if _OPTIONS["with-system-tinygettext"] then |
| 604 | table.insert(extern_libs, "tinygettext") |
| 605 | else |
| 606 | source_dirs = { |
| 607 | "third_party/tinygettext/src", |
621 | 608 | } |
622 | | end |
| 609 | extern_libs = { |
| 610 | "iconv", |
| 611 | "boost", |
| 612 | } |
| 613 | setup_third_party_static_lib_project("tinygettext", source_dirs, extern_libs, { } ) |
623 | 614 | |
| 615 | -- it's an external library and we don't want to modify its source to fix warnings, so we just disable them to avoid noise in the compile output |
| 616 | if _ACTION == "vs2013" then |
| 617 | buildoptions { |
| 618 | "/wd4127", |
| 619 | "/wd4309", |
| 620 | "/wd4800", |
| 621 | "/wd4100", |
| 622 | "/wd4996", |
| 623 | "/wd4099", |
| 624 | "/wd4503" |
| 625 | } |
| 626 | end |
| 627 | end |
624 | 628 | |
625 | 629 | if not _OPTIONS["without-lobby"] then |
626 | 630 | source_dirs = { |