diff options
-rw-r--r-- | .configurations/2022.vsconfig | 15 | ||||
-rw-r--r-- | .configurations/2022_cross.vsconfig | 18 | ||||
-rw-r--r-- | .configurations/configuration.dsc.yaml | 30 | ||||
-rw-r--r-- | .configurations/jenkins.dsc.yaml | 30 | ||||
l--------- | .vsconfig | 1 |
5 files changed, 94 insertions, 0 deletions
diff --git a/.configurations/2022.vsconfig b/.configurations/2022.vsconfig new file mode 100644 index 000000000000..4c6d7facd359 --- /dev/null +++ b/.configurations/2022.vsconfig @@ -0,0 +1,15 @@ +{
+ "version": "1.0",
+ "components": [
+ "Microsoft.VisualStudio.Workload.CoreEditor",
+ "Microsoft.VisualStudio.Workload.NativeDesktop",
+ "Microsoft.Net.Component.4.8.SDK",
+ "Microsoft.VisualStudio.Component.Git",
+ "Microsoft.VisualStudio.Component.VC.ATL",
+ "Microsoft.VisualStudio.Component.VC.Llvm.Clang",
+ "Microsoft.VisualStudio.Component.VC.Redist.MSM",
+ "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
+ "Microsoft.VisualStudio.Component.Windows11SDK.22621"
+ ],
+ "extensions": []
+}
diff --git a/.configurations/2022_cross.vsconfig b/.configurations/2022_cross.vsconfig new file mode 100644 index 000000000000..e9ac2f114dc5 --- /dev/null +++ b/.configurations/2022_cross.vsconfig @@ -0,0 +1,18 @@ +{
+ "version": "1.0",
+ "components": [
+ "Microsoft.VisualStudio.Workload.CoreEditor",
+ "Microsoft.VisualStudio.Workload.NativeDesktop",
+ "Microsoft.Net.Component.4.8.SDK",
+ "Microsoft.VisualStudio.Component.Git",
+ "Microsoft.VisualStudio.Component.VC.ATL",
+ "Microsoft.VisualStudio.Component.VC.ATL.ARM64",
+ "Microsoft.VisualStudio.Component.VC.Llvm.Clang",
+ "Microsoft.VisualStudio.Component.VC.Redist.MSM",
+ "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
+ "Microsoft.VisualStudio.Component.VC.Tools.ARM64",
+ "Microsoft.VisualStudio.Component.VC.Tools.ARM64EC",
+ "Microsoft.VisualStudio.Component.Windows11SDK.22621"
+ ],
+ "extensions": []
+}
\ No newline at end of file diff --git a/.configurations/configuration.dsc.yaml b/.configurations/configuration.dsc.yaml new file mode 100644 index 000000000000..711fa297f011 --- /dev/null +++ b/.configurations/configuration.dsc.yaml @@ -0,0 +1,30 @@ +# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 + +# This configuration is for a typical end-user installation of Visual Studio Community 2022 with the +# required components to build LibreOffice, excluding the components to cross-compile for ARM64 +# It includes recommended packages as if you had selected the "Desktop development with C++" +# workload in the in the UI driven installer. +# (the allowPrerelease directive refers to the DSC module) + +properties: + resources: + - resource: Microsoft.WinGet.DSC/WinGetPackage + id: VisualStudio + directives: + description: Install Visual Studio 2022 Community + allowPrerelease: true + settings: + id: Microsoft.VisualStudio.2022.Community + source: winget + - resource: Microsoft.VisualStudio.DSC/VSComponents + id: LibreOffice Components including recommended packages + dependsOn: + - VisualStudio + directives: + description: Install components required to build LibreOffice, including recommended ones + settings: + productId: Microsoft.VisualStudio.Product.Community + channelId: VisualStudio.17.Release + vsConfigFile: '${WinGetConfigRoot}\2022.vsconfig' + IncludeRecommended: true + configurationVersion: 0.2.0 diff --git a/.configurations/jenkins.dsc.yaml b/.configurations/jenkins.dsc.yaml new file mode 100644 index 000000000000..e1576eae552a --- /dev/null +++ b/.configurations/jenkins.dsc.yaml @@ -0,0 +1,30 @@ +# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2 + +# This configuration is for a minimal installation of Visual Studio meant for CI use or setups with +# remote access with no need for convenience features of the IDE. It installs the dependencies +# without additional recommended packages. If you want to use the IDE to edit code, you probably +# want to use the regular configuration.dsc.yaml (or launch Visual Studio Installer afterwards, pick +# modify and then unselect and reselect the "Desktop Development with C++" workload) +# (the allowPrerelease directive refers to the DSC module) + +properties: + resources: + - resource: Microsoft.WinGet.DSC/WinGetPackage + id: VisualStudio + directives: + description: Install Visual Studio 2022 Community + allowPrerelease: true + settings: + id: Microsoft.VisualStudio.2022.Community + source: winget + - resource: Microsoft.VisualStudio.DSC/VSComponents + id: minimal LibreOffice Components + dependsOn: + - VisualStudio + directives: + description: Install components required to build LibreOffice + settings: + productId: Microsoft.VisualStudio.Product.Community + channelId: VisualStudio.17.Release + vsConfigFile: '${WinGetConfigRoot}\2022_cross.vsconfig' + configurationVersion: 0.2.0 diff --git a/.vsconfig b/.vsconfig new file mode 120000 index 000000000000..13260a166f77 --- /dev/null +++ b/.vsconfig @@ -0,0 +1 @@ +.configurations/2022.vsconfig
\ No newline at end of file |