forked from Garux/netradiant-custom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCOMPILING
More file actions
96 lines (73 loc) · 2.13 KB
/
COMPILING
File metadata and controls
96 lines (73 loc) · 2.13 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
developer documentation for Radiant
===================================
getting the source
==================
The latest source is available from the git repository.
https://github.com/Garux/netradiant-custom.git
The git client can be obtained from the Subversion site.
http://git-scm.org
To get a copy of the source using the commandline git client:
Change the current directory to the desired location for the source.
git clone https://github.com/Garux/netradiant-custom.git
cd netradiant-custom
Linux(using X-windows)
======================
environment:
- gcc >= version 3.1 (preferably)
- GNU make
- svn >= 1.1 (some build steps use svn)
dependencies:
- qt5
- qt5-svg
- glib
- libxml2 >= 2.0.0
- zlib >= 1.2.0 (for archivezip module)
- libpng >= 1.2.0 (for imagepng module)
- libassimp
build:
run 'make'
run:
Execute 'install/radiant.x86'
OS X
====
environment:
- OS X 10.5 or later
- Xcode developer tools installed
- X11 (from the OS X DVD or XQuartz) or native Quartz
- MacPorts, Fink, or Homebrew for dependencies
dependencies (Qt5 build):
- qt5
- qt5-svg
- glib
- libxml2
- pkg-config
- gettext
- wget
build:
run 'make'
homebrew build:
run 'export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig
make'
run:
Switch into the install folder, and run Radiant.app
Win32 (using MSYS2)
==================
environment:
- MSYS2 (http://www.msys2.org/)
- from MSYS2 MINGW32 or MSYS2 MINGW64 shell:
pacman -S --needed base-devel
32 bit:
pacman -S --needed mingw-w64-i686-{toolchain,qt5-base,qt5-svg,assimp,libxml2}
64 bit:
pacman -S --needed mingw-w64-x86_64-{toolchain,qt5-base,qt5-svg,assimp,libxml2}
these are only strictly required for gamepacks:
pacman -S --needed unzip svn git
build:
- Start respective mingw shell
- Switch to the directory with Radiant source
- Typical release build:
make MAKEFILE_CONF=msys2-Makefile.conf BUILD=release -j$(nproc)
- Typical developer's build:
make MAKEFILE_CONF=msys2-Makefile.conf DEPENDENCIES_CHECK=off DOWNLOAD_GAMEPACKS=no INSTALL_DLLS=no BUILD=debug RADIANT_ABOUTMSG="Radiant dev build" -j$(nproc)
run:
- in the "install" directory, double click radiant.exe