mirror of
https://github.com/Ed94/pikuma_ps1.git
synced 2026-06-02 02:51:14 -07:00
25 lines
814 B
PowerShell
25 lines
814 B
PowerShell
$path_root = split-path -Path $PSScriptRoot -Parent
|
|
$path_build = join-path $path_root 'build'
|
|
$path_code = join-path $path_root 'code'
|
|
$path_scripts = join-path $path_root 'scripts'
|
|
$path_toolchain = join-path $path_root 'toolchain'
|
|
|
|
$misc = join-path $PSScriptRoot 'helpers/misc.ps1'
|
|
. $misc
|
|
|
|
$url_armips = 'https://github.com/Kingcom/armips.git'
|
|
$url_pcsx_redux = 'https://github.com/grumpycoders/pcsx-redux.git'
|
|
|
|
$path_armips = join-path $path_toolchain 'armips'
|
|
$path_pcsx_redux = join-path $path_toolchain 'pcsx_redux'
|
|
|
|
clone-gitrepo $path_armips $url_armips
|
|
clone-gitrepo $path_pcsx_redux $url_pcsx_redux
|
|
|
|
$path_armips_build = join-path $path_armips 'build'
|
|
verify-path $path_armips_build
|
|
push-location $path_armips_build
|
|
& cmake ..
|
|
& cmake --build . --config Debug
|
|
pop-location
|