forked from microsoft/qsharp-compiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTargetOptions.cs
More file actions
35 lines (28 loc) · 1.22 KB
/
TargetOptions.cs
File metadata and controls
35 lines (28 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using CommandLine;
namespace Microsoft.Quantum.QsCompiler.CommandLineCompiler
{
/// <summary>
/// Command line options for Q# build targets.
/// </summary>
public class TargetOptions
{
[Option('v', "verbose", Required = false, Default = false,
HelpText = "Specifies whether to execute in verbose mode.")]
public bool Verbose { get; set; }
[Option('i', "input", Required = true,
HelpText = "Path to the Q# binary file(s) to process.")]
public IEnumerable<string> Input { get; set; }
[Option('o', "output", Required = false,
HelpText = "Destination folder where the process output will be generated.")]
public string OutputFolder { get; set; }
[Option('l', "log", Required = false,
HelpText = "Destination folder where the process log will be generated.")]
public string LogFolder { get; set; }
[Option('n', "noWarn", Required = false, Default = new int[0],
HelpText = "Warnings with the given code(s) will be ignored.")]
public IEnumerable<int> NoWarn { get; set; }
}
}