OSDN Git Service

DTXMania, DTXCreator, FDK について、ビルド後イベントを修正。
authorFROM <from@alto.ocn.ne.jp>
Sat, 6 May 2017 09:10:29 +0000 (18:10 +0900)
committerFROM <from@alto.ocn.ne.jp>
Sat, 6 May 2017 09:10:29 +0000 (18:10 +0900)
コピー先のフォルダが存在しない場合に作成するよう修正(初めてのビルドの前に dll フォルダを作成しなければならない作業を自動化)。
ビルドされたファイルを実行時フォルダにコピーするとともに、実行時フォルダにある新しいファイルも出力フォルダにコピーするよう自動化。
実行時フォルダから SlimDX を削除。
DTXMania と FDK については、xadec.dll を dll フォルダに追加。(DTXCreator は DTXV が使うので、dllフォルダにも出力フォルダにもどちらにも配置。)

29 files changed:
DTXCreatorプロジェクト/DTXCreatorプロジェクト.csproj
DTXManiaプロジェクト/DTXManiaプロジェクト.csproj
FDK17プロジェクト/FDK19.csproj
実行時フォルダ(DTXCreator)/DTXCreator.exe
実行時フォルダ(DTXCreator)/dll/FDK.dll
実行時フォルダ(DTXCreator)/dll/SharpDX.DXGI.dll [new file with mode: 0644]
実行時フォルダ(DTXCreator)/dll/SharpDX.Direct3D9.dll [new file with mode: 0644]
実行時フォルダ(DTXCreator)/dll/SharpDX.DirectInput.dll [new file with mode: 0644]
実行時フォルダ(DTXCreator)/dll/SharpDX.DirectSound.dll [new file with mode: 0644]
実行時フォルダ(DTXCreator)/dll/SharpDX.Mathematics.dll [new file with mode: 0644]
実行時フォルダ(DTXCreator)/dll/SharpDX.dll [new file with mode: 0644]
実行時フォルダ(DTXCreator)/dll/SlimDXc_net20x86_Jun2010.dll [deleted file]
実行時フォルダ(DTXCreator)/dll/SoundDecoder.dll
実行時フォルダ(DTXCreator)/dll/bassenc.dll [new file with mode: 0644]
実行時フォルダ(DTXCreator)/dll/msvcp120.dll [new file with mode: 0644]
実行時フォルダ(DTXCreator)/dll/msvcr120.dll [new file with mode: 0644]
実行時フォルダ(DTXCreator)/dll/xadec.dll [moved from 実行時フォルダ/xadec.dll with 100% similarity]
実行時フォルダ(DTXCreator)/ja-JP/DTXCreator.resources.dll
実行時フォルダ/DTXManiaGR.exe
実行時フォルダ/dll/FDK.dll
実行時フォルダ/dll/SharpDX.DXGI.dll [new file with mode: 0644]
実行時フォルダ/dll/SharpDX.Direct3D9.dll [new file with mode: 0644]
実行時フォルダ/dll/SharpDX.DirectInput.dll [new file with mode: 0644]
実行時フォルダ/dll/SharpDX.DirectSound.dll [new file with mode: 0644]
実行時フォルダ/dll/SharpDX.Mathematics.dll [new file with mode: 0644]
実行時フォルダ/dll/SharpDX.dll [new file with mode: 0644]
実行時フォルダ/dll/SlimDXc_net20x86_Jun2010.dll [deleted file]
実行時フォルダ/dll/xadec.dll [new file with mode: 0644]
実行時フォルダ/ja-JP/DTXManiaGR.resources.dll [new file with mode: 0644]

index ef00c14..40e9f38 100644 (file)
   </Target>\r
   -->\r
   <PropertyGroup>\r
-    <PostBuildEvent>copy /Y "$(TargetPath)" "$(SolutionDir)..\実行時フォルダ(DTXCreator)"\r
-copy /Y "$(TargetPath)".config "$(SolutionDir)..\実行時フォルダ(DTXCreator)"\r
-mkdir "$(SolutionDir)..\実行時フォルダ(DTXCreator)\ja-JP"\r
-copy /Y "$(TargetDir)ja-JP" "$(SolutionDir)..\実行時フォルダ(DTXCreator)\ja-JP"\r
-mkdir "$(SolutionDir)..\実行時フォルダ(DTXCreator)\dll"\r
-move /Y "$(TargetDir)\Bass.Net.dll" "$(TargetDir)dll"\r
-move /Y "$(TargetDir)\DirectShowLib-2005.dll" "$(TargetDir)dll"\r
-move /Y "$(TargetDir)\FDK.dll" "$(TargetDir)dll"\r
+    <PostBuildEvent>echo.\r
+echo ビルド後イベントを開始します。\r
 \r
