aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-09-03 15:30:10 -0700
committerRob Mensching <rob@firegiant.com>2017-09-03 15:30:10 -0700
commit2a72f06449431b326c671cf59811b9cefb73a2c8 (patch)
tree15a663170c24eb29a79dbcdba2b77701ef37676f
parent83d09505bc2e5ccb9840a30badb875d4061dd797 (diff)
downloadwix-2a72f06449431b326c671cf59811b9cefb73a2c8.tar.gz
wix-2a72f06449431b326c671cf59811b9cefb73a2c8.tar.bz2
wix-2a72f06449431b326c671cf59811b9cefb73a2c8.zip
Initialize repo
-rw-r--r--.gitattributes2
-rw-r--r--.gitignore295
-rw-r--r--LICENSE.TXT28
-rw-r--r--appveyor.cmd5
-rw-r--r--appveyor.yml27
-rw-r--r--nuget.config8
-rw-r--r--src/Cpp.Build.props100
-rw-r--r--src/Directory.Build.props21
-rw-r--r--version.json11
9 files changed, 497 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 00000000..dfe07704
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,2 @@
1# Auto detect text files and perform LF normalization
2* text=auto
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..3c6208a8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,295 @@
1## Ignore Visual Studio temporary files, build results, and
2## files generated by popular Visual Studio add-ons.
3##
4## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5
6# User-specific files
7*.suo
8*.user
9*.userosscache
10*.sln.docstates
11
12# User-specific files (MonoDevelop/Xamarin Studio)
13*.userprefs
14
15# Build results
16[Dd]ebug/
17[Dd]ebugPublic/
18[Rr]elease/
19[Rr]eleases/
20x64/
21x86/
22bld/
23[Bb]in/
24[Oo]bj/
25[Ll]og/
26
27# Visual Studio 2015 cache/options directory
28.vs/
29# Uncomment if you have tasks that create the project's static files in wwwroot
30#wwwroot/
31
32# MSTest test Results
33[Tt]est[Rr]esult*/
34[Bb]uild[Ll]og.*
35
36# NUNIT
37*.VisualState.xml
38TestResult.xml
39
40# Build Results of an ATL Project
41[Dd]ebugPS/
42[Rr]eleasePS/
43dlldata.c
44
45# Benchmark Results
46BenchmarkDotNet.Artifacts/
47
48# .NET Core
49project.lock.json
50project.fragment.lock.json
51artifacts/
52**/Properties/launchSettings.json
53
54*_i.c
55*_p.c
56*_i.h
57*.ilk
58*.meta
59*.obj
60*.pch
61*.pdb
62*.pgc
63*.pgd
64*.rsp
65*.sbr
66*.tlb
67*.tli
68*.tlh
69*.tmp
70*.tmp_proj
71*.log
72*.vspscc
73*.vssscc
74.builds
75*.pidb
76*.svclog
77*.scc
78
79# Chutzpah Test files
80_Chutzpah*
81
82# Visual C++ cache files
83ipch/
84*.aps
85*.ncb
86*.opendb
87*.opensdf
88*.sdf
89*.cachefile
90*.VC.db
91*.VC.VC.opendb
92
93# Visual Studio profiler
94*.psess
95*.vsp
96*.vspx
97*.sap
98
99# TFS 2012 Local Workspace
100$tf/
101
102# Guidance Automation Toolkit
103*.gpState
104
105# ReSharper is a .NET coding add-in
106_ReSharper*/
107*.[Rr]e[Ss]harper
108*.DotSettings.user
109
110# JustCode is a .NET coding add-in
111.JustCode
112
113# TeamCity is a build add-in
114_TeamCity*
115
116# DotCover is a Code Coverage Tool
117*.dotCover
118
119# Visual Studio code coverage results
120*.coverage
121*.coveragexml
122
123# NCrunch
124_NCrunch_*
125.*crunch*.local.xml
126nCrunchTemp_*
127
128# MightyMoose
129*.mm.*
130AutoTest.Net/
131
132# Web workbench (sass)
133.sass-cache/
134
135# Installshield output folder
136[Ee]xpress/
137
138# DocProject is a documentation generator add-in
139DocProject/buildhelp/
140DocProject/Help/*.HxT
141DocProject/Help/*.HxC
142DocProject/Help/*.hhc
143DocProject/Help/*.hhk
144DocProject/Help/*.hhp
145DocProject/Help/Html2
146DocProject/Help/html
147
148# Click-Once directory
149publish/
150
151# Publish Web Output
152*.[Pp]ublish.xml
153*.azurePubxml
154# Note: Comment the next line if you want to checkin your web deploy settings,
155# but database connection strings (with potential passwords) will be unencrypted
156*.pubxml
157*.publishproj
158
159# Microsoft Azure Web App publish settings. Comment the next line if you want to
160# checkin your Azure Web App publish settings, but sensitive information contained
161# in these scripts will be unencrypted
162PublishScripts/
163
164# NuGet Packages
165*.nupkg
166# The packages folder can be ignored because of Package Restore
167**/packages/*
168# except build/, which is used as an MSBuild target.
169!**/packages/build/
170# Uncomment if necessary however generally it will be regenerated when needed
171#!**/packages/repositories.config
172# NuGet v3's project.json files produces more ignorable files
173*.nuget.props
174*.nuget.targets
175
176# Microsoft Azure Build Output
177csx/
178*.build.csdef
179
180# Microsoft Azure Emulator
181ecf/
182rcf/
183
184# Windows Store app package directories and files
185AppPackages/
186BundleArtifacts/
187Package.StoreAssociation.xml
188_pkginfo.txt
189*.appx
190
191# Visual Studio cache files
192# files ending in .cache can be ignored
193*.[Cc]ache
194# but keep track of directories ending in .cache
195!*.[Cc]ache/
196
197# Others
198ClientBin/
199~$*
200*~
201*.dbmdl
202*.dbproj.schemaview
203*.jfm
204*.pfx
205*.publishsettings
206orleans.codegen.cs
207
208# Since there are multiple workflows, uncomment next line to ignore bower_components
209# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
210#bower_components/
211
212# RIA/Silverlight projects
213Generated_Code/
214
215# Backup & report files from converting an old project file
216# to a newer Visual Studio version. Backup files are not needed,
217# because we have git ;-)
218_UpgradeReport_Files/
219Backup*/
220UpgradeLog*.XML
221UpgradeLog*.htm
222
223# SQL Server files
224*.mdf
225*.ldf
226*.ndf
227
228# Business Intelligence projects
229*.rdl.data
230*.bim.layout
231*.bim_*.settings
232
233# Microsoft Fakes
234FakesAssemblies/
235
236# GhostDoc plugin setting file
237*.GhostDoc.xml
238
239# Node.js Tools for Visual Studio
240.ntvs_analysis.dat
241node_modules/
242
243# Typescript v1 declaration files
244typings/
245
246# Visual Studio 6 build log
247*.plg
248
249# Visual Studio 6 workspace options file
250*.opt
251
252# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
253*.vbw
254
255# Visual Studio LightSwitch build output
256**/*.HTMLClient/GeneratedArtifacts
257**/*.DesktopClient/GeneratedArtifacts
258**/*.DesktopClient/ModelManifest.xml
259**/*.Server/GeneratedArtifacts
260**/*.Server/ModelManifest.xml
261_Pvt_Extensions
262
263# Paket dependency manager
264.paket/paket.exe
265paket-files/
266
267# FAKE - F# Make
268.fake/
269
270# JetBrains Rider
271.idea/
272*.sln.iml
273
274# CodeRush
275.cr/
276
277# Python Tools for Visual Studio (PTVS)
278__pycache__/
279*.pyc
280
281# Cake - Uncomment if you are using it
282# tools/**
283# !tools/packages.config
284
285# Tabs Studio
286*.tss
287
288# Telerik's JustMock configuration file
289*.jmconfig
290
291# BizTalk build output
292*.btp.cs
293*.btm.cs
294*.odx.cs
295*.xsd.cs \ No newline at end of file
diff --git a/LICENSE.TXT b/LICENSE.TXT
new file mode 100644
index 00000000..d4d316ef
--- /dev/null
+++ b/LICENSE.TXT
@@ -0,0 +1,28 @@
1Copyright (c) .NET Foundation and contributors.
2This software is released under the Microsoft Reciprocal License (MS-RL) (the "License"); you may not use the software except in compliance with the License.
3
4The text of the Microsoft Reciprocal License (MS-RL) can be found online at:
5 http://opensource.org/licenses/ms-rl
6
7
8Microsoft Reciprocal License (MS-RL)
9
10This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
11
121. Definitions
13 The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.
14 A "contribution" is the original software, or any additions or changes to the software.
15 A "contributor" is any person that distributes its contribution under this license.
16 "Licensed patents" are a contributor's patent claims that read directly on its contribution.
17
182. Grant of Rights
19 (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
20 (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
21
223. Conditions and Limitations
23 (A) Reciprocal Grants- For any file you distribute that contains code from the software (in source code or binary format), you must provide recipients the source code to that file along with a copy of this license, which license will govern that file. You may license other files that are entirely your own work and do not contain code from the software under any terms you choose.
24 (B) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
25 (C) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
26 (D) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
27 (E) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
28 (F) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
diff --git a/appveyor.cmd b/appveyor.cmd
new file mode 100644
index 00000000..bb3accd1
--- /dev/null
+++ b/appveyor.cmd
@@ -0,0 +1,5 @@
1@setlocal
2@pushd %~dp0
3
4@popd
5@endlocal \ No newline at end of file
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..432653c6
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,27 @@
1image: Visual Studio 2017
2
3version: 0.0.0.{build}
4configuration: Release
5
6environment:
7 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
8 DOTNET_CLI_TELEMETRY_OPTOUT: 1
9 NUGET_XMLDOC_MODE: skip
10
11before_build:
12 - nuget restore
13
14build_script:
15 - appveyor.cmd
16
17pull_requests:
18 do_not_increment_build_number: true
19
20nuget:
21 disable_publish_on_pr: true
22
23skip_tags: true
24
25artifacts:
26- path: build\Release\**\*.nupkg
27 name: nuget
diff --git a/nuget.config b/nuget.config
new file mode 100644
index 00000000..790be2b0
--- /dev/null
+++ b/nuget.config
@@ -0,0 +1,8 @@
1<?xml version="1.0" encoding="utf-8"?>
2<configuration>
3 <packageSources>
4 <clear />
5 <add key="wixtoolset-dutil" value="https://ci.appveyor.com/nuget/wixtoolset-dutil" />
6 <add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
7 </packageSources>
8</configuration> \ No newline at end of file
diff --git a/src/Cpp.Build.props b/src/Cpp.Build.props
new file mode 100644
index 00000000..1e4d4cbc
--- /dev/null
+++ b/src/Cpp.Build.props
@@ -0,0 +1,100 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4<Project>
5 <PropertyGroup>
6 <BaseOutputPath>$(OutputPath)</BaseOutputPath>
7 <IntDir>$(BaseIntermediateOutputPath)$(Platform)\</IntDir>
8 <OutDir>$(OutputPath)$(Platform)\</OutDir>
9 </PropertyGroup>
10
11 <ItemDefinitionGroup>
12 <ClCompile>
13 <DisableSpecificWarnings>$(DisableSpecificCompilerWarnings)</DisableSpecificWarnings>
14 <WarningLevel>Level4</WarningLevel>
15 <AdditionalIncludeDirectories>$(ProjectDir)inc;$(MSBuildProjectDirectory);$(IntDir);$(SqlCESdkIncludePath);$(ProjectAdditionalIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
16 <PreprocessorDefinitions>WIN32;_WINDOWS;_WIN32_MSI=500;_WIN32_WINNT=0x0501;$(ArmPreprocessorDefinitions);$(UnicodePreprocessorDefinitions);_CRT_STDIO_LEGACY_WIDE_SPECIFIERS;_WINSOCK_DEPRECATED_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
17 <PrecompiledHeader>Use</PrecompiledHeader>
18 <PrecompiledHeaderFile>precomp.h</PrecompiledHeaderFile>
19 <CallingConvention>StdCall</CallingConvention>
20 <TreatWarningAsError>true</TreatWarningAsError>
21 <ExceptionHandling>false</ExceptionHandling>
22 <AdditionalOptions>-YlprecompDefine</AdditionalOptions>
23 <AdditionalOptions Condition=" $(PlatformToolset.StartsWith('v14')) ">/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
24 <MultiProcessorCompilation Condition=" $(NUMBER_OF_PROCESSORS) &gt; 4 ">true</MultiProcessorCompilation>
25 </ClCompile>
26 <ResourceCompile>
27 <PreprocessorDefinitions>$(ArmPreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
28 <AdditionalIncludeDirectories>$(ProjectAdditionalResourceIncludeDirectories);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
29 </ResourceCompile>
30 <Lib>
31 <AdditionalLibraryDirectories>$(OutDir);$(AdditionalMultiTargetLibraryPath);$(ProjectAdditionalLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
32 </Lib>
33 <Link>
34 <SubSystem>$(ProjectSubSystem)</SubSystem>
35 <ModuleDefinitionFile>$(ProjectModuleDefinitionFile)</ModuleDefinitionFile>
36 <NoEntryPoint>$(ResourceOnlyDll)</NoEntryPoint>
37 <GenerateDebugInformation>true</GenerateDebugInformation>
38 <AdditionalDependencies>$(ProjectAdditionalLinkLibraries);advapi32.lib;comdlg32.lib;user32.lib;oleaut32.lib;gdi32.lib;shell32.lib;ole32.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
39 <AdditionalLibraryDirectories>$(OutDir);$(AdditionalMultiTargetLibraryPath);$(ArmLibraryDirectories);$(ProjectAdditionalLinkLibraryDirectories);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
40 <AdditionalOptions Condition=" $(PlatformToolset.StartsWith('v14')) ">/IGNORE:4099 %(AdditionalOptions)</AdditionalOptions>
41 </Link>
42 </ItemDefinitionGroup>
43
44 <ItemDefinitionGroup Condition=" '$(Platform)'=='Win32' and '$(PlatformToolset)'!='v100'">
45 <ClCompile>
46 <EnableEnhancedInstructionSet>NoExtensions</EnableEnhancedInstructionSet>
47 </ClCompile>
48 </ItemDefinitionGroup>
49 <ItemDefinitionGroup Condition=" '$(Platform)'=='arm' ">
50 <ClCompile>
51 <CallingConvention>CDecl</CallingConvention>
52 </ClCompile>
53 </ItemDefinitionGroup>
54 <ItemDefinitionGroup Condition=" '$(ConfigurationType)'=='StaticLibrary' ">
55 <ClCompile>
56 <DebugInformationFormat>OldStyle</DebugInformationFormat>
57 <OmitDefaultLibName>true</OmitDefaultLibName>
58 <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
59 </ClCompile>
60 </ItemDefinitionGroup>
61 <ItemDefinitionGroup Condition=" '$(Configuration)'=='Debug' ">
62 <ClCompile>
63 <Optimization>Disabled</Optimization>
64 <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
65 <PreprocessorDefinitions>_DEBUG;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
66 <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
67 </ClCompile>
68 </ItemDefinitionGroup>
69 <ItemDefinitionGroup Condition=" '$(Configuration)'=='Debug' and '$(CLRSupport)'=='true' ">
70 <ClCompile>
71 <BasicRuntimeChecks></BasicRuntimeChecks>
72 <RuntimeLibrary>MultiThreadedDebugDll</RuntimeLibrary>
73 </ClCompile>
74 </ItemDefinitionGroup>
75 <ItemDefinitionGroup Condition=" '$(Configuration)'=='Release' ">
76 <ClCompile>
77 <Optimization>MinSpace</Optimization>
78 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79 <FunctionLevelLinking>true</FunctionLevelLinking>
80 <IntrinsicFunctions>true</IntrinsicFunctions>
81 <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
82 </ClCompile>
83 <Link>
84 <EnableCOMDATFolding>true</EnableCOMDATFolding>
85 <OptimizeReferences>true</OptimizeReferences>
86 </Link>
87 </ItemDefinitionGroup>
88 <ItemDefinitionGroup Condition=" '$(Configuration)'=='Release' and '$(CLRSupport)'=='true' ">
89 <ClCompile>
90 <BasicRuntimeChecks></BasicRuntimeChecks>
91 <RuntimeLibrary>MultiThreadedDll</RuntimeLibrary>
92 </ClCompile>
93 </ItemDefinitionGroup>
94 <ItemDefinitionGroup Condition=" '$(CLRSupport)'=='true' ">
95 <Link>
96 <KeyFile>$(LinkKeyFile)</KeyFile>
97 <DelaySign>$(LinkDelaySign)</DelaySign>
98 </Link>
99 </ItemDefinitionGroup>
100</Project>
diff --git a/src/Directory.Build.props b/src/Directory.Build.props
new file mode 100644
index 00000000..48ba462d
--- /dev/null
+++ b/src/Directory.Build.props
@@ -0,0 +1,21 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. -->
3
4<Project>
5 <PropertyGroup>
6 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7 <BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\build\obj\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
8 <OutputPath>$(MSBuildThisFileDirectory)..\build\$(Configuration)\</OutputPath>
9
10 <Authors>WiX Toolset Team</Authors>
11 <Company>WiX Toolset</Company>
12 <Copyright>Copyright (c) .NET Foundation and contributors. All rights reserved.</Copyright>
13 </PropertyGroup>
14
15 <PropertyGroup>
16 <WixToolsetRootFolder>$(MSBuildThisFileDirectory)..\..\</WixToolsetRootFolder>
17 </PropertyGroup>
18
19 <Import Project="Cpp.Build.props" Condition=" '$(MSBuildProjectExtension)'=='.vcxproj' " />
20 <Import Project="Custom.Build.props" Condition=" Exists('Custom.Build.props') " />
21</Project>
diff --git a/version.json b/version.json
new file mode 100644
index 00000000..5f857771
--- /dev/null
+++ b/version.json
@@ -0,0 +1,11 @@
1{
2 "version": "4.0",
3 "publicReleaseRefSpec": [
4 "^refs/heads/master$"
5 ],
6 "cloudBuild": {
7 "buildNumber": {
8 "enabled": true
9 }
10 }
11}