mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Fix headers for XML/XMB
Declare "lib/posix/posix.h" as source for <strings.h>
Make include-what-you-use happy with files in source/ps/{XMB,XML} and
fix what needs to be fixed after including missing compile flags.
Ref: #8086
Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
This commit is contained in:
@@ -691,6 +691,8 @@ function setup_all_libs ()
|
||||
"sdl",
|
||||
"boost", -- dragged in via server->simulation.h->random and NetSession.h->lockfree
|
||||
"fmt",
|
||||
"libxml2",
|
||||
"iconv",
|
||||
}
|
||||
if not _OPTIONS["without-miniupnpc"] then
|
||||
table.insert(extern_libs, "miniupnpc")
|
||||
@@ -780,6 +782,8 @@ function setup_all_libs ()
|
||||
"boost",
|
||||
"spidermonkey",
|
||||
"fmt",
|
||||
"libxml2",
|
||||
"iconv",
|
||||
}
|
||||
setup_static_lib_project("simulation2", source_dirs, extern_libs, {})
|
||||
|
||||
@@ -861,6 +865,8 @@ function setup_all_libs ()
|
||||
"fmt",
|
||||
"freetype",
|
||||
"icu",
|
||||
"libxml2",
|
||||
"iconv",
|
||||
}
|
||||
if not _OPTIONS["without-nvtt"] then
|
||||
table.insert(extern_libs, "nvtt")
|
||||
@@ -877,6 +883,8 @@ function setup_all_libs ()
|
||||
"sdl", -- key definitions
|
||||
"spidermonkey",
|
||||
"fmt",
|
||||
"libxml2",
|
||||
"iconv",
|
||||
}
|
||||
setup_static_lib_project("atlas", source_dirs, extern_libs, {})
|
||||
|
||||
@@ -898,6 +906,7 @@ function setup_all_libs ()
|
||||
"icu",
|
||||
"iconv",
|
||||
"fmt",
|
||||
"libxml2",
|
||||
}
|
||||
if not _OPTIONS["without-audio"] then
|
||||
table.insert(extern_libs, "openal")
|
||||
|
||||
Reference in New Issue
Block a user