-
Notifications
You must be signed in to change notification settings - Fork 5
/
BUILD.readme
48 lines (35 loc) · 1.63 KB
/
BUILD.readme
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
BUILDING Picobat (Newer versions):
===============================
Picobat switched from autotools to a more lightweight build system based
on gmake called femto (https://gitlab.com/darkbatcher/femto) which
eases greatly the compiling process. Of course, some libraries are
alwayseeded :
- gcc, gmake etc.
- GNU gettext
- GNU libiconv
If you also want to enable START command support under non-windows platforms,
either mimeopen or xdg-open are required, the early being the most
recommended alternative.
Building Picobat is quite rapid, first configure the build using :
$ make config
Then you can specify or discard some options using either `use-option`
or `no-option` targets.
$ make use-option
Picobat currently provides 6 options :
- libcu8 : Add native utf-8 support (disabled by default). Do not
use under *nix.
- nls : Add translations (enabled by default).
- cmdlycorrect : Be the most compatible to cmd as possible (disabled
by default).
- w10-ansi : Use ansi escape sequences instead of native windows
api
- console : Add visual console features like colours (enabled by
default). On some exotic systems (I'm thinking of NetBSD), the
terminal does not support such features, so this must be disabled.
- modules : Add support for Picobat modules (enabled by default). Disabling
it might be required if your are building using all static files.
- linenoise : (*Nix only) enables linenoise library that provide
autocompletion and extended console input.
Once you have configured your options, just compile using :
$ make all bin
This will compile Picobat and put the resulting installation inside bin/.