From a8cdee67e8d06ef1265bbac1629a101aa63b344e Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Fri, 20 Jul 2018 16:54:51 -0400 Subject: [PATCH] add project for c#/c++ interoperability --- GUI.sln | 24 ++++ GUI/HostInterop/AssemblyInfo.cpp | Bin 0 -> 1522 bytes GUI/HostInterop/HostInterop.h | Bin 0 -> 468 bytes GUI/HostInterop/HostInterop.vcxproj | 151 ++++++++++++++++++++ GUI/HostInterop/HostInterop.vcxproj.filters | 29 ++++ GUI/HostInterop/stdafx.cpp | Bin 0 -> 44 bytes GUI/HostInterop/stdafx.h | Bin 0 -> 30 bytes 7 files changed, 204 insertions(+) create mode 100644 GUI/HostInterop/AssemblyInfo.cpp create mode 100644 GUI/HostInterop/HostInterop.h create mode 100644 GUI/HostInterop/HostInterop.vcxproj create mode 100644 GUI/HostInterop/HostInterop.vcxproj.filters create mode 100644 GUI/HostInterop/stdafx.cpp create mode 100644 GUI/HostInterop/stdafx.h diff --git a/GUI.sln b/GUI.sln index 7e2eba0..8f9287d 100644 --- a/GUI.sln +++ b/GUI.sln @@ -5,16 +5,40 @@ VisualStudioVersion = 15.0.27703.2042 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GUI", "GUI\GUI.csproj", "{D847D0DC-78F5-4722-8E06-1A124B957353}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HostInterop", "GUI\HostInterop\HostInterop.vcxproj", "{C3534056-72B3-4651-B69C-6E428F675861}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x64.ActiveCfg = Debug|Any CPU + {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x64.Build.0 = Debug|Any CPU + {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x86.ActiveCfg = Debug|Any CPU + {D847D0DC-78F5-4722-8E06-1A124B957353}.Debug|x86.Build.0 = Debug|Any CPU {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|Any CPU.ActiveCfg = Release|Any CPU {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|Any CPU.Build.0 = Release|Any CPU + {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|x64.ActiveCfg = Release|Any CPU + {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|x64.Build.0 = Release|Any CPU + {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|x86.ActiveCfg = Release|Any CPU + {D847D0DC-78F5-4722-8E06-1A124B957353}.Release|x86.Build.0 = Release|Any CPU + {C3534056-72B3-4651-B69C-6E428F675861}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {C3534056-72B3-4651-B69C-6E428F675861}.Debug|x64.ActiveCfg = Debug|x64 + {C3534056-72B3-4651-B69C-6E428F675861}.Debug|x64.Build.0 = Debug|x64 + {C3534056-72B3-4651-B69C-6E428F675861}.Debug|x86.ActiveCfg = Debug|Win32 + {C3534056-72B3-4651-B69C-6E428F675861}.Debug|x86.Build.0 = Debug|Win32 + {C3534056-72B3-4651-B69C-6E428F675861}.Release|Any CPU.ActiveCfg = Release|Win32 + {C3534056-72B3-4651-B69C-6E428F675861}.Release|x64.ActiveCfg = Release|x64 + {C3534056-72B3-4651-B69C-6E428F675861}.Release|x64.Build.0 = Release|x64 + {C3534056-72B3-4651-B69C-6E428F675861}.Release|x86.ActiveCfg = Release|Win32 + {C3534056-72B3-4651-B69C-6E428F675861}.Release|x86.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/GUI/HostInterop/AssemblyInfo.cpp b/GUI/HostInterop/AssemblyInfo.cpp new file mode 100644 index 0000000000000000000000000000000000000000..c11d2a380dab0f8e6378793ffd7c02d711668133 GIT binary patch literal 1522 zcmcJPPfNp45X9#!_#H~UsE4ASq@GGWDD+Tl=|w!GF|EO-3Hc-T%d5YAQE1c$jZ{J* z-MpRIo!NcwZ%2x?R;ZOKJt|U1T@@;M546y$dU_&qr~~(__-5yqoLh4uA)`>nTj+8p z+PLh9FITNI`s(WroCVcHAeL~Y@cb32BG)jiO2Zz4mQZc%@N-Rw=X&A4RbT9l=hpEW zb_&~mSPUh^qnv6>RJMM`uKt8b!BcDX)rC2Bk1zJc+?dm|WevVXrVh{a9)Mdq{5d=& zkzFwg@$qus+;&_MWLT5VHC6m!^0;bLvyJHem z%=PT$Z;L!czZLzM^Zq&BM%{HgX5i(_t$$j(XwgHFo=zKz_!#OtXa=I8+E&`0El^}d bB-+x{k1*m+sc|y0VmFh&yJ`DeHBdhQ4(<<7 literal 0 HcmV?d00001 diff --git a/GUI/HostInterop/HostInterop.h b/GUI/HostInterop/HostInterop.h new file mode 100644 index 0000000000000000000000000000000000000000..ce127d23ed0c4e692501128e708d8b5f0d5e1df5 GIT binary patch literal 468 zcmbtQK@Ng25S*(f{-Ke(KEMy?*%y?8V1z;nBpAcj)!9uOFP=0_w%yt8%zJAPwI+`=BHW9i@@ zK5;hC>xV;pO~hozinDoYv{V|n5vw~eIODEeB`XJ=M7qBHJVyQ#tKvN{@3rHham8#x pj)r=UYBJM>w|EMyINk<{#n3?>YvM&}gKnW=EFxoKUZS@}@i%l + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 15.0 + {C3534056-72B3-4651-B69C-6E428F675861} + v4.6 + ManagedCProj + HostInterop + 10.0.17134.0 + + + + DynamicLibrary + true + v141 + true + Unicode + + + DynamicLibrary + false + v141 + true + Unicode + + + DynamicLibrary + true + v141 + true + Unicode + + + DynamicLibrary + false + v141 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + true + + + false + + + false + + + + Level3 + Disabled + WIN32;_DEBUG;%(PreprocessorDefinitions) + Use + + + + + + + + Level3 + Disabled + _DEBUG;%(PreprocessorDefinitions) + Use + + + + + + + + Level3 + WIN32;NDEBUG;%(PreprocessorDefinitions) + Use + + + + + + + + Level3 + NDEBUG;%(PreprocessorDefinitions) + Use + + + + + + + + + + + + + + + + + + Create + Create + Create + Create + + + + + + \ No newline at end of file diff --git a/GUI/HostInterop/HostInterop.vcxproj.filters b/GUI/HostInterop/HostInterop.vcxproj.filters new file mode 100644 index 0000000..3e0ae9a --- /dev/null +++ b/GUI/HostInterop/HostInterop.vcxproj.filters @@ -0,0 +1,29 @@ + + + + + {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;ipp;xsd + + + + + Header Files + + + Header Files + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/GUI/HostInterop/stdafx.cpp b/GUI/HostInterop/stdafx.cpp new file mode 100644 index 0000000000000000000000000000000000000000..08343afdf790eaa4524432ba7b0c3ddc395ee814 GIT binary patch literal 44 xcmezWPnjW;A&()MA%~%qA%!88L4iSup_rir$WCNPW2j)zW5@uC@G@{Q008!y2%rD} literal 0 HcmV?d00001 diff --git a/GUI/HostInterop/stdafx.h b/GUI/HostInterop/stdafx.h new file mode 100644 index 0000000000000000000000000000000000000000..866b7f5b647af399e28ddfc986dce977754dd671 GIT binary patch literal 30 kcmezWPnn^Bp@<=oA)O%?NGdSoGvqNOGo&)`GH@{f0E5H^bpQYW literal 0 HcmV?d00001