+echo.\r
+echo (1) 出力フォルダ内のdllファイルを出力フォルダ/dllフォルダへ移動します。\r
+set DESTDIR="$(TargetDir)dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+move /Y "$(TargetDir)*.dll" %25DESTDIR%25\r
+\r
+echo.\r
+echo (2) 出力フォルダ から 実行時フォルダ(DTXCreator) にコピーします。(dllは、日付の新しいファイルのみ)\r
+set DESTDIR="$(SolutionDir)..\実行時フォルダ(DTXCreator)"\r
+xcopy "$(TargetDir)$(TargetFileName)" %25DESTDIR%25 /Y\r
+xcopy "$(TargetDir)$(TargetFileName).config" %25DESTDIR%25 /Y\r
+set DESTDIR="$(SolutionDir)..\実行時フォルダ(DTXCreator)\ja-JP"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy "$(TargetDir)ja-JP" %25DESTDIR%25 /Y\r
+set DESTDIR="$(SolutionDir)..\実行時フォルダ(DTXCreator)\dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy  "$(TargetDir)dll" %25DESTDIR%25 /Y /D\r
+\r
+echo.\r
+echo (3) 実行時フォルダ(DTXCreator) から 出力フォルダ にコピーします。(日付の新しいファイルのみ)\r
+set DESTDIR="$(TargetDir)dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy  "$(SolutionDir)..\実行時フォルダ(DTXCreator)\dll" %25DESTDIR%25 /Y /D\r
+\r
+echo.\r
+echo ビルド後イベントを終了しました。\r
 </PostBuildEvent>\r
   </PropertyGroup>\r
 </Project>
\ No newline at end of file
index 5696bd1..23ed342 100644 (file)
   </Target>\r
   -->\r
   <PropertyGroup>\r
-    <PostBuildEvent>copy /Y "$(TargetPath)" "$(SolutionDir)..\実行時フォルダ"\r
-copy /Y "$(TargetPath)".config "$(SolutionDir)..\実行時フォルダ"\r
-move /Y "$(TargetDir)Bass.Net.dll" "$(TargetDir)dll"\r
-move /Y "$(TargetDir)DirectShowLib-2005.dll" "$(TargetDir)dll"\r
-move /Y "$(TargetDir)FDK.dll" "$(TargetDir)dll"\r
+    <PostBuildEvent>echo.\r
+echo ビルド後イベントを開始します。\r
 \r
+echo.\r
+echo (1) 出力フォルダ内のdllファイルを出力フォルダ/dllフォルダへ移動します。\r
+set DESTDIR="$(TargetDir)dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+move /Y "$(TargetDir)*.dll" %25DESTDIR%25\r
+\r
+echo.\r
+echo (2) 出力フォルダ から 実行時フォルダ にコピーします。(dllは、日付の新しいファイルのみ)\r
+set DESTDIR="$(SolutionDir)..\実行時フォルダ"\r
+xcopy "$(TargetDir)$(TargetFileName)" %25DESTDIR%25 /Y\r
+xcopy "$(TargetDir)$(TargetFileName).config" %25DESTDIR%25 /Y\r
+set DESTDIR="$(SolutionDir)..\実行時フォルダ\ja-JP"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy "$(TargetDir)ja-JP" %25DESTDIR%25 /Y\r
+set DESTDIR="$(SolutionDir)..\実行時フォルダ\dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy  "$(TargetDir)dll" %25DESTDIR%25 /Y /D\r
+\r
+echo.\r
+echo (3) 実行時フォルダ から 出力フォルダ にコピーします。(日付の新しいファイルのみ)\r
+set DESTDIR="$(TargetDir)dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy "$(SolutionDir)..\実行時フォルダ\dll" %25DESTDIR%25 /Y /D\r
+set DESTDIR="$(TargetDir)System"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy "$(SolutionDir)..\実行時フォルダ\System" %25DESTDIR%25 /Y /D /S /E\r
+\r
+echo.\r
+echo ビルド後イベントを終了しました。\r
 </PostBuildEvent>\r
   </PropertyGroup>\r
 </Project>
\ No newline at end of file
index 2927034..2d39e58 100644 (file)
   </Target>\r
   -->\r
   <PropertyGroup>\r
