From 41a90e1b49dc12040f1588c7dcb7c4b94a86d0dc Mon Sep 17 00:00:00 2001 From: Paul Betts Date: Tue, 29 Jul 2014 10:43:30 +0200 Subject: [PATCH] This is really happening --- .gitignore | 1 + Squirrel.sln | 28 +++++++++++ src/Setup/Setup.h | 3 ++ src/Setup/Setup.ico | Bin 0 -> 2998 bytes src/Setup/Setup.rc | Bin 0 -> 4402 bytes src/Setup/Setup.vcxproj | 103 ++++++++++++++++++++++++++++++++++++++++ src/Setup/resource.h | Bin 0 -> 1608 bytes src/Setup/small.ico | Bin 0 -> 2998 bytes src/Setup/stdafx.cpp | 8 ++++ src/Setup/stdafx.h | 19 ++++++++ src/Setup/targetver.h | 11 +++++ src/Setup/winmain.cpp | 13 +++++ 12 files changed, 186 insertions(+) create mode 100644 src/Setup/Setup.h create mode 100644 src/Setup/Setup.ico create mode 100644 src/Setup/Setup.rc create mode 100644 src/Setup/Setup.vcxproj create mode 100644 src/Setup/resource.h create mode 100644 src/Setup/small.ico create mode 100644 src/Setup/stdafx.cpp create mode 100644 src/Setup/stdafx.h create mode 100644 src/Setup/targetver.h create mode 100644 src/Setup/winmain.cpp diff --git a/.gitignore b/.gitignore index a0574c32..0e4b7c79 100644 --- a/.gitignore +++ b/.gitignore @@ -72,6 +72,7 @@ ipch/ *.ncb *.opensdf *.sdf +*.vcxproj.filters # Visual Studio profiler *.psess diff --git a/Squirrel.sln b/Squirrel.sln index 9bad59b4..04536335 100644 --- a/Squirrel.sln +++ b/Squirrel.sln @@ -7,20 +7,48 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Squirrel", "src\Squirrel\Sq EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Squirrel.Tests", "test\Squirrel.Tests.csproj", "{98AEB048-E27D-42F4-9440-505B7F78BAFD}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Setup", "src\Setup\Setup.vcxproj", "{C1D40624-A484-438A-B846-052F321C89D1}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU + Debug|Mixed Platforms = Debug|Mixed Platforms + Debug|Win32 = Debug|Win32 Release|Any CPU = Release|Any CPU + Release|Mixed Platforms = Release|Mixed Platforms + Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Debug|Win32.ActiveCfg = Debug|Any CPU {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Release|Any CPU.ActiveCfg = Release|Any CPU {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Release|Any CPU.Build.0 = Release|Any CPU + {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {1436E22A-FE3C-4D68-9A85-9E74DF2E6A92}.Release|Win32.ActiveCfg = Release|Any CPU {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU + {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU + {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Debug|Win32.ActiveCfg = Debug|Any CPU {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Release|Any CPU.ActiveCfg = Release|Any CPU {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Release|Any CPU.Build.0 = Release|Any CPU + {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU + {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Release|Mixed Platforms.Build.0 = Release|Any CPU + {98AEB048-E27D-42F4-9440-505B7F78BAFD}.Release|Win32.ActiveCfg = Release|Any CPU + {C1D40624-A484-438A-B846-052F321C89D1}.Debug|Any CPU.ActiveCfg = Debug|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.Debug|Mixed Platforms.Build.0 = Debug|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.Debug|Win32.ActiveCfg = Debug|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.Debug|Win32.Build.0 = Debug|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.Release|Any CPU.ActiveCfg = Release|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.Release|Mixed Platforms.ActiveCfg = Release|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.Release|Mixed Platforms.Build.0 = Release|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.Release|Win32.ActiveCfg = Release|Win32 + {C1D40624-A484-438A-B846-052F321C89D1}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/Setup/Setup.h b/src/Setup/Setup.h new file mode 100644 index 00000000..d00d47e7 --- /dev/null +++ b/src/Setup/Setup.h @@ -0,0 +1,3 @@ +#pragma once + +#include "resource.h" diff --git a/src/Setup/Setup.ico b/src/Setup/Setup.ico new file mode 100644 index 0000000000000000000000000000000000000000..449296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+ + Debug + Win32 + + + Release + Win32 + + + + {C1D40624-A484-438A-B846-052F321C89D1} + Win32Proj + Setup + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + true + $(ProjectDir)bin\$(Configuration)\ + $(ProjectDir)obj\$(Configuration)\ + + + false + + + + Use + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + + + + + Level3 + Use + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Windows + true + true + true + + + + + + + + + + + + Create + Create + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/Setup/resource.h b/src/Setup/resource.h new file mode 100644 index 0000000000000000000000000000000000000000..f4d1eba00fe08043e3e6a3454980b740ded36bab GIT binary patch literal 1608 zcmb7^OKTfJ5QOU-$bVSK(Zq_CgOj5oDMn;hHqu(eClSlqAY<&HhaVXKbthl#c(IbK zv@3>TrkkFcp6ago{oGJPkBq*KHC9JmoiO|PuCKOwSVKKA-s%mp4Mj>c(?oOKXu-_1 z#5cmX&`Ljah1J#`BhpVzbf^0HnmKwIY6sLIe55*sC9~C2OEEVbRpKA$ zgEk`%L2H3&)D+Yd)NUnac$1MoZp^v&SI+fWaHNqBE0B|%fw*R_#r;P9v=Q0Wd*!(} zQ*Sl$=Z(k%kezXlp7^Q(yJQERo0U1IAi93-o%nbU)9&P=t0S_T>OR+%HIkv86&kV5 zZgYjL@Gh`2^fza9=ijm3=v-A?v4+CPC_Mi;VW?UuRhmNyZX+{#?;q;*D-G# za6=c*h-_o*|Fw01I?MZ}4B5X*l6R7S%5At2+H9ht!Lx)W3y8G52Eh($ literal 0 HcmV?d00001 diff --git a/src/Setup/small.ico b/src/Setup/small.ico new file mode 100644 index 0000000000000000000000000000000000000000..449296f495af26f2b41bb1626a28de7432145472 GIT binary patch literal 2998 zcmeHJIc@?$5G;1VEan=&z(kgxVUhCya&kft2^&G^5AXoz*K%ZEh6^mKRC)SN;9Ie2I^4EsEuJm3ak4(0(K0-)vtx2mz-v5Du5+`|?E{2~nF zj-DY~i1~a@z`8H2Rm8@RN^*7j%+?3;*Is5r;m32z^?Gs%|GV@5y&h|~@doa#jn6yX zPm+(*yf56oD($=C(DJ(6=%K6Llfe5Uo;dPV7%T5PITm!!YhANqXLaS`0ufOBi8crP zkWX22ZGmf>3$1+|+x>UW$1lsro%1<*HCnUTM61<8yWK{o(?Pe}#b7YNXf(oPGQo5@ z#cVdiVzIz-xkMC2Sglrgd0u0)* + +// C RunTime Header Files +#include +#include +#include +#include diff --git a/src/Setup/targetver.h b/src/Setup/targetver.h new file mode 100644 index 00000000..2a286672 --- /dev/null +++ b/src/Setup/targetver.h @@ -0,0 +1,11 @@ +#pragma once + +// Including SDKDDKVer.h defines the highest available Windows platform. + +// If you wish to build your application for a previous Windows platform, include WinSDKVer.h and +// set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h. + +#include + +#define _WIN32_WINNT 0x0600 +#include diff --git a/src/Setup/winmain.cpp b/src/Setup/winmain.cpp new file mode 100644 index 00000000..51f7de28 --- /dev/null +++ b/src/Setup/winmain.cpp @@ -0,0 +1,13 @@ +// Setup.cpp : Defines the entry point for the application. +// + +#include "stdafx.h" +#include "Setup.h" + +int APIENTRY WinMain(_In_ HINSTANCE hInstance, + _In_opt_ HINSTANCE hPrevInstance, + _In_ LPWSTR lpCmdLine, + _In_ int nCmdShow) +{ + return 0; +} \ No newline at end of file