From 2786fa102236fd1b1927c31a8677559a4267fc7c Mon Sep 17 00:00:00 2001 From: "Mr. eXoDia" Date: Fri, 1 Aug 2014 00:56:39 +0200 Subject: [PATCH] PROJECT: added dummy launcher + updated release script --- release.bat | 83 +++++++++---------- x64_dbg.sln | 6 ++ x64_dbg_launcher/x64_dbg_launcher.cpp | 8 ++ x64_dbg_launcher/x64_dbg_launcher.vcxproj | 63 ++++++++++++++ .../x64_dbg_launcher.vcxproj.filters | 32 +++++++ .../x64_dbg_launcher.vcxproj.user | 3 + 6 files changed, 152 insertions(+), 43 deletions(-) create mode 100644 x64_dbg_launcher/x64_dbg_launcher.cpp create mode 100644 x64_dbg_launcher/x64_dbg_launcher.vcxproj create mode 100644 x64_dbg_launcher/x64_dbg_launcher.vcxproj.filters create mode 100644 x64_dbg_launcher/x64_dbg_launcher.vcxproj.user diff --git a/release.bat b/release.bat index 657a353b..43f08d6e 100644 --- a/release.bat +++ b/release.bat @@ -5,56 +5,54 @@ mkdir %RELEASEDIR% echo qt_base mkdir %RELEASEDIR%\qt_base -mkdir %RELEASEDIR%\qt_base\bin -mkdir %RELEASEDIR%\qt_base\bin\x32 -mkdir %RELEASEDIR%\qt_base\bin\x64 +mkdir %RELEASEDIR%\qt_base\x32 +mkdir %RELEASEDIR%\qt_base\x64 -copy bin\x32\QtCore4.dll %RELEASEDIR%\qt_base\bin\x32\QtCore4.dll -copy bin\x32\QtGui4.dll %RELEASEDIR%\qt_base\bin\x32\QtGui4.dll -copy bin\x32\QtNetwork4.dll %RELEASEDIR%\qt_base\bin\x32\QtNetwork4.dll -copy bin\x64\QtCore4.dll %RELEASEDIR%\qt_base\bin\x64\QtCore4.dll -copy bin\x64\QtGui4.dll %RELEASEDIR%\qt_base\bin\x64\QtGui4.dll -copy bin\x64\QtNetwork4.dll %RELEASEDIR%\qt_base\bin\x64\QtNetwork4.dll +copy bin\x32\QtCore4.dll %RELEASEDIR%\qt_base\x32\QtCore4.dll +copy bin\x32\QtGui4.dll %RELEASEDIR%\qt_base\x32\QtGui4.dll +copy bin\x32\QtNetwork4.dll %RELEASEDIR%\qt_base\x32\QtNetwork4.dll +copy bin\x64\QtCore4.dll %RELEASEDIR%\qt_base\x64\QtCore4.dll +copy bin\x64\QtGui4.dll %RELEASEDIR%\qt_base\x64\QtGui4.dll +copy bin\x64\QtNetwork4.dll %RELEASEDIR%\qt_base\x64\QtNetwork4.dll echo bin_base mkdir %RELEASEDIR%\bin_base -mkdir %RELEASEDIR%\bin_base\bin -mkdir %RELEASEDIR%\bin_base\bin\x32 -mkdir %RELEASEDIR%\bin_base\bin\x64 +mkdir %RELEASEDIR%\bin_base\x32 +mkdir %RELEASEDIR%\bin_base\x64 -copy bin\x32\BeaEngine.dll %RELEASEDIR%\bin_base\bin\x32\BeaEngine.dll -copy bin\x32\dbghelp.dll %RELEASEDIR%\bin_base\bin\x32\dbghelp.dll -copy bin\x32\DeviceNameResolver.dll %RELEASEDIR%\bin_base\bin\x32\DeviceNameResolver.dll -copy bin\x32\Scylla.dll %RELEASEDIR%\bin_base\bin\x32\Scylla.dll -copy bin\x32\jansson.dll %RELEASEDIR%\bin_base\bin\x32\jansson.dll -copy bin\x32\lz4.dll %RELEASEDIR%\bin_base\bin\x32\lz4.dll -copy bin\x32\TitanEngine.dll %RELEASEDIR%\bin_base\bin\x32\TitanEngine.dll -copy bin\x32\XEDParse.dll %RELEASEDIR%\bin_base\bin\x32\XEDParse.dll -copy bin\x64\BeaEngine.dll %RELEASEDIR%\bin_base\bin\x64\BeaEngine.dll -copy bin\x64\dbghelp.dll %RELEASEDIR%\bin_base\bin\x64\dbghelp.dll -copy bin\x64\DeviceNameResolver.dll %RELEASEDIR%\bin_base\bin\x64\DeviceNameResolver.dll -copy bin\x64\Scylla.dll %RELEASEDIR%\bin_base\bin\x64\Scylla.dll -copy bin\x64\jansson.dll %RELEASEDIR%\bin_base\bin\x64\jansson.dll -copy bin\x64\lz4.dll %RELEASEDIR%\bin_base\bin\x64\lz4.dll -copy bin\x64\TitanEngine.dll %RELEASEDIR%\bin_base\bin\x64\TitanEngine.dll -copy bin\x64\XEDParse.dll %RELEASEDIR%\bin_base\bin\x64\XEDParse.dll +copy bin\x32\BeaEngine.dll %RELEASEDIR%\bin_base\x32\BeaEngine.dll +copy bin\x32\dbghelp.dll %RELEASEDIR%\bin_base\x32\dbghelp.dll +copy bin\x32\DeviceNameResolver.dll %RELEASEDIR%\bin_base\x32\DeviceNameResolver.dll +copy bin\x32\Scylla.dll %RELEASEDIR%\bin_base\x32\Scylla.dll +copy bin\x32\jansson.dll %RELEASEDIR%\bin_base\x32\jansson.dll +copy bin\x32\lz4.dll %RELEASEDIR%\bin_base\x32\lz4.dll +copy bin\x32\TitanEngine.dll %RELEASEDIR%\bin_base\x32\TitanEngine.dll +copy bin\x32\XEDParse.dll %RELEASEDIR%\bin_base\x32\XEDParse.dll +copy bin\x64\BeaEngine.dll %RELEASEDIR%\bin_base\x64\BeaEngine.dll +copy bin\x64\dbghelp.dll %RELEASEDIR%\bin_base\x64\dbghelp.dll +copy bin\x64\DeviceNameResolver.dll %RELEASEDIR%\bin_base\x64\DeviceNameResolver.dll +copy bin\x64\Scylla.dll %RELEASEDIR%\bin_base\x64\Scylla.dll +copy bin\x64\jansson.dll %RELEASEDIR%\bin_base\x64\jansson.dll +copy bin\x64\lz4.dll %RELEASEDIR%\bin_base\x64\lz4.dll +copy bin\x64\TitanEngine.dll %RELEASEDIR%\bin_base\x64\TitanEngine.dll +copy bin\x64\XEDParse.dll %RELEASEDIR%\bin_base\x64\XEDParse.dll echo release mkdir %RELEASEDIR%\release -mkdir %RELEASEDIR%\release\bin -mkdir %RELEASEDIR%\release\bin\x32 -mkdir %RELEASEDIR%\release\bin\x64 +mkdir %RELEASEDIR%\release\x32 +mkdir %RELEASEDIR%\release\x64 -copy bin\x32\x32_bridge.dll %RELEASEDIR%\release\bin\x32\x32_bridge.dll -copy bin\x32\x32_dbg.dll %RELEASEDIR%\release\bin\x32\x32_dbg.dll -copy bin\x32\x32_dbg.exe %RELEASEDIR%\release\bin\x32\x32_dbg.exe -copy bin\x32\x32_gui.dll %RELEASEDIR%\release\bin\x32\x32_gui.dll -copy bin\x64\x64_bridge.dll %RELEASEDIR%\release\bin\x64\x64_bridge.dll -copy bin\x64\x64_dbg.dll %RELEASEDIR%\release\bin\x64\x64_dbg.dll -copy bin\x64\x64_dbg.exe %RELEASEDIR%\release\bin\x64\x64_dbg.exe -copy bin\x64\x64_gui.dll %RELEASEDIR%\release\bin\x64\x64_gui.dll +copy bin\launcher.exe %RELEASEDIR%\release\launcher.exe +copy bin\x32\x32_bridge.dll %RELEASEDIR%\release\x32\x32_bridge.dll +copy bin\x32\x32_dbg.dll %RELEASEDIR%\release\x32\x32_dbg.dll +copy bin\x32\x32_dbg.exe %RELEASEDIR%\release\x32\x32_dbg.exe +copy bin\x32\x32_gui.dll %RELEASEDIR%\release\x32\x32_gui.dll +copy bin\x64\x64_bridge.dll %RELEASEDIR%\release\x64\x64_bridge.dll +copy bin\x64\x64_dbg.dll %RELEASEDIR%\release\x64\x64_dbg.dll +copy bin\x64\x64_dbg.exe %RELEASEDIR%\release\x64\x64_dbg.exe +copy bin\x64\x64_gui.dll %RELEASEDIR%\release\x64\x64_gui.dll echo help @@ -114,9 +112,8 @@ echo test rmdir %RELEASEDIR%\test /S /Q mkdir %RELEASEDIR%\test -mkdir %RELEASEDIR%\test\bin -xcopy %RELEASEDIR%\qt_base\bin %RELEASEDIR%\test\bin /S /Y -xcopy %RELEASEDIR%\bin_base\bin %RELEASEDIR%\test\bin /S /Y -xcopy %RELEASEDIR%\release\bin %RELEASEDIR%\test\bin /S /Y +xcopy %RELEASEDIR%\qt_base %RELEASEDIR%\test /S /Y +xcopy %RELEASEDIR%\bin_base %RELEASEDIR%\test /S /Y +xcopy %RELEASEDIR%\release %RELEASEDIR%\test /S /Y xcopy %RELEASEDIR%\help %RELEASEDIR%\test /S /Y \ No newline at end of file diff --git a/x64_dbg.sln b/x64_dbg.sln index ace16b6e..a7e946e6 100644 --- a/x64_dbg.sln +++ b/x64_dbg.sln @@ -13,6 +13,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "x64_dbg_dbg", "x64_dbg_dbg\ {944D9923-CB1A-6F6C-BCBC-9E00A71954C1} = {944D9923-CB1A-6F6C-BCBC-9E00A71954C1} EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "x64_dbg_launcher", "x64_dbg_launcher\x64_dbg_launcher.vcxproj", "{AC3F927A-4079-4C97-B8BE-8D04546802E7}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Release|Win32 = Release|Win32 @@ -31,6 +33,10 @@ Global {E6548308-401E-3A8A-5819-905DB90522A6}.Release|Win32.Build.0 = Release|Win32 {E6548308-401E-3A8A-5819-905DB90522A6}.Release|x64.ActiveCfg = Release|x64 {E6548308-401E-3A8A-5819-905DB90522A6}.Release|x64.Build.0 = Release|x64 + {AC3F927A-4079-4C97-B8BE-8D04546802E7}.Release|Win32.ActiveCfg = Release|Win32 + {AC3F927A-4079-4C97-B8BE-8D04546802E7}.Release|Win32.Build.0 = Release|Win32 + {AC3F927A-4079-4C97-B8BE-8D04546802E7}.Release|x64.ActiveCfg = Release|Win32 + {AC3F927A-4079-4C97-B8BE-8D04546802E7}.Release|x64.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/x64_dbg_launcher/x64_dbg_launcher.cpp b/x64_dbg_launcher/x64_dbg_launcher.cpp new file mode 100644 index 00000000..c8362fd0 --- /dev/null +++ b/x64_dbg_launcher/x64_dbg_launcher.cpp @@ -0,0 +1,8 @@ +#include +#include + +int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) +{ + MessageBoxA(0, "This is a launcher for x64_dbg!", "x64_dbg", MB_ICONINFORMATION|MB_SYSTEMMODAL); + return 0; +} \ No newline at end of file diff --git a/x64_dbg_launcher/x64_dbg_launcher.vcxproj b/x64_dbg_launcher/x64_dbg_launcher.vcxproj new file mode 100644 index 00000000..0a6b3986 --- /dev/null +++ b/x64_dbg_launcher/x64_dbg_launcher.vcxproj @@ -0,0 +1,63 @@ + + + + + Release + Win32 + + + + + + + + + + + + + {AC3F927A-4079-4C97-B8BE-8D04546802E7} + Win32Proj + + + + Application + false + + + + + + + + + + false + $(SolutionDir)bin\ + $(Platform)\$(Configuration)\ + launcher + false + + + + WIN32;NDEBUG;_WINDOWS;_USRDLL;X64_DBG_EXPORTS;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + MultiThreadedDLL + Level3 + ProgramDatabase + + + MachineX86 + true + Windows + true + true + $(SolutionDir)bin\x32\x32_bridge.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies) + $(TargetDir)$(TargetName).pdb + + + + + + + + \ No newline at end of file diff --git a/x64_dbg_launcher/x64_dbg_launcher.vcxproj.filters b/x64_dbg_launcher/x64_dbg_launcher.vcxproj.filters new file mode 100644 index 00000000..75e93aad --- /dev/null +++ b/x64_dbg_launcher/x64_dbg_launcher.vcxproj.filters @@ -0,0 +1,32 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + + + Resource Files + + + + + Header Files + + + \ No newline at end of file diff --git a/x64_dbg_launcher/x64_dbg_launcher.vcxproj.user b/x64_dbg_launcher/x64_dbg_launcher.vcxproj.user new file mode 100644 index 00000000..695b5c78 --- /dev/null +++ b/x64_dbg_launcher/x64_dbg_launcher.vcxproj.user @@ -0,0 +1,3 @@ + + + \ No newline at end of file