Commits

spencercw  committed 3ddb779

Copy Cg DLL files to the build directory.

  • Participants
  • Parent commits afd969e

Comments (0)

Files changed (1)

File gb_emulator_main/gb_emulator_main.vcxproj

       <ImageHasSafeExceptionHandlers>true</ImageHasSafeExceptionHandlers>
     </Link>
     <PostBuildEvent>
-      <Command>xcopy /Y /Q "$(SolutionDir)third_party\bios\bios.bin" "$(OutDir)"</Command>
+      <Command>xcopy /Y /Q "$(SolutionDir)third_party\bios\bios.bin" "$(OutDir)"
+xcopy /Y /Q "%CG_BIN_PATH%\cg.dll" "$(OutDir)"
+xcopy /Y /Q "%CG_BIN_PATH%\cgD3D11.dll" "$(OutDir)"</Command>
     </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
       <LargeAddressAware>true</LargeAddressAware>
     </Link>
     <PostBuildEvent>
-      <Command>xcopy /Y /Q "$(SolutionDir)third_party\bios\bios.bin" "$(OutDir)"</Command>
+      <Command>xcopy /Y /Q "$(SolutionDir)third_party\bios\bios.bin" "$(OutDir)"
+xcopy /Y /Q "%CG_BIN64_PATH%\cg.dll" "$(OutDir)"
+xcopy /Y /Q "%CG_BIN64_PATH%\cgD3D11.dll" "$(OutDir)"</Command>
     </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
       <ImageHasSafeExceptionHandlers>true</ImageHasSafeExceptionHandlers>
     </Link>
     <PostBuildEvent>
-      <Command>xcopy /Y /Q "$(SolutionDir)third_party\bios\bios.bin" "$(OutDir)"</Command>
+      <Command>xcopy /Y /Q "$(SolutionDir)third_party\bios\bios.bin" "$(OutDir)"
+xcopy /Y /Q "%CG_BIN_PATH%\cg.dll" "$(OutDir)"
+xcopy /Y /Q "%CG_BIN_PATH%\cgD3D11.dll" "$(OutDir)"</Command>
     </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
       <LargeAddressAware>true</LargeAddressAware>
     </Link>
     <PostBuildEvent>
-      <Command>xcopy /Y /Q "$(SolutionDir)third_party\bios\bios.bin" "$(OutDir)"</Command>
+      <Command>xcopy /Y /Q "$(SolutionDir)third_party\bios\bios.bin" "$(OutDir)"
+xcopy /Y /Q "%CG_BIN64_PATH%\cg.dll" "$(OutDir)"
+xcopy /Y /Q "%CG_BIN64_PATH%\cgD3D11.dll" "$(OutDir)"</Command>
     </PostBuildEvent>
   </ItemDefinitionGroup>
   <ItemGroup>