Skip to content

Commit 6047886

Browse files
committed
Remove Tundra build system, use CMake only
- Remove all Tundra executables, Lua scripts, and configuration files - Remove outdated build scripts (VS2013, Tundra-based) - Update README with CMake build instructions for all platforms
1 parent 2f64ac9 commit 6047886

File tree

189 files changed

+38
-24148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+38
-24148
lines changed

README.md

Lines changed: 38 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -51,66 +51,64 @@ Features:
5151
Building the code
5252
-----------------
5353

54-
All macOS, Windows and Linux versions use the Tundra build system (https://github.com/deplinenoise/tundra) so in order to build the code you need a tundra executable for your OS.
55-
For macOS and Windows the binaries are included within the repo, but for Linux see the build instructions bellow.
54+
RocketEditor uses CMake as its build system on all platforms.
5655

5756
macOS
5857
-----
5958

60-
To build on mac enter the rocket/ogl_rocket directory and run "bin/mac/tundra2 macosx-clang-debug" (or -release for release build) and in tundra-output you will find the app to run.
61-
To use Xcode to build (or code in) use the XCode3-GenerateProj.sh file (works with Xcode 4.x also) and open the generated project in xcode (it's inside the tundra-output directory)
59+
```bash
60+
git clone --recursive https://github.com/emoon/rocket
61+
cd rocket
62+
mkdir build && cd build
63+
cmake ..
64+
cmake --build .
65+
open RocketEditor.app
66+
```
67+
68+
To generate an Xcode project:
69+
70+
```bash
71+
cmake -G Xcode ..
72+
```
6273

6374
Windows
6475
-------
6576

66-
To build the code run in debug run: `scripts\win32_build_debug.cmd` and run the executable in `t2-output\win32-msvc-debug-default\editor.exe` (Visual Studio 2019 required)
67-
If you want a VS solution instead you can run `scripts\win32_gen_vs_solution.cmd` and `scripts\win32_launch_vs.cmd`
68-
77+
Using Visual Studio (2019 or later recommended):
6978

70-
```
71-
git clone --depth=1 --recursive https://github.com/emoon/rocket
79+
```bash
80+
git clone --recursive https://github.com/emoon/rocket
7281
cd rocket
73-
scripts\win32_build_debug.cmd
74-
t2-output\win32-msvc-debug-default\editor.exe
82+
mkdir build && cd build
83+
cmake ..
84+
cmake --build . --config Release
7585
```
7686

77-
Linux
78-
-----
79-
80-
The following was tested on Ubuntu 16.10 (yakkety).
81-
82-
Install SDL-dev:
87+
Or open the generated solution in Visual Studio:
8388

84-
```
85-
sudo apt-get install libsdl1.2-dev
89+
```bash
90+
cmake -G "Visual Studio 17 2022" ..
91+
start RocketEditor.sln
8692
```
8793

88-
Install [tundra](https://github.com/deplinenoise/tundra):
89-
90-
```
91-
git clone --depth=1 --recursive https://github.com/deplinenoise/tundra
92-
cd tundra
93-
make
94-
sudo checkinstall make install
95-
```
94+
Linux
95+
-----
9696

97-
Build rocket:
97+
Install dependencies (Ubuntu/Debian):
9898

99+
```bash
100+
sudo apt-get install libsdl2-dev libgtk-3-dev cmake build-essential
99101
```
100-
git clone --depth=1 --recursive https://github.com/emoon/rocket
101-
cd rocket
102-
tundra2 linux-gcc-release
103-
```
104-
105-
Start rocket:
106102

107-
```
108-
./t2-output/linux-gcc-release-default/editor
109-
```
110-
Start the basic example:
103+
Build:
111104

112-
```
113-
./t2-output/linux-gcc-release-default/basic_example
105+
```bash
106+
git clone --recursive https://github.com/emoon/rocket
107+
cd rocket
108+
mkdir build && cd build
109+
cmake ..
110+
cmake --build .
111+
./RocketEditor
114112
```
115113

116114

bin/macos/scripts/strict.lua

Lines changed: 0 additions & 41 deletions
This file was deleted.

bin/macos/scripts/tundra.lua

Lines changed: 0 additions & 46 deletions
This file was deleted.

bin/macos/scripts/tundra/boot.lua

Lines changed: 0 additions & 143 deletions
This file was deleted.

0 commit comments

Comments
 (0)