From 3552013af9804548fa7e91d016f10c8842226373 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Thu, 19 Feb 2015 14:59:22 +0100 Subject: [PATCH] Created projects for client and server --- .gitignore | 235 +++++++++++++++++++++++++--------- Client/Client.cpp | 8 ++ Client/Client.vcxproj | 84 ++++++++++++ Client/Client.vcxproj.filters | 22 ++++ ProtoBufTest.sln | 28 ++++ Server/Server.cpp | 8 ++ Server/Server.vcxproj | 84 ++++++++++++ Server/Server.vcxproj.filters | 22 ++++ 8 files changed, 434 insertions(+), 57 deletions(-) create mode 100644 Client/Client.cpp create mode 100644 Client/Client.vcxproj create mode 100644 Client/Client.vcxproj.filters create mode 100644 ProtoBufTest.sln create mode 100644 Server/Server.cpp create mode 100644 Server/Server.vcxproj create mode 100644 Server/Server.vcxproj.filters diff --git a/.gitignore b/.gitignore index 172831a..d77b99a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,75 +1,196 @@ -# Compiled Object files -*.slo -*.lo -*.o +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +build/ +bld/ +[Bb]in/ +[Oo]bj/ + +# Visual Studo 2015 cache/options directory +.vs/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +#NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta *.obj - -# Precompiled Headers -*.gch *.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc -# Compiled Dynamic libraries -*.so -*.dylib -*.dll +# Chutzpah Test files +_Chutzpah* -# Fortran module files -*.mod +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opensdf +*.sdf +*.cachefile -# Compiled Static libraries -*.lai -*.la -*.a -*.lib +# Visual Studio profiler +*.psess +*.vsp +*.vspx -# Executables -*.exe -*.out -*.app +# TFS 2012 Local Workspace +$tf/ -# ========================= -# Operating System Files -# ========================= +# Guidance Automation Toolkit +*.gpState -# OSX -# ========================= +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user -.DS_Store -.AppleDouble -.LSOverride +# JustCode is a .NET coding addin-in +.JustCode -# Thumbnails -._* +# TeamCity is a build add-in +_TeamCity* -# Files that might appear on external disk -.Spotlight-V100 -.Trashes +# DotCover is a Code Coverage Tool +*.dotCover -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk +# NCrunch +_NCrunch_* +.*crunch*.local.xml -# Windows -# ========================= +# MightyMoose +*.mm.* +AutoTest.Net/ -# Windows image file caches -Thumbs.db -ehthumbs.db +# Web workbench (sass) +.sass-cache/ -# Folder config file -Desktop.ini +# Installshield output folder +[Ee]xpress/ -# Recycle Bin used on file shares -$RECYCLE.BIN/ +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html -# Windows Installer files -*.cab -*.msi -*.msm -*.msp +# Click-Once directory +publish/ -# Windows shortcuts -*.lnk +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/packages/repositories.config + +# Windows Azure Build Output +csx/ +*.build.csdef + +# Windows Store app package directory +AppPackages/ + +# Others +*.[Cc]ache +ClientBin/ +[Ss]tyle[Cc]op.* +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.pfx +*.publishsettings +node_modules/ +bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt \ No newline at end of file diff --git a/Client/Client.cpp b/Client/Client.cpp new file mode 100644 index 0000000..ca905f7 --- /dev/null +++ b/Client/Client.cpp @@ -0,0 +1,8 @@ +#include + +int main(int argc, char **argv) +{ + std::cout << "Client running" << std::endl; + + return 0; +} \ No newline at end of file diff --git a/Client/Client.vcxproj b/Client/Client.vcxproj new file mode 100644 index 0000000..f0b4656 --- /dev/null +++ b/Client/Client.vcxproj @@ -0,0 +1,84 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {010C073D-B9CB-4FF6-8CA5-5029D6A6A2C7} + Win32Proj + Client + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + + + Console + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Client/Client.vcxproj.filters b/Client/Client.vcxproj.filters new file mode 100644 index 0000000..10a1c2e --- /dev/null +++ b/Client/Client.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {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 + + + \ No newline at end of file diff --git a/ProtoBufTest.sln b/ProtoBufTest.sln new file mode 100644 index 0000000..432a976 --- /dev/null +++ b/ProtoBufTest.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Server", "Server\Server.vcxproj", "{DD8094A4-9A06-48C2-8089-8F9CD17DB56A}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Client", "Client\Client.vcxproj", "{010C073D-B9CB-4FF6-8CA5-5029D6A6A2C7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DD8094A4-9A06-48C2-8089-8F9CD17DB56A}.Debug|Win32.ActiveCfg = Debug|Win32 + {DD8094A4-9A06-48C2-8089-8F9CD17DB56A}.Debug|Win32.Build.0 = Debug|Win32 + {DD8094A4-9A06-48C2-8089-8F9CD17DB56A}.Release|Win32.ActiveCfg = Release|Win32 + {DD8094A4-9A06-48C2-8089-8F9CD17DB56A}.Release|Win32.Build.0 = Release|Win32 + {010C073D-B9CB-4FF6-8CA5-5029D6A6A2C7}.Debug|Win32.ActiveCfg = Debug|Win32 + {010C073D-B9CB-4FF6-8CA5-5029D6A6A2C7}.Debug|Win32.Build.0 = Debug|Win32 + {010C073D-B9CB-4FF6-8CA5-5029D6A6A2C7}.Release|Win32.ActiveCfg = Release|Win32 + {010C073D-B9CB-4FF6-8CA5-5029D6A6A2C7}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/Server/Server.cpp b/Server/Server.cpp new file mode 100644 index 0000000..800f778 --- /dev/null +++ b/Server/Server.cpp @@ -0,0 +1,8 @@ +#include + +int main(int argc, char **argv) +{ + std::cout << "Server running" << std::endl; + + return 0; +} \ No newline at end of file diff --git a/Server/Server.vcxproj b/Server/Server.vcxproj new file mode 100644 index 0000000..1778333 --- /dev/null +++ b/Server/Server.vcxproj @@ -0,0 +1,84 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {DD8094A4-9A06-48C2-8089-8F9CD17DB56A} + Win32Proj + Server + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + + + Console + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + + + Console + true + true + true + + + + + + + + + \ No newline at end of file diff --git a/Server/Server.vcxproj.filters b/Server/Server.vcxproj.filters new file mode 100644 index 0000000..5bd5728 --- /dev/null +++ b/Server/Server.vcxproj.filters @@ -0,0 +1,22 @@ + + + + + {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 + + + \ No newline at end of file