Get rid of gflags alltogether
This commit is contained in:
@@ -89,7 +89,6 @@ int Main() {
|
||||
auto entry_info = xe::GetEntryInfo();
|
||||
|
||||
// Convert command line to an argv-like format so we can share code/use
|
||||
// gflags.
|
||||
auto command_line = GetCommandLineW();
|
||||
int argc;
|
||||
wchar_t** argv = CommandLineToArgvW(command_line, &argc);
|
||||
@@ -97,7 +96,7 @@ int Main() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Convert all args to narrow, as gflags doesn't support wchar.
|
||||
// Convert all args to narrow, as cxxopts doesn't support wchar.
|
||||
int argca = argc;
|
||||
char** argva = reinterpret_cast<char**>(alloca(sizeof(char*) * argca));
|
||||
for (int n = 0; n < argca; n++) {
|
||||
|
||||
@@ -7,9 +7,6 @@ project("xenia-base")
|
||||
language("C++")
|
||||
defines({
|
||||
})
|
||||
includedirs({
|
||||
project_root.."/third_party/gflags/src",
|
||||
})
|
||||
local_platform_files()
|
||||
removefiles({"main_*.cc"})
|
||||
files({
|
||||
|
||||
@@ -2,9 +2,6 @@ project_root = "../../../.."
|
||||
include(project_root.."/tools/build")
|
||||
|
||||
test_suite("xenia-base-tests", project_root, ".", {
|
||||
includedirs = {
|
||||
project_root.."/third_party/gflags/src",
|
||||
},
|
||||
links = {
|
||||
"xenia-base",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user