forked from openorbit/openorbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL.txt
64 lines (49 loc) · 2.02 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
Build instructions
==================
This document details how to build Open Orbit from sources. In order to build Open Orbit,
there is first a few dependencies that must be satisfied.
Dependencies
************
Required tools and libraries are the following, Open Orbit is impossible to build without
these (and you need the developer packages for these):
Tools:
* CMake: Cross platform configuration of software builds
* Pyrex: Python / C bridge and wrappers
Libs:
* Python: Scripting langage (embedded in Open Orbit), PSF LICENSE
* libSDL: Library for creating windows and handling I/O, LGPL
* libODE: Physics / Dynamics simulation library, BSD
* libconfig: Loading configuration files, LGPL
The following tools and libraries are optional, they add additional functionality only:
* libcheck: Required if regression tests are to be built. It is
recommended that you build these if you have checked
out Open Orbit from the SCM.
Configuration
*************
UNIX like systems
-----------------
Create a separate build directory, enter the directory and run cmake on the top
level CMakeLists.txt file.
Type make, and then make install
There is also a convenience script called configure that let you do the normal
./configure dance (except for the fact that it will not run in the src
directory).
Mac OS X
--------
See 2.1 (UNIX like systems)
Windows
-------
Not written yet, at the moment Windows is not supported, it is likely that MinGW
(preferred) or Cygwin will be required in order to ease portability.
Advanced Configuration
**********************
Configuration Switches
----------------------
"-Denable_test:bool=true" : Enable unit tests
"-Dgetdeps:bool=true" : Download dependencies when running cmake, this
option will force cmake to download missing
libraries into $BUILDDIR/deps/.
Make Targets
------------
make test: Build unit tests
make deps: Build libraries downloaded by getdeps