mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
rebase
This commit is contained in:
@@ -54,6 +54,11 @@ bool modorganizer::is_gamebryo_plugin() const
|
||||
return is_set(flags_, gamebryo);
|
||||
}
|
||||
|
||||
bool modorganizer::is_nuget_plugin() const
|
||||
{
|
||||
return is_set(flags_, nuget);
|
||||
}
|
||||
|
||||
fs::path modorganizer::source_path()
|
||||
{
|
||||
return {};
|
||||
@@ -133,6 +138,12 @@ void modorganizer::do_build_and_install()
|
||||
}
|
||||
|
||||
run_tool(create_this_cmake_tool());
|
||||
|
||||
// until https://gitlab.kitware.com/cmake/cmake/-/issues/20646 is resolved,
|
||||
// we need a manual way of running the msbuild -t:restore
|
||||
if (is_nuget_plugin())
|
||||
run_tool(create_this_msbuild_tool().targets({ "restore" }));
|
||||
|
||||
run_tool(create_this_msbuild_tool());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user