Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2017-01-06 03:53:03 +0300
committerWes Haggard <weshaggard@users.noreply.github.com>2017-01-10 00:32:45 +0300
commit32bb7e8b9a472c8ea97537ce0a94511b4c7ca821 (patch)
treeeebb4b29b33643b6e92339a1587f3f6b516ac400 /config.json
parentf1c856879e6277403795cfc2d71919bf28ca9481 (diff)
Update documentation to include how to configure builds
Updates the documentation as well as config.json file with information on RuntimeOS and the different ways to configure BuildConfiguration. Cleans up InputOSGroup as it is no longer needed. Cleans up TargetOS and makes it scoped only to the test command line generation Add debugging information for TargetOS property for test runs.
Diffstat (limited to 'config.json')
-rw-r--r--config.json143
1 files changed, 67 insertions, 76 deletions
diff --git a/config.json b/config.json
index 484b77ad3d..5c774e7e8a 100644
--- a/config.json
+++ b/config.json
@@ -1,34 +1,40 @@
{
"settings": {
- "SkipTests": {
- "description": "Enables/Disables running tests.",
+ "TargetGroup": {
+ "description": "Sets the target framework for the BuildConfiguration you want to build.",
"valueType": "property",
- "values": ["True", "False"],
- "defaultValue": true
+ "values": ["netcoreapp", "netstandard", "netfx", "uap"],
+ "defaultValue": "netcoreapp"
},
"OSGroup": {
- "description": "OS Group for result binaries.",
+ "description": "Sets the OS for the BuildConfigurtation you want to build.",
"valueType": "property",
- "values": ["AnyOS", "Windows_NT", "Linux", "OSX", "FreeBSD", "NetBSD"],
+ "values": ["Windows_NT", "Unix", "Linux", "OSX", "FreeBSD", "NetBSD"],
"defaultValue": "${OSName}"
},
- "TargetOS": {
- "description": "Target OS for result binaries.",
+ "ConfigurationGroup": {
+ "description": "Sets the optimization level for the BuildConfiguration you want to build.",
"valueType": "property",
- "values": ["AnyOS", "Windows_NT", "Linux", "OSX", "FreeBSD", "NetBSD"],
- "defaultValue": "${OSName}"
+ "values": ["Debug", "Release"],
+ "defaultValue": "Debug"
},
- "FilterToOSGroup": {
- "description": "FilterToOSGroup for result binaries.",
+ "ArchGroup": {
+ "description": "Sets the architecture for the BuildConfiguration you want to build.",
"valueType": "property",
- "values": ["Windows_NT", "Linux", "OSX", "FreeBSD", "NetBSD"],
- "defaultValue": "${OSRid}"
+ "values": ["x64", "x86", "arm", "arm64"],
+ "defaultValue": "x64"
},
- "TestNugetRuntimeId": {
- "description": "Target OS for result binaries.",
+ "RuntimeOS": {
+ "description": "The RuntimeOS used for building and restoring native OS dependent assets (i.e. RID specific binaries)",
+ "valueType": "property",
+ "values": ["win7", "osx.10.10", "ubuntu.14.04", "ubuntu.16.04", "etc-other-rid-based-os-names"],
+ "defaultValue": ""
+ },
+ "SkipTests": {
+ "description": "Enables/Disables running tests.",
"valueType": "property",
- "values": ["win7-x64", "osx.10.10-x64", "ubuntu.14.04-x64", "ubuntu.16.04-x64", "etc-other-rids"],
- "defaultValue": "${OSRid}-x64"
+ "values": ["True", "False"],
+ "defaultValue": true
},
"TestWithLocalLibraries": {
"description": "Enables/Disables building and running tests against local libraries.",
@@ -42,18 +48,6 @@
"values": ["True", "False"],
"defaultValue": true
},
- "ArchGroup": {
- "description": "Sets the architecture value that will be used for managed builds.",
- "valueType": "property",
- "values": ["AnyCPU", "x86", "arm", "x64", "arm64"],
- "defaultValue": "x64"
- },
- "ConfigurationGroup": {
- "description": "Sets the configuration group as Release or Debug",
- "valueType": "property",
- "values": ["Release", "Debug"],
- "defaultValue": "Debug"
- },
"BuildPackages": {
"description": "Enables/Disables building packages.",
"valueType": "property",
@@ -90,12 +84,6 @@
"values": ["True", "False"],
"defaultValue": true
},
- "BuildAllOSGroups": {
- "description": "Enables building the libraries for all OSes.",
- "valueType": "property",
- "values": ["True", "False"],
- "defaultValue": true
- },
"OfficialBuildId": {
"description": "Specifies the SeedDate and the revision of the build to generate the version of the libraries.",
"valueType": "property",
@@ -171,7 +159,7 @@
"HostOs": {
"description": "OS for result binaries.",
"valueType": "passThrough",
- "values": ["AnyOS", "Windows_NT", "Linux", "OSX", "FreeBSD", "NetBSD"],
+ "values": ["Windows_NT", "Linux", "OSX", "FreeBSD", "NetBSD"],
"defaultValue": "${OSName}"
},
"ProcessorCount": {
@@ -244,19 +232,10 @@
"commands": {
"build-managed": {
"alias":{
- "binaries": {
- "description": "Only builds binaries. It doesn't restore packages.",
- "settings": {
- "RestoreDuringBuild": false,
- "BuildTests": false,
- "BuildPackages": false
- }
- },
"packages": {
"description": "Builds the NuGet packages.",
"settings": {
"Project": "src/packages.builds",
- "FilterToOSGroup":"default",
"MsBuildLogging":"/flp:v=normal;LogFile=build-packages.log"
}
},
@@ -275,33 +254,39 @@
}
},
"debug": {
- "description": "Sets ConfigurationGroup=Debug or the value passed by the user.",
+ "description": "Sets optimization level to debug for managed build configuration.",
"settings": {
"ConfigurationGroup": "Debug"
}
},
"release": {
- "description": "Sets ConfigurationGroup=Release or the value passed by the user.",
+ "description": "Sets optimization level to release for managed build configuration.",
"settings": {
"ConfigurationGroup": "Release"
}
},
+ "framework": {
+ "description": "Sets target framework for managed build configuration and only builds the libraries applicable for that framework.",
+ "settings": {
+ "TargetGroup": "default"
+ }
+ },
"os": {
- "description": "Sets OSGroup to the OS name where the build is going to run or it is set to the value passed by the user.",
+ "description": "Sets OS for the managed build configuration and only builds the libraries applicable for that OS.",
"settings": {
"OSGroup": "default"
}
- },
- "target-os": {
- "description": "Sets TargetOS to the OS name where the build is going to run or it is set to the value passed by the user.",
+ },
+ "buildArch": {
+ "description": "Sets the architecture for the managed build confiuguration.",
"settings": {
- "TargetOS": "default"
+ "ArchGroup": "default"
}
},
- "distroRid": {
- "description": "Sets the OS version to the TestNugetRuntimeId property.",
+ "runtimeos": {
+ "description": "Sets runtime OS for the managed build configuration, which is used for building and restoring native OS dependent assets (i.e. RID specific binaries)",
"settings": {
- "TestNugetRuntimeId": "default"
+ "RuntimeOS": "default"
}
},
"GenerateVersion": {
@@ -317,12 +302,6 @@
"SkipManagedPackageBuild": true
}
},
- "buildArch": {
- "description": "Passes the value of the test architecture to the respective build-managed script.",
- "settings": {
- "ArchGroup": "default"
- }
- },
"verbose": {
"description": "Passes /flp:v=diag to the msbuild command or the value passed by the user.",
"settings": {
@@ -333,8 +312,6 @@
"defaultValues": {
"toolName": "msbuild",
"settings": {
- "TargetOS": "default",
- "BuildTests": false,
"ConfigurationGroup": "default",
"MsBuildLogging":"default",
"MsBuildWarning":"default",
@@ -345,27 +322,39 @@
"build-native": {
"alias": {
"debug": {
- "description": "Passes Debug to respective build-native script.",
+ "description": "Sets optimization level to debug for native build configuration.",
"settings": {
"CmakeBuildType": "Debug"
}
},
"release": {
- "description": "Passes Release to respective build-native script.",
+ "description": "Sets optimization level to release for native build configuration.",
"settings": {
"CmakeBuildType": "Release"
}
},
+ "framework": {
+ "description": "Sets target framework for native build configuration which is used for copying to the common shared runtime folder.",
+ "settings": {
+ "TargetGroup": "default"
+ }
+ },
+ "os": {
+ "description": "Sets OS for the native build configuration and only builds the libraries applicable for that OS.",
+ "settings": {
+ "HostOs": "default"
+ }
+ },
"buildArch": {
- "description": "Passes the value of the build architecture to the respective build-native script.",
+ "description": "Sets the architecture for the native build confiuguration.",
"settings": {
"BuildArchitecture": "default"
}
},
- "os":{
- "description": "Passes the value of the OS to the respective build-native script.",
+ "runtimeos": {
+ "description": "Sets runtime OS for the native build configuration, which is used for building and restoring native OS dependent assets (i.e. RID specific binaries)",
"settings": {
- "HostOs": "default"
+ "RuntimeOs": "default"
}
},
"portableLinux":{
@@ -379,11 +368,11 @@
"toolName": "terminal",
"Project": "src/Native/build-native",
"settings": {
- "BuildArchitecture": "default",
- "CmakeBuildType": "default",
+ "BuildArchitecture": "default",
+ "CmakeBuildType": "default",
"HostOs": "default",
- "ProcessorCount": "default",
- "AdditionalArgs": "default",
+ "ProcessorCount": "default",
+ "AdditionalArgs": "default",
"ToolSetDir": "default"
}
}
@@ -544,7 +533,7 @@
"valueTypes": {
"property": "/p:{name}={value}",
"target": "/t:{name}",
- "internal": "/{name}"
+ "internal": "/{name}",
}
},
"terminal": {
@@ -556,7 +545,9 @@
"filesExtension": "sh"
}
},
- "valueTypes": {}
+ "valueTypes": {
+ "property": "--{name}={value}",
+ }
}
}
}