mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-21 12:49:10 +00:00
Merge pull request #453 from Deledrius/ezbuild
Simplify automated build process.
This commit is contained in:
@ -10,6 +10,7 @@ find_path(PHYSX_SDK_PATH Cooking/Include/NxCooking.h
|
||||
/usr/local/include
|
||||
/usr/include
|
||||
"C:/Program Files/AGEIA Technologies/AGEIA PhysX SDK/v2.6.4/SDKs"
|
||||
"C:/Program Files (x86)/AGEIA Technologies/AGEIA PhysX SDK/v2.6.4/SDKs"
|
||||
)
|
||||
|
||||
if(PHYSX_SDK_PATH)
|
||||
|
@ -26,8 +26,13 @@ if (!(Test-Path -PathType Container devlibs)) {
|
||||
Write-Host "OK" -foregroundColor Green
|
||||
}
|
||||
|
||||
Write-Host "Running CMake to configure build system... "
|
||||
cmake -DCMAKE_INSTALL_PREFIX=devlibs -G "Visual Studio 12" ..
|
||||
if(Get-ChildItem Env:PATH | Where-Object {$_.Value -match "CMake"}) {
|
||||
Write-Host "Running CMake to configure build system... "
|
||||
cmake -DCMAKE_INSTALL_PREFIX=devlibs -DPLASMA_BUILD_TOOLS=OFF -DPLASMA_BUILD_RESOURCE_DAT=OFF -G "Visual Studio 12" ..
|
||||
} else {
|
||||
Write-Host "CMake not found in PATH."
|
||||
Write-Host "Please run the CMake installer and select the option to add CMake to your system PATH."
|
||||
}
|
||||
|
||||
if ($Host.Name -eq "ConsoleHost") {
|
||||
Write-Host ""
|
||||
|
Reference in New Issue
Block a user