Skip to content

Commit

Permalink
split build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonese committed Aug 18, 2024
1 parent bcc863e commit 05b5a36
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.ps1 → scripts/build.amd64.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Write-Output ("当前工作目录是:" + $CurrentLocation)

# 构建主要目标

cmake --build "build/x86" --target LuaSTG --config Release --clean-first
#cmake --build "build/x86" --target LuaSTG --config Release --clean-first
cmake --build "build/amd64" --target LuaSTG --config Release --clean-first

# 复原
Expand Down
14 changes: 14 additions & 0 deletions scripts/build.x86.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 配置工作目录

Set-Location -Path ($PSScriptRoot + "/..")
$CurrentLocation = Get-Location
Write-Output ("当前工作目录是:" + $CurrentLocation)

# 构建主要目标

cmake --build "build/x86" --target LuaSTG --config Release --clean-first
#cmake --build "build/amd64" --target LuaSTG --config Release --clean-first

# 复原

Set-Location $PSScriptRoot

0 comments on commit 05b5a36

Please sign in to comment.