-
Notifications
You must be signed in to change notification settings - Fork 6
/
README
71 lines (54 loc) · 1.42 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
########################
#### Prerequisites #####
cmake >= 2.8.11 (tested: 3.0.2, 3.2.1)
Ogre == 1.9 (tested: 1.9.0)
ois == 1.3 (tested: 1.3.0)
Qt >= 5 (tested: 5.4.1)
Tested on:
Ubuntu 15.04 (x86_64)
Fedora 21 (x86_64)
Gentoo ~amd64 (x86_64)
#### Ubuntu ############
# Useful commands
$ apt-cache search <word>
$ sudo apt-get install <package>
## Packages to install
cmake
libogre-1.9-dev
libois-dev
qtbase5-dev
########################
#### Fedora ############
# Useful commands
$ yum search/info/install <package>
## Packages to install
gcc-c++
cmake
ogre-devel
ois-devel
qt5-qtbase-devel
########################
#### Gentoo ############
# Useful commands
$ nano
$ equery uses <package>
$ emerge <package> (-s = search, -pv = pretend and show use-flags)
## Packages to install
# USE-flags can be set per package in /etc/portage/package.use
cmake (USE +qt5)
ogre (USE +ois)
# These should be already installed by cmake +qt5
qtcore
qtgui
qtwidgets
########################
#################################
#### Compilation #### (debug-build with -DCMAKE_BUILD_TYPE=Debug)
$ cmake -G "Unix Makefiles"
$ make (can be sped up somewhat with -j <num of jobs> switch)
# To select, for example, clang as a compiler (Works only then configuring first time)
$ cmake -G "Unix Makefiles" -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang
#################################
#### Running the application ####
$ cd bin
$ ./PlanetGenerator