From 0b99bf8b173fe21cd3a1481695ff199b5e4a4335 Mon Sep 17 00:00:00 2001 From: James Ford Date: Thu, 15 Aug 2024 03:54:50 -0500 Subject: [PATCH] fixing robocopy step (#1119) --- JSBSimForUnreal.vcxproj | 48 +++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/JSBSimForUnreal.vcxproj b/JSBSimForUnreal.vcxproj index b9a8415f5..7bf7bb0a9 100644 --- a/JSBSimForUnreal.vcxproj +++ b/JSBSimForUnreal.vcxproj @@ -86,19 +86,6 @@ ws2_32.lib;%(AdditionalDependencies) - - mkdir UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Include -robocopy $(SolutionDir)src UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Include *.h *.hxx /E -echo supresses errors 1, 2, and 4 which are not really errors. -set/A errlev="%ERRORLEVEL% & 24" - -echo Copy Aircrafts, Engines and Systems in the plugin resources folder -robocopy $(SolutionDir)aircraft UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Resources\JSBSim\aircraft /E -robocopy $(SolutionDir)engine UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Resources\JSBSim\engine /E -robocopy $(SolutionDir)systems UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Resources\JSBSim\systems /E - -exit/B %errlev% - @@ -141,19 +128,6 @@ exit/B %errlev% false - - mkdir UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Include -robocopy $(SolutionDir)src UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Include *.h *.hxx /E -echo supresses errors 1, 2, and 4 which are not really errors. -set/A errlev="%ERRORLEVEL% & 24" - -echo Copy Aircrafts, Engines and Systems in the plugin resources folder -robocopy $(SolutionDir)aircraft UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Resources\JSBSim\aircraft /E -robocopy $(SolutionDir)engine UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Resources\JSBSim\engine /E -robocopy $(SolutionDir)systems UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Resources\JSBSim\systems /E - -exit/B %errlev% - @@ -412,3 +386,25 @@ exit/B %errlev% + + + mkdir UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Include + + robocopy "$(SolutionDir)src" "$(SolutionDir)UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Source\ThirdParty\JSBSim\Include" *.h *.hxx /E + + echo supresses errors 1, 2, and 4 which are not really errors. + + set/A errlev="%ERRORLEVEL% & 24" + + + echo Copy Aircrafts, Engines and Systems in the plugin resources folder + + robocopy "$(SolutionDir)aircraft" "$(SolutionDir)UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Resources\JSBSim\aircraft" /E + + robocopy "$(SolutionDir)engine" "$(SolutionDir)UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Resources\JSBSim\engine" /E + + robocopy "$(SolutionDir)systems" "$(SolutionDir)UnrealEngine\Plugins\JSBSimFlightDynamicsModel\Resources\JSBSim\systems" /E + + exit/B %errlev% + +