-
Notifications
You must be signed in to change notification settings - Fork 11
/
ice.txt
140 lines (123 loc) · 4.85 KB
/
ice.txt
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# This project can be compiled by typing 'icompile'
# at the command line. Download the iCompile Python
# script from http://ice.sf.net
#
################################################################
# If you have special needs, you can edit per-project ice.txt
# files and your global ~/.icompile file to customize the
# way your projects build. However, the default values are
# probably sufficient and you don't *have* to edit these.
#
# To return to default settings, just delete ice.txt and
# ~/.icompile and iCompile will generate new ones when run.
#
#
# In general you can set values without any quotes, e.g.:
#
# compileoptions = -O3 -g --verbose $(CXXFLAGS) %(defaultcompileoptions)s
#
# Adds the '-O3' '-g' and '--verbose' options to the defaults as
# well as the value of environment variable CXXFLAGS.
#
# These files have the following sections and variables.
# Values in ice.txt override those specified in .icompile.
#
# GLOBAL Section
# compiler Path to compiler. May also be <NEWESTGCC> or <NEWESTCOMPILER>
#
# include Semi-colon or colon (on Linux) separated
# include paths.
#
# library Same, for library paths.
#
# defaultinclude The initial include path.
#
# defaultlibrary The initial library path.
#
# defaultcompiler The initial compiler.
#
# defaultexclude Regular expression for directories to exclude
# when searching for C++ files. Environment
# variables are NOT expanded for this expression.
# e.g. exclude: <EXCLUDE>|^win32$
#
# builddir Build directory, relative to ice.txt. Start with a
# leading slash (/) to make absolute.
#
# tempdir Temp directory, relative to ice.txt. Start with a
# leading slash (/) to make absolute.
#
# beep If True, beep after compilation
#
# workdir Directory to use as the current working directory
# (cwd) when launching the compiled program with
# the --lldb or --run flag
#
# DEBUG and RELEASE Sections
#
# compileoptions
# linkoptions Options *in addition* to the ones iCompile
# generates for the compiler and linker, separated
# by spaces as if they were on a command line.
#
#
# The following special values are available:
#
# %(localvar)s Value of a variable set inside ice.txt
# or .icompile (Yes, you need that 's'--
# it is a Python thing.)
# $(envvar) Value of shell variable named envvar.
# Unset variables are the empty string.
# $shell(...) Runs the '...' and replaces the expression
# as if it were the value of an envvar.
# $eval(...) Evaluates the expression within the parenthesis using Python.
# This is useful for per-platform values. For example:
# $eval('-lX' if linux else os.getenv('HOME')). The following variables are
# bound:
# bool linux
# bool osx
# bool windows
# bool debug
# bool release
# <NEWESTCOMPILER> The newest version of gcc or Visual Studio on your system.
# <EXCLUDE> Default directories excluded from compilation.
#
# The special values may differ between the RELEASE and DEBUG
# targets. The default .icompile sets the 'default' variables
# and the default ice.txt sets the real ones from those, so you
# can chain settings.
#
# Colors have the form:
#
# [bold|underline|reverse|italic|blink|fastblink|hidden|strikethrough]
# [FG] [on BG]
#
# where FG and BG are each one of
# {default, black, red, green, brown, blue, purple, cyan, white}
# Many styles (e.g. blink, italic) are not supported on most terminals.
#
# Examples of legal colors: "bold", "bold red", "bold red on white", "green",
# "bold on black"
#
################################################################
[GLOBAL]
compiler: %(defaultcompiler)s
include: %(defaultinclude)s
library: %(defaultlibrary)s
exclude: %(defaultexclude)s$eval("|^docker")|sdfdes|media|temp
workdir: data-files
# Colon-separated list of libraries on which this project depends. If
# a library is specified (e.g., png.lib) the platform-appropriate
# variation of that name is added to the libraries to link against.
# If a directory containing an iCompile ice.txt file is specified,
# that project will be built first and then added to the include
# and library paths and linked against.
uses:
################################################################
[DEBUG]
compileoptions:
#linkoptions: -lEGL
################################################################
[RELEASE]
compileoptions:
#linkoptions: -lEGL