1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
2 .TH VALAC "1" "August 2018" "valac 0.41.92" "User Commands"
4 valac \- compiler that translates Vala source code into C source and header files
7 [\fIOPTION\fR]... [\fIFILE\fR]...
9 Vala is a programming language that aims to bring modern
10 programming language features to GNOME developers without imposing any
11 additional runtime requirements and without using a different ABI
12 compared to applications and libraries written in C.
14 valac, the Vala compiler, is a self-hosting compiler that translates
15 Vala source code into C source and header files. It uses the GObject
16 type system to create classes and interfaces declared in the Vala
20 valac [OPTION?] FILE... \- Vala Compiler
25 .SS "Application Options:"
27 \fB\-\-vapidir\fR=\fI\,DIRECTORY\/\fR...
28 Look for package bindings in DIRECTORY
30 \fB\-\-girdir\fR=\fI\,DIRECTORY\/\fR...
31 Look for .gir files in DIRECTORY
33 \fB\-\-metadatadir\fR=\fI\,DIRECTORY\/\fR...
34 Look for GIR .metadata files in DIRECTORY
36 \fB\-\-pkg\fR=\fI\,PACKAGE\/\fR...
37 Include binding for PACKAGE
39 \fB\-\-vapi\fR=\fI\,FILE\/\fR
42 \fB\-\-library\fR=\fI\,NAME\/\fR
45 \fB\-\-shared\-library\fR=\fI\,NAME\/\fR
46 Shared library name used in generated gir
48 \fB\-\-gir\fR=\fI\,NAME\-VERSION\/\fR.gir
49 GObject\-Introspection repository file name
51 \fB\-b\fR, \fB\-\-basedir\fR=\fI\,DIRECTORY\/\fR
54 \fB\-d\fR, \fB\-\-directory\fR=\fI\,DIRECTORY\/\fR
55 Change output directory from current working directory
58 Display version number
60 \fB\-\-api\-version\fR
61 Display API version number
63 \fB\-C\fR, \fB\-\-ccode\fR
66 \fB\-H\fR, \fB\-\-header\fR=\fI\,FILE\/\fR
72 \fB\-\-includedir\fR=\fI\,DIRECTORY\/\fR
73 Directory used to include the C header file
75 \fB\-h\fR, \fB\-\-internal\-header\fR=\fI\,FILE\/\fR
76 Output internal C header file
78 \fB\-\-internal\-vapi\fR=\fI\,FILE\/\fR
79 Output vapi with internal api
82 Output vapi without performing symbol resolution
84 \fB\-\-use\-fast\-vapi\fR
85 Use \fB\-\-fast\-vapi\fR output during this compile
87 \fB\-\-vapi\-comments\fR
88 Include comments in generated vapi
91 Write make\-style dependency information to this file
93 \fB\-\-symbols\fR=\fI\,FILE\/\fR
96 \fB\-c\fR, \fB\-\-compile\fR
97 Compile but do not link
99 \fB\-o\fR, \fB\-\-output\fR=\fI\,FILE\/\fR
100 Place output in file FILE
102 \fB\-g\fR, \fB\-\-debug\fR
103 Produce debug information
106 Enable multithreading support (DEPRECATED AND IGNORED)
108 \fB\-\-enable\-mem\-profiler\fR
109 Enable GLib memory profiler
111 \fB\-D\fR, \fB\-\-define\fR=\fI\,SYMBOL\/\fR...
114 \fB\-\-main\fR=\fI\,SYMBOL\/\fR...
115 Use SYMBOL as entry point
118 Do not include standard packages
120 \fB\-\-disable\-assert\fR
123 \fB\-\-enable\-checking\fR
124 Enable additional run\-time checks
126 \fB\-\-enable\-deprecated\fR
127 Enable deprecated features
129 \fB\-\-hide\-internal\fR
130 Hide symbols marked as internal
132 \fB\-\-enable\-experimental\fR
133 Enable experimental features
135 \fB\-\-disable\-warnings\fR
138 \fB\-\-fatal\-warnings\fR
139 Treat warnings as fatal
141 \fB\-\-disable\-since\-check\fR
142 Do not check whether used symbols exist in local packages
144 \fB\-\-enable\-experimental\-non\-null\fR
145 Enable experimental enhancements for non\-null types
147 \fB\-\-enable\-gobject\-tracing\fR
148 Enable GObject creation tracing
150 \fB\-\-cc\fR=\fI\,COMMAND\/\fR
151 Use COMMAND as C compiler command
153 \fB\-X\fR, \fB\-\-Xcc\fR=\fI\,OPTION\/\fR...
154 Pass OPTION to the C compiler
156 \fB\-\-pkg\-config\fR=\fI\,COMMAND\/\fR
157 Use COMMAND as pkg\-config command
159 \fB\-\-dump\-tree\fR=\fI\,FILE\/\fR
160 Write code tree to FILE
162 \fB\-\-save\-temps\fR
165 \fB\-\-profile\fR=\fI\,PROFILE\/\fR
166 Use the given profile instead of the default
168 \fB\-q\fR, \fB\-\-quiet\fR
169 Do not print messages to the console
171 \fB\-v\fR, \fB\-\-verbose\fR
172 Print additional messages to the console
175 Disable colored output, alias for \fB\-\-color\fR=\fI\,never\/\fR
177 \fB\-\-color\fR=\fI\,WHEN\/\fR
178 Enable color output, options are 'always', 'never', or 'auto'
180 When no value is given \fIalways\fR is implied. When neither \fB--color\fR
181 or \fB--no-color\fR are declared then \fB--color\fR=\fIauto\fR is used where
182 output is colored when stderr is a terminal.
185 \fB\-\-target\-glib\fR=\fI\,MAJOR\/\fR.MINOR
186 Target version of glib for code generation
188 \fB\-\-gresources\fR=\fI\,FILE\/\fR...
191 \fB\-\-gresourcesdir\fR=\fI\,DIRECTORY\/\fR...
192 Look for resources in DIRECTORY
194 \fB\-\-enable\-version\-header\fR
195 Write vala build version in generated files
197 \fB\-\-disable\-version\-header\fR
198 Do not write vala build version in generated files
201 Arguments passed to directly compiled executeable
203 \fB\-\-abi\-stability\fR
204 Enable support for ABI stability
206 This changes the current behaviour to output public members of classes and
207 interfaces the same order as they appear in Vala source.
208 For libraries is recommended to use \fB--abi-stability\fR to ensure the
209 maintainability of the resulting Application Binary Interface (ABI).
210 This option is disabled by default for backward compatibility because it can
211 break ABI of existing projects.
214 https://gitlab.gnome.org/GNOME/vala/issues
215 .SH "HOMEPAGE OR CONTACT"
216 https://wiki.gnome.org/Projects/Vala
218 Interfaces, properties, signals, foreach, lambda expressions, type
219 inference for local variables, generics, non-null types, assisted memory
220 management, exception handling
222 J??rg Billeter, Raffaele Sandrini.