-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathINSTALL.txt
36 lines (28 loc) · 896 Bytes
/
INSTALL.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
To compile and install as2js from source:
IMPORTANT: since this is now part of Snap! C++ you want to use the
bin/build-snap script instead (after cloning snapcpp from
github)
. Download the source
. tar xf as2js.tar.gz
. mkdir BUILD
. cd BUILD
. cmake ../as2js-0.1.0 # fix version as required
. make
. sudo make install
cmake can be tweaked with different flags as follow:
cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/snapwebsites/BUILD/dist \
-DCMAKE_MODULE_PATH:PATH=/home/snapwebsites/BUILD/dist/share/cmake-3.5/Modules \
../as2js
You may also change the installation path to /usr to install in the standard
Unix environment.
The project requirements:
. cmake
. snapCMakeModules
. g++
. murmur3
. libexcept
. libutf8
. versiontheca
. snapdev (compile time only)
. snapcatch2 (to run the tests)
. doxygen/graphviz (to extracts docs)