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% + +