-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrunningmode.enum
More file actions
30 lines (24 loc) · 824 Bytes
/
runningmode.enum
File metadata and controls
30 lines (24 loc) · 824 Bytes
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
// dcc - dependency-driven C/C++ compiler front end
//
// Copyright © A.Newman 2015.
//
// This source code is released under version 2 of the GNU Public License.
// See the file LICENSE for details.
//
package main
type RunningMode enum {
// ModeNotSpecified means the user hasn't explicitly defined a
// running mode, yet. This is the initial, default, mode.
ModeNotSpecified
// CompileAndLink means "build an exectable", the usual
// default cc(1) behaviour.
CompileAndLink
// CompileSourceFiles means the user supplied a -c switch
// and no linking is done, only compilation.
CompileSourceFiles
// CompileAndMakeLib means the user supplied the dcc --lib switch
// to create a static library.
CompileAndMakeLib
// CompileAndMakeDLL means the user supplied the dcc --dll switch.
CompileAndMakeDLL
}