mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50da6e0238 | ||
|
|
49857a23f0 | ||
|
|
1e4f026324 | ||
|
|
74f8ea9c08 | ||
|
|
263ebd1461 | ||
|
|
524a1fb46a | ||
|
|
cad0eca997 | ||
|
|
ca4c2ed474 | ||
|
|
5258109aa5 | ||
|
|
2de230cf11 | ||
|
|
77bd21028d | ||
|
|
a3a33128ee | ||
|
|
f7b95abeab |
@@ -1,9 +0,0 @@
|
||||
param(
|
||||
[Parameter(Mandatory = $true)][String]$Path,
|
||||
[Parameter(Mandatory = $true)][String]$Output
|
||||
)
|
||||
|
||||
7z a $Output (Join-Path -Path $Path -ChildPath "boost")
|
||||
7z a $Output (Join-Path -Path $Path -ChildPath "lib32-msvc-14.3")
|
||||
7z a $Output (Join-Path -Path $Path -ChildPath "lib64-msvc-14.3")
|
||||
7z a $Output (Join-Path -Path $Path -ChildPath "LICENSE_1_0.txt")
|
||||
@@ -1,13 +0,0 @@
|
||||
param(
|
||||
[Parameter(Mandatory = $true)][String]$PyQtPath,
|
||||
[Parameter(Mandatory = $true)][String]$PythonPath,
|
||||
[Parameter(Mandatory = $true)][String]$Output
|
||||
)
|
||||
|
||||
$Output = [IO.Path]::GetFullPath($Output)
|
||||
|
||||
7z a $Output (Join-Path -Path $PyQtPath -ChildPath "LICENSE")
|
||||
|
||||
Push-Location $PythonPath
|
||||
7z a $Output "Lib/site-packages/PyQt6" "-xr!__pycache__"
|
||||
Pop-Location
|
||||
@@ -1,10 +0,0 @@
|
||||
param(
|
||||
[Parameter(Mandatory = $true)][String]$Path,
|
||||
[Parameter(Mandatory = $true)][String]$Output
|
||||
)
|
||||
|
||||
7z a $Output (Join-Path -Path $Path -ChildPath "PCbuild/amd64") "-xr!pythoncore_temp"
|
||||
7z rn $Output "amd64" "PCbuild/amd64"
|
||||
7z a $Output (Join-Path -Path $Path -ChildPath "Include") "-xr!internal" "-xr!sip.h"
|
||||
7z a $Output (Join-Path -Path $Path -ChildPath "Lib") "-xr!__pycache__" "-xr!site-packages"
|
||||
7z a $Output (Join-Path -Path $Path -ChildPath "LICENSE")
|
||||
+1
-6
@@ -33,17 +33,12 @@ namespace mob {
|
||||
(clipp::option("--install-prefix") & clipp::value("PATH") >> prefix_) %
|
||||
"sets CMAKE_INSTALL_PREFIX [default: empty]",
|
||||
|
||||
(clipp::option("-d", "--debug").set(debug_, true)) %
|
||||
"whether to configure for debug mode [default: false]",
|
||||
|
||||
(clipp::value("PATH") >> path_) % "path from which to run `cmake`");
|
||||
}
|
||||
|
||||
int cmake_command::do_run()
|
||||
{
|
||||
auto t = tasks::modorganizer::create_cmake_tool(
|
||||
fs::path(utf8_to_utf16(path_)), mob::cmake::generate,
|
||||
debug_ ? config::debug : config::relwithdebinfo);
|
||||
auto t = tasks::modorganizer::create_cmake_tool(fs::path(utf8_to_utf16(path_)));
|
||||
|
||||
t.generator(gen_);
|
||||
t.cmd(cmd_);
|
||||
|
||||
+1
-2
@@ -382,8 +382,7 @@ namespace mob {
|
||||
private:
|
||||
std::string gen_;
|
||||
std::string cmd_;
|
||||
bool x64_ = true;
|
||||
bool debug_ = false;
|
||||
bool x64_ = true;
|
||||
std::string prefix_;
|
||||
std::string path_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user