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(FATAL_ERROR"You cannot build in a source directory (or any directory with a CMakeLists.txt file). Please make a build subdirectory. Feel free to remove CMakeCache.txt and CMakeFiles.")
21
21
endif()
22
22
23
23
project("Sickle Editor"
24
-
VERSION 0.12.0
24
+
VERSION 0.12.2
25
25
DESCRIPTION"Open-Source GoldSrc Editor"
26
-
LANGUAGESCXX
27
-
)
26
+
LANGUAGESCXX)
28
27
29
28
if(NOTCMAKE_BUILD_TYPE)
30
29
message("CMAKE_BUILD_TYPE is unset, defaulting to Release")
31
30
set(CMAKE_BUILD_TYPE Release)
32
31
endif()
33
32
33
+
# MSYS2 only offers flex as a base package, but the compiler needs access to
34
+
# the flex headers and libraries. Therefore we need to tell CMake to search for
35
+
# flex in the MSYS2 /usr directory.
36
+
if(WIN32)
37
+
set(MSYS_PREFIX "C:/msys64"CACHEFILEPATH"path to the MSYS installation")
An open-source editor for GoldSrc maps. Both `.MAP` and `.RMF` formats are supported. Sickle Editor is released under the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html) license.
5
7
6
8
@@ -19,55 +21,60 @@ GoldSrc maps use external data files called WADs to store texture data. Sickle d
19
21
20
22
## Building
21
23
22
-
Sickle depends on [gtkmm-3](https://gtkmm.org/en/index.html) and [Lua 5.4](https://www.lua.org). You'll also need to have [flex](https://github.com/westes/flex) and [bison](https://www.gnu.org/software/bison) installed.
24
+
### Linux
23
25
24
-
Before building, you must initialize the git submodules for the project:
26
+
Make sure you install the required dependencies. For example, Debian/Ubuntu users can run:
By default, the program will be installed to `/usr/local` on Linux and `C:/Program Files/Sickle Editor` on Windows. If you want the installation to go somewhere else, use:
62
71
63
-
```shell
64
-
$ cmake --install .
65
-
# To install somewhere else:
66
-
$ cmake --install . --prefix=<install prefix>
72
+
```bash
73
+
cmake --install build --prefix=<Install Prefix>
67
74
```
68
75
69
-
On Linux, you'll also have to install the settings schema:
76
+
Linux users will also have to compile the GSettings schema with the following command.
0 commit comments