From 371a6d57b401809f8464c73b4c4f78470330614b Mon Sep 17 00:00:00 2001 From: "Mr. eXoDia" Date: Wed, 25 Mar 2015 03:37:08 +0100 Subject: [PATCH] separated MyDebugger from GleeBug --- GleeBug.sln | 13 +++ GleeBug/Debugger.Data.h | 3 + GleeBug/GleeBug.vcxproj | 24 +++-- GleeBug/GleeBug.vcxproj.filters | 24 ++--- {GleeBug => MyDebugger}/MyDebugger.h | 2 +- MyDebugger/MyDebugger.vcxproj | 145 ++++++++++++++++++++++++++ MyDebugger/MyDebugger.vcxproj.filters | 27 +++++ {GleeBug => MyDebugger}/main.cpp | 3 - 8 files changed, 209 insertions(+), 32 deletions(-) rename {GleeBug => MyDebugger}/MyDebugger.h (93%) create mode 100644 MyDebugger/MyDebugger.vcxproj create mode 100644 MyDebugger/MyDebugger.vcxproj.filters rename {GleeBug => MyDebugger}/main.cpp (87%) diff --git a/GleeBug.sln b/GleeBug.sln index 4c90686..13b0b30 100644 --- a/GleeBug.sln +++ b/GleeBug.sln @@ -5,6 +5,11 @@ VisualStudioVersion = 12.0.30723.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "GleeBug", "GleeBug\GleeBug.vcxproj", "{B65A3680-9B6B-44E6-A046-649F94DF9F56}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MyDebugger", "MyDebugger\MyDebugger.vcxproj", "{4083DE5A-582F-4B15-B6F0-CB866E66F8C4}" + ProjectSection(ProjectDependencies) = postProject + {B65A3680-9B6B-44E6-A046-649F94DF9F56} = {B65A3680-9B6B-44E6-A046-649F94DF9F56} + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -21,6 +26,14 @@ Global {B65A3680-9B6B-44E6-A046-649F94DF9F56}.Release|Win32.Build.0 = Release|Win32 {B65A3680-9B6B-44E6-A046-649F94DF9F56}.Release|x64.ActiveCfg = Release|x64 {B65A3680-9B6B-44E6-A046-649F94DF9F56}.Release|x64.Build.0 = Release|x64 + {4083DE5A-582F-4B15-B6F0-CB866E66F8C4}.Debug|Win32.ActiveCfg = Debug|Win32 + {4083DE5A-582F-4B15-B6F0-CB866E66F8C4}.Debug|Win32.Build.0 = Debug|Win32 + {4083DE5A-582F-4B15-B6F0-CB866E66F8C4}.Debug|x64.ActiveCfg = Debug|x64 + {4083DE5A-582F-4B15-B6F0-CB866E66F8C4}.Debug|x64.Build.0 = Debug|x64 + {4083DE5A-582F-4B15-B6F0-CB866E66F8C4}.Release|Win32.ActiveCfg = Release|Win32 + {4083DE5A-582F-4B15-B6F0-CB866E66F8C4}.Release|Win32.Build.0 = Release|Win32 + {4083DE5A-582F-4B15-B6F0-CB866E66F8C4}.Release|x64.ActiveCfg = Release|x64 + {4083DE5A-582F-4B15-B6F0-CB866E66F8C4}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/GleeBug/Debugger.Data.h b/GleeBug/Debugger.Data.h index fcf6141..567295d 100644 --- a/GleeBug/Debugger.Data.h +++ b/GleeBug/Debugger.Data.h @@ -5,6 +5,9 @@ namespace GleeBug { + /** + \brief Process information structure. + */ struct ProcessInfo { HANDLE hProcess; diff --git a/GleeBug/GleeBug.vcxproj b/GleeBug/GleeBug.vcxproj index 53afd54..304f33e 100644 --- a/GleeBug/GleeBug.vcxproj +++ b/GleeBug/GleeBug.vcxproj @@ -24,26 +24,26 @@ - Application + StaticLibrary true v120 MultiByte - Application + StaticLibrary true v120 MultiByte - Application + StaticLibrary false v120 true MultiByte - Application + StaticLibrary false v120 true @@ -66,22 +66,27 @@ - $(SolutionDir)bin\x32\$(Configuration)\ + $(SolutionDir)bin\$(Configuration)\x32\ + .lib - $(SolutionDir)bin\x64\$(Configuration)\ + $(SolutionDir)bin\$(Configuration)\x64\ + .lib - $(SolutionDir)bin\x32\$(Configuration)\ + $(SolutionDir)bin\$(Configuration)\x32\ + .lib - $(SolutionDir)bin\x64\$(Configuration)\ + $(SolutionDir)bin\$(Configuration)\x64\ + .lib Level3 Disabled true + MultiThreadedDLL true @@ -92,6 +97,7 @@ Level3 Disabled true + MultiThreadedDLL true @@ -131,13 +137,11 @@ - - diff --git a/GleeBug/GleeBug.vcxproj.filters b/GleeBug/GleeBug.vcxproj.filters index 3d5c2b9..47a6555 100644 --- a/GleeBug/GleeBug.vcxproj.filters +++ b/GleeBug/GleeBug.vcxproj.filters @@ -13,41 +13,29 @@ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - {20ccba34-8c87-490a-8bd3-5195e625d009} - - - {91ea9bea-4704-4816-a885-8afd0e3ff974} - - + Source Files - - Source Files\GleeBug - - Source Files\GleeBug + Source Files - Source Files\GleeBug + Source Files - Source Files\GleeBug + Source Files - Header Files\GleeBug + Header Files - Header Files\GleeBug + Header Files - Header Files\GleeBug - - Header Files diff --git a/GleeBug/MyDebugger.h b/MyDebugger/MyDebugger.h similarity index 93% rename from GleeBug/MyDebugger.h rename to MyDebugger/MyDebugger.h index 6a6fb5a..c4ce110 100644 --- a/GleeBug/MyDebugger.h +++ b/MyDebugger/MyDebugger.h @@ -1,7 +1,7 @@ #ifndef _MYDEBUGGER_H #define _MYDEBUGGER_H -#include "Debugger.h" +#include "../GleeBug/Debugger.h" class MyDebugger : public GleeBug::Debugger { diff --git a/MyDebugger/MyDebugger.vcxproj b/MyDebugger/MyDebugger.vcxproj new file mode 100644 index 0000000..7d0b12e --- /dev/null +++ b/MyDebugger/MyDebugger.vcxproj @@ -0,0 +1,145 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {4083DE5A-582F-4B15-B6F0-CB866E66F8C4} + MyDebugger + + + + Application + true + v120 + MultiByte + + + Application + true + v120 + MultiByte + + + Application + false + v120 + true + MultiByte + + + Application + false + v120 + true + MultiByte + + + + + + + + + + + + + + + + + + + $(SolutionDir)bin\$(Configuration)\x32\ + + + $(SolutionDir)bin\$(Configuration)\x32\ + + + $(SolutionDir)bin\$(Configuration)\x64\ + + + $(SolutionDir)bin\$(Configuration)\x64\ + + + + Level3 + Disabled + true + MultiThreadedDLL + + + true + $(SolutionDir)bin\$(Configuration)\x32\GleeBug.lib;%(AdditionalDependencies) + + + + + Level3 + Disabled + true + MultiThreadedDLL + + + true + $(SolutionDir)bin\$(Configuration)\x64\GleeBug.lib;%(AdditionalDependencies) + + + + + Level3 + MaxSpeed + true + true + true + MultiThreaded + + + true + true + true + $(SolutionDir)bin\$(Configuration)\x32\GleeBug.lib;%(AdditionalDependencies) + + + + + Level3 + MaxSpeed + true + true + true + MultiThreaded + + + true + true + true + $(SolutionDir)bin\$(Configuration)\x64\GleeBug.lib;%(AdditionalDependencies) + + + + + + + + + + + + \ No newline at end of file diff --git a/MyDebugger/MyDebugger.vcxproj.filters b/MyDebugger/MyDebugger.vcxproj.filters new file mode 100644 index 0000000..f1b353c --- /dev/null +++ b/MyDebugger/MyDebugger.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;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;mfcribbon-ms + + + + + Source Files + + + + + Header Files + + + \ No newline at end of file diff --git a/GleeBug/main.cpp b/MyDebugger/main.cpp similarity index 87% rename from GleeBug/main.cpp rename to MyDebugger/main.cpp index d1574dc..05f4efb 100644 --- a/GleeBug/main.cpp +++ b/MyDebugger/main.cpp @@ -1,9 +1,6 @@ #include -#include "Debugger.h" #include "MyDebugger.h" -using namespace GleeBug; - int main() { wchar_t szFilePath[256] = L"c:\\CodeBlocks\\arma_cert_bin_info\\bin\\arma_cert_bin_info.exe";