-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
32 lines (20 loc) · 799 Bytes
/
INSTALL
File metadata and controls
32 lines (20 loc) · 799 Bytes
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
Cookbook Procedure
==================
1) set up and enter a build directory
$ mkdir build && cd build
2) run cmake
$ cmake ..
For setting an installation different from /usr/local add to cmake option:
-DCMAKE_INSTALL_PREFIX=<your installation path /usr/local is the default>
If fltk is not in a default path add to cmake the option:
-DCMAKE_PREFIX_PATH=</path/to/fltk>
e.g.:
cmake -DCMAKE_INSTALL_PREFIX=/opt/SoFl -DCMAKE_PREFIX_PATH=/opt/fltk ..
This will install sofl in /opt/SoFl and will use the fltk at /opt/fltk
4) compile and install
$ make
$ sudo make install
Note
==================
cpack.d and data are subrepo if required you can update them after clone using the following command
$ git submodule update --init --recursive