Lines Matching +full:ninja +full:- +full:build

1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
21 <p><strong>The Meson build system for Mesa is still under active development,
24 <p>The meson build is currently only tested on linux, and is known to not work
29 either a ninja build file or Visual Studio® build files. The latter must
30 be enabled via the --backend switch, as ninja is the default backend on all
31 operating systems. Meson only supports out-of-tree builds, and must be passed a
33 "build" for examples.
37 meson build/
42 along with a build directory to view the selected options for. This will show
46 Moes does not currently support listing options before configure a build
51 meson configure build/
56 options on already configured build directory. All options passed to this
57 command are in the form -D "command"="value".
61 meson configure build/ -Dprefix=/tmp/install -Dglx=true
66 your configured backend to build the project. With ninja, the -C option can be
67 be used to point at a directory to build.
71 ninja -C build/
77 different configuration, you should run <code>ninja clean</code> before
78 changing the configuration, or create a new out of tree build directory for
79 each configuration you want to build.
81 http://mesonbuild.com/Using-multiple-build-directories.html
91 <a href="http://mesonbuild.com/Reference-tables.html#compiler-ids">here</a>.
94 re-initialized. Therefore passing them to meson configure will not do anything,
95 and passing them to ninja will only do something if ninja decides to
96 re-initialze meson, for example, if a meson.build file has been changed.
98 ninja clean is recomended when changing CFLAGS or CXXFLAGS. meson will never
99 change compiler in a configured build directory.
103 CC=clang CXX=clang++ meson build-clang
104 ninja -C build-clang
105 ninja -C build-clang clean
106 touch meson.build
107 CFLAGS=-Wno-typedef-redefinition ninja -C build-clang
115 <dd><p>Meson includes upstream logic to wrap llvm-config using it's standard
117 llvm-config, so using an LLVM from a non-standard path is as easy as
118 <code>PATH=/path/with/llvm-config:$PATH meson build</code>.
124 <code>pkg-config</code> utility is a hard requirement for configuring and
127 path for <code>pkg-config</code>. For instance, setting
137 passed as --option=foo to <code>meson</code>, but -Doption=foo to <code>meson
138 configure</code>. Mesa defined options are always passed as -Doption=foo.
144 <dt><code>--buildtype/-Dbuildtype</code></dt>
149 "release" will yield non-optimal performance and binary size. Not using "debug"
154 <p> For those wishing to pass their own -O option, use the "plain" buildtype,
161 <dt><code>-Db_ndebug</code></dt>