-    <PostBuildEvent>copy /Y "$(TargetPath)" "$(SolutionDir)..\実行時フォルダ\dll\"\r
-copy /Y "$(TargetPath)" "$(SolutionDir)..\実行時フォルダ(DTXCreator)\dll\"\r
-copy /Y "$(TargetPath)" "$(SolutionDir)bin\x86\Debug\dll\"\r
+    <PostBuildEvent>echo.\r
+echo ビルド後イベントを開始します。\r
 \r
+echo.\r
+echo (1) 出力フォルダ から ソリューション出力フォルダ へコピーします。(日付の新しいファイルのみ)\r
+set DESTDIR="$(SolutionDir)$(OutDir)dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy "$(TargetDir)*.dll" %25DESTDIR%25 /Y /D /EXCLUDE:$(TargetFileName)\r
 \r
+echo.\r
+echo (2) 出力フォルダ から 実行時フォルダ にコピーします。(日付の新しいファイルのみ)\r
+set DESTDIR="$(SolutionDir)..\実行時フォルダ\dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy "$(TargetDir)*.dll"  %25DESTDIR%25 /Y /D\r
+\r
+echo.\r
+echo (3) 出力フォルダ から 実行時フォルダ(DTXCreator) にコピーします。(日付の新しいファイルのみ)\r
+set DESTDIR="$(SolutionDir)..\実行時フォルダ(DTXCreator)\dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy "$(TargetDir)*.dll" %25DESTDIR%25 /Y /D\r
+\r
+echo.\r
+echo (4) 実行時フォルダ から ソリューション出力フォルダ にコピーします。(日付の新しいファイルのみ)\r
+set DESTDIR="$(SolutionDir)$(OutDir)dll"\r
+if not exist %25DESTDIR%25 mkdir %25DESTDIR%25\r
+xcopy "$(SolutionDir)..\実行時フォルダ\dll" %25DESTDIR%25 /Y /D\r
+rem xcopy  "$(SolutionDir)..\実行時フォルダ(DTXCreator)\dll" %25DESTDIR%25 /Y /D\r
+\r
+echo.\r
+echo ビルド後イベントを終了しました。\r
 </PostBuildEvent>\r
   </PropertyGroup>\r
 </Project>
