Skip to content

Commit

Permalink
Merge pull request MediaArea#28 from JeromeMartinez/MSVC2015
Browse files Browse the repository at this point in the history
Update of Windows build scripts for using MSVC2015
  • Loading branch information
GuillaumeRoques committed Feb 29, 2016
2 parents a328273 + 8ebb212 commit 2447537
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 14 deletions.
1 change: 1 addition & 0 deletions Project/MSVC2015/GUI/MediaInfo_GUI.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
<AdditionalIncludeDirectories>../../../Source;../../../../MediaInfoLib/Source;../../../../ZenLib/Source;../../../../wxWidgets/include;../../../../wxWidgets/lib/vc_x64_lib\mswud;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<PreprocessorDefinitions>MEDIAINFO_ADVANCED2_NO;_UNICODE;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ResourceCompile>
<AdditionalIncludeDirectories>../../../../wxWidgets/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
Expand Down
3 changes: 1 addition & 2 deletions Release/Release_CLI_Windows_i386.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ rmdir MediaInfo_CLI_Windows_i386 /S /Q
mkdir MediaInfo_CLI_Windows_i386

rem --- Copying : Exe ---
xcopy ..\Project\MSVC2013\CLI\Win32\Release\MediaInfo.exe MediaInfo_CLI_Windows_i386\ /S
xcopy ..\..\MediaInfoLib\Project\MSVC2013\DLL\Win32\Release\MediaInfo.dll MediaInfo_CLI_Windows_i386\ /S
xcopy ..\Project\MSVC2015\Win32\Release\MediaInfo.exe MediaInfo_CLI_Windows_i386\ /S

rem --- Copying : Plugins ---
xcopy ..\Source\Resource\Plugin\Custom\* MediaInfo_CLI_Windows_i386\Plugin\Custom\ /S
Expand Down
3 changes: 1 addition & 2 deletions Release/Release_CLI_Windows_x64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ rmdir MediaInfo_CLI_Windows_x64 /S /Q
mkdir MediaInfo_CLI_Windows_x64

rem --- Copying : Exe ---
xcopy ..\Project\MSVC2013\CLI\x64\Release\MediaInfo.exe MediaInfo_CLI_Windows_x64\ /S
xcopy ..\..\MediaInfoLib\Project\MSVC2013\DLL\x64\Release\MediaInfo.dll MediaInfo_CLI_Windows_x64\ /S
xcopy ..\Project\MSVC2015\x64\Release\MediaInfo.exe MediaInfo_CLI_Windows_x64\ /S

rem --- Copying : Plugins ---
xcopy ..\Source\Resource\Plugin\Custom\* MediaInfo_CLI_Windows_x64\Plugin\Custom\ /S
Expand Down
4 changes: 2 additions & 2 deletions Release/Release_GUI_Windows_i386.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ copy BCB\GUI\MediaInfo_GUI.exe BCB\GUI\MediaInfo.exe

@rem --- Copying : Exe ---
copy ..\Project\BCB\GUI\Win32\Release\MediaInfo_GUI.exe MediaInfo_GUI_Windows_i386\MediaInfo.exe
copy ..\..\MediaInfoLib\Project\MSVC2013\DLL\Win32\Release\MediaInfo.dll MediaInfo_GUI_Windows_i386\MediaInfo_i386.dll
xcopy ..\..\MediaInfoLib\Project\MSVC2013\ShellExtension\Win32\Release\MediaInfo_InfoTip.dll MediaInfo_GUI_Windows_i386\ /S
copy ..\..\MediaInfoLib\Project\MSVC2015\Win32\Release\MediaInfo.dll MediaInfo_GUI_Windows_i386\MediaInfo_i386.dll
xcopy ..\..\MediaInfoLib\Project\MSVC2015\Win32\Release\MediaInfo_InfoTip.dll MediaInfo_GUI_Windows_i386\ /S

@rem --- Copying : Plugins ---
xcopy ..\Source\Resource\Plugin\* MediaInfo_GUI_Windows_i386\Plugin\ /S
Expand Down
6 changes: 3 additions & 3 deletions Release/Release_GUI_Windows_x64.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ mkdir MediaInfo_GUI_Windows_x64

@rem --- Copying : Exe ---
copy ..\Project\BCB\GUI\Win32\Release\MediaInfo_GUI.exe MediaInfo_GUI_Windows_x64\MediaInfo.exe
xcopy ..\..\MediaInfoLib\Project\MSVC2013\DLL\x64\Release\MediaInfo.dll MediaInfo_GUI_Windows_x64\ /S
copy ..\..\MediaInfoLib\Project\MSVC2013\DLL\Win32\Release\MediaInfo.dll MediaInfo_GUI_Windows_x64\MediaInfo_i386.dll
xcopy ..\..\MediaInfoLib\Project\MSVC2013\ShellExtension\x64\Release\MediaInfo_InfoTip.dll MediaInfo_GUI_Windows_x64\ /S
xcopy ..\..\MediaInfoLib\Project\MSVC2015\x64\Release\MediaInfo.dll MediaInfo_GUI_Windows_x64\ /S
copy ..\..\MediaInfoLib\Project\MSVC2015\Win32\Release\MediaInfo.dll MediaInfo_GUI_Windows_x64\MediaInfo_i386.dll
xcopy ..\..\MediaInfoLib\Project\MSVC2015\x64\Release\MediaInfo_InfoTip.dll MediaInfo_GUI_Windows_x64\ /S

@rem --- Copying : Plugins ---
xcopy ..\Source\Resource\Plugin\* MediaInfo_GUI_Windows_x64\Plugin\ /S
Expand Down
10 changes: 5 additions & 5 deletions Source/Install/MediaInfo_GUI_Windows.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ Section "SectionPrincipale" SEC01
CreateShortCut "$SMPROGRAMS\MediaInfo.lnk" "$INSTDIR\MediaInfo.exe" "" "" "" "" "" "Convenient unified display of the most relevant technical and tag data for video and audio files"
SetOutPath "$INSTDIR"
File "/oname=MediaInfo.exe" "..\..\Project\BCB\GUI\Win32\Release\MediaInfo_GUI.exe"
File "/oname=MediaInfo_i386.dll" "..\..\..\MediaInfoLib\Project\MSVC2013\Win32\Release\MediaInfo.dll"
File "/oname=MediaInfo_i386.dll" "..\..\..\MediaInfoLib\Project\MSVC2015\Win32\Release\MediaInfo.dll"
${If} ${RunningX64}
File "..\..\..\MediaInfoLib\Project\MSVC2013\x64\Release\MediaInfo_InfoTip.dll"
File "..\..\..\MediaInfoLib\Project\MSVC2013\x64\Release\MediaInfo.dll"
File "..\..\..\MediaInfoLib\Project\MSVC2015\x64\Release\MediaInfo_InfoTip.dll"
File "..\..\..\MediaInfoLib\Project\MSVC2015\x64\Release\MediaInfo.dll"
${Else}
File "..\..\..\MediaInfoLib\Project\MSVC2013\Win32\Release\MediaInfo_InfoTip.dll"
File "..\..\..\MediaInfoLib\Project\MSVC2013\Win32\Release\MediaInfo.dll"
File "..\..\..\MediaInfoLib\Project\MSVC2015\Win32\Release\MediaInfo_InfoTip.dll"
File "..\..\..\MediaInfoLib\Project\MSVC2015\Win32\Release\MediaInfo.dll"
${EndIf}
File "/oname=History.txt" "..\..\History_GUI.txt"
File "..\..\License.html"
Expand Down

0 comments on commit 2447537

Please sign in to comment.