You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 5, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+12-9Lines changed: 12 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ The Linux build uses the meson build system, and builds against system libraries
39
39
40
40
Dependencies:
41
41
42
-
*`g++>=8.1` (needs to support c++17)
42
+
*`g++>=8.1` (needs to support c++17 filesystem)
43
43
*`allegro4`
44
44
*`loadpng`
45
45
*`flac`
@@ -48,35 +48,38 @@ Dependencies:
48
48
*`lz4`
49
49
*`libpng`
50
50
*`libX11`
51
-
*`meson>=0.49`
51
+
*`meson>=0.43`
52
52
*`boost>=1.55`
53
53
*`xorg-misc-fonts`
54
54
55
55
Building:
56
56
57
57
1. Install Dependencies (see below for some distro-specific instructions)
58
58
59
-
2. Clone this Source Repository and the [Data Respository](https://github.com/cortex-command-community/Cortex-Command-Community-Project-Data), folder structure doesn't really matter here
59
+
2. Clone this Source Repository and the [Data Respository](https://github.com/cortex-command-community/Cortex-Command-Community-Project-Data)
60
60
61
61
3. open a terminal in the Source Repository
62
62
63
63
4.`meson builddir`
64
64
65
65
5.`cd builddir`
66
66
67
-
6.`meson compile` or `meson [-j<num of threads>] compile CCCP` if you want a release build
68
-
If the build fails because of memory shortage you may need to reduce the number of build threads (meson will use all available threads by default) using the `-j<number of threads>` option
67
+
For `meson` versions `>=0.54` (check `meson --version`):
68
+
69
+
6.`meson compile` for debug build, or `meson compile CCCP` for a release build. If the build fails because of memory shortage you may need to reduce the number of build threads (meson will use all available threads by default) using the `-j<number of threads>` option
70
+
71
+
For `meson` versions `<0.54`
72
+
73
+
6.`ninja` for debug builds, or `ninja CCCP.x86_64` for release builds. Using the `-j<number of threads>` option will also work here.
69
74
70
75
71
76
Running:
72
77
73
-
1. Copy (or link, preferable for quick debug builds) `builddir/CCCP_debug.x86_64` or `builddir/CCCP.x86_64` (depending on if you made a release build) into the **Data Repository**
78
+
1. Copy (or link, might be preferable for testing builds) `builddir/CCCP_debug.x86_64` or `builddir/CCCP.x86_64` (depending on if you made a release build) into the **Data Repository**
74
79
75
80
2. Copy `Scenes.rte` and `Metagames.rte` from your purchased copy of Cortex Command into **Data Repository**
76
81
77
-
3. Copy (or link) `libfmod.so.11` from `<Source Repository Root>/external/lib/linux/x86_64` into the **Data Repository**
78
-
79
-
4. Run `env LD_LIBRARY_PATH=. ./CCCP.x86_64` or `./CCCP_debug.x86_64` in the **Data Repository**
82
+
3. Run `./CCCP.x86_64` or `./CCCP_debug.x86_64` in the **Data Repository**
0 commit comments