File: INSTALL

package info (click to toggle)
biblesync 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 308 kB
  • sloc: cpp: 1,050; ansic: 81; sh: 30; makefile: 20
file content (15 lines) | stat: -rw-r--r-- 659 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Linux:
  $ mkdir -p build/linux && cd build/linux
  $ cmake -DBUILD_SHARED_LIBS=TRUE -DCMAKE_INSTALL_PREFIX=/usr -DLIBDIR=/usr/lib64 ../..
  $ make && sudo make install
Note use of /usr/lib64, which is appropriate for Fedora x86_64; perhaps
use just /usr/lib instead if your system is different.

Cross-compiling Win32 using MinGW:
  $ . win32.opts
  $ mkdir build/win32 && cd build/win32
  $ cmake $WIN32_OPTS -DBUILD_SHARED_LIBS=TRUE ../..
  $ make && sudo make install
Some versions of CMake result in files being mis-installed in the system's
/usr/lib instead of e.g. /usr/i686-w64-mingw32/sys-root/mingw/lib.  Watch
the resulting paths chosen carefully.