\ No newline at end of file
index 01cd89c..92387df 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/DTXCreator.exe and b/実行時フォルダ(DTXCreator)/DTXCreator.exe differ
index 9e0df74..26fd572 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/dll/FDK.dll and b/実行時フォルダ(DTXCreator)/dll/FDK.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/SharpDX.DXGI.dll b/実行時フォルダ(DTXCreator)/dll/SharpDX.DXGI.dll
new file mode 100644 (file)
index 0000000..af78b9e
Binary files /dev/null and b/実行時フォルダ(DTXCreator)/dll/SharpDX.DXGI.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/SharpDX.Direct3D9.dll b/実行時フォルダ(DTXCreator)/dll/SharpDX.Direct3D9.dll
new file mode 100644 (file)
index 0000000..fcc4203
Binary files /dev/null and b/実行時フォルダ(DTXCreator)/dll/SharpDX.Direct3D9.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/SharpDX.DirectInput.dll b/実行時フォルダ(DTXCreator)/dll/SharpDX.DirectInput.dll
new file mode 100644 (file)
index 0000000..223c262
Binary files /dev/null and b/実行時フォルダ(DTXCreator)/dll/SharpDX.DirectInput.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/SharpDX.DirectSound.dll b/実行時フォルダ(DTXCreator)/dll/SharpDX.DirectSound.dll
new file mode 100644 (file)
index 0000000..be31cd1
Binary files /dev/null and b/実行時フォルダ(DTXCreator)/dll/SharpDX.DirectSound.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/SharpDX.Mathematics.dll b/実行時フォルダ(DTXCreator)/dll/SharpDX.Mathematics.dll
new file mode 100644 (file)
index 0000000..ae05695
Binary files /dev/null and b/実行時フォルダ(DTXCreator)/dll/SharpDX.Mathematics.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/SharpDX.dll b/実行時フォルダ(DTXCreator)/dll/SharpDX.dll
new file mode 100644 (file)
index 0000000..c4246f5
Binary files /dev/null and b/実行時フォルダ(DTXCreator)/dll/SharpDX.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/SlimDXc_net20x86_Jun2010.dll b/実行時フォルダ(DTXCreator)/dll/SlimDXc_net20x86_Jun2010.dll
deleted file mode 100644 (file)
index 4acd162..0000000
Binary files a/実行時フォルダ(DTXCreator)/dll/SlimDXc_net20x86_Jun2010.dll and /dev/null differ
index 4231a23..f872911 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/dll/SoundDecoder.dll and b/実行時フォルダ(DTXCreator)/dll/SoundDecoder.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/bassenc.dll b/実行時フォルダ(DTXCreator)/dll/bassenc.dll
new file mode 100644 (file)
index 0000000..2333051
Binary files /dev/null and b/実行時フォルダ(DTXCreator)/dll/bassenc.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/msvcp120.dll b/実行時フォルダ(DTXCreator)/dll/msvcp120.dll
new file mode 100644 (file)
index 0000000..a237d2d
Binary files /dev/null and b/実行時フォルダ(DTXCreator)/dll/msvcp120.dll differ
diff --git a/実行時フォルダ(DTXCreator)/dll/msvcr120.dll b/実行時フォルダ(DTXCreator)/dll/msvcr120.dll
new file mode 100644 (file)
index 0000000..8c36149
Binary files /dev/null and b/実行時フォルダ(DTXCreator)/dll/msvcr120.dll differ
index d0b23d4..12d42ac 100644 (file)
Binary files a/実行時フォルダ(DTXCreator)/ja-JP/DTXCreator.resources.dll and b/実行時フォルダ(DTXCreator)/ja-JP/DTXCreator.resources.dll differ
index a905290..da54431 100644 (file)
Binary files a/実行時フォルダ/DTXManiaGR.exe and b/実行時フォルダ/DTXManiaGR.exe differ
index 9e0df74..26fd572 100644 (file)
Binary files a/実行時フォルダ/dll/FDK.dll and b/実行時フォルダ/dll/FDK.dll differ
diff --git a/実行時フォルダ/dll/SharpDX.DXGI.dll b/実行時フォルダ/dll/SharpDX.DXGI.dll
new file mode 100644 (file)
index 0000000..af78b9e
Binary files /dev/null and b/実行時フォルダ/dll/SharpDX.DXGI.dll differ
diff --git a/実行時フォルダ/dll/SharpDX.Direct3D9.dll b/実行時フォルダ/dll/SharpDX.Direct3D9.dll
new file mode 100644 (file)
index 0000000..fcc4203
Binary files /dev/null and b/実行時フォルダ/dll/SharpDX.Direct3D9.dll differ
diff --git a/実行時フォルダ/dll/SharpDX.DirectInput.dll b/実行時フォルダ/dll/SharpDX.DirectInput.dll
new file mode 100644 (file)
index 0000000..223c262
Binary files /dev/null and b/実行時フォルダ/dll/SharpDX.DirectInput.dll differ
diff --git a/実行時フォルダ/dll/SharpDX.DirectSound.dll b/実行時フォルダ/dll/SharpDX.DirectSound.dll
new file mode 100644 (file)
index 0000000..be31cd1
Binary files /dev/null and b/実行時フォルダ/dll/SharpDX.DirectSound.dll differ
diff --git a/実行時フォルダ/dll/SharpDX.Mathematics.dll b/実行時フォルダ/dll/SharpDX.Mathematics.dll
new file mode 100644 (file)
index 0000000..ae05695
Binary files /dev/null and b/実行時フォルダ/dll/SharpDX.Mathematics.dll differ
diff --git a/実行時フォルダ/dll/SharpDX.dll b/実行時フォルダ/dll/SharpDX.dll
new file mode 100644 (file)
index 0000000..c4246f5
Binary files /dev/null and b/実行時フォルダ/dll/SharpDX.dll differ
diff --git a/実行時フォルダ/dll/SlimDXc_net20x86_Jun2010.dll b/実行時フォルダ/dll/SlimDXc_net20x86_Jun2010.dll
deleted file mode 100644 (file)
index 4acd162..0000000
Binary files a/実行時フォルダ/dll/SlimDXc_net20x86_Jun2010.dll and /dev/null differ
diff --git a/実行時フォルダ/dll/xadec.dll b/実行時フォルダ/dll/xadec.dll
new file mode 100644 (file)
index 0000000..a415cdb
Binary files /dev/null and b/実行時フォルダ/dll/xadec.dll differ
diff --git a/実行時フォルダ/ja-JP/DTXManiaGR.resources.dll b/実行時フォルダ/ja-JP/DTXManiaGR.resources.dll
new file mode 100644 (file)
index 0000000..985b9eb
Binary files /dev/null and b/実行時フォルダ/ja-JP/DTXManiaGR.resources.dll differ