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
Copy file name to clipboardExpand all lines: README.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Documentation
17
17
Introduction
18
18
------------
19
19
20
-
**Note to existing users**: *CrSFML* has been recently rewritten from scratch. *CrSFML* releases since 2.4 have an entirely different installation procedure, and multiple important API changes.
20
+
**Note to existing users**: *CrSFML* has been recently rewritten from scratch. *CrSFML* releases since 2.4 have an entirely different installation procedure, and multiple important API changes. See the [release notes][releases] for information.
21
21
22
22
*CrSFML* is a library that allows SFML to be used with the Crystal programming language. [SFML][] is a library written in C++, so *CrSFML* also needs to ship C bindings to SFML, called *VoidCSFML*.
23
23
@@ -55,7 +55,7 @@ Note that using [Shards][] is not enough to install *CrSFML*.
55
55
56
56
This section defines two sets of step-by-step instructions to install *CrSFML* but these are not the only ways to do it; they can even be mixed (see [VoidCSFML installation instructions](voidcsfml/README.md#installation) for an alternative look)
57
57
58
-
-[Approach 1](#approach-1): Generate latest *CrSFML* and *VoidCSFML* source code "from scratch"; build and use them from a local directory
58
+
-[Approach 1](#approach-1): Generate latest *CrSFML* and *VoidCSFML* source code; build and use them from a local directory
@@ -65,7 +65,7 @@ This section defines two sets of step-by-step instructions to install *CrSFML* b
65
65
- Can't install *CrSFML* directly though [shards][].
66
66
-[Approach 2](#approach-2): Use pre-compiled sources; build *VoidCSFML* and install it globally; install a release of *CrSFML* through [shards][]
67
67
- Advantages:
68
-
- Easier installation.
68
+
- Convenient installation.
69
69
- Disadvantages:
70
70
- Tied to a particular version of SFML (only SFML 2.4 right now).
71
71
- Although sizes of SFML objects seem to always be of equal or smaller sizes than on Linux 64-bit with latest GCC (where the sources are generated), this is not completely guaranteed. So, in case of a mismatch, data may be written outside of the memory region allocated for an object.
@@ -97,7 +97,7 @@ brew update
97
97
brew install sfml
98
98
```
99
99
100
-
It can also be installed by copying binaries, as described in [official instructions][sfml-install], or by building from source in the same way as on [Linux](#linux).
100
+
It can also be installed by copying binaries, as described in [official instructions][sfml-install], or by building from source in the same way as [on Linux](#linux).
101
101
102
102
103
103
### Approach 1
@@ -119,7 +119,7 @@ cd crsfml
119
119
cmake .&& make
120
120
```
121
121
122
-
**Optional:**[out-of-source builds][] are also supported, but note that even the sources go to the build directory, so you need perform all the following steps inside the build directory and not the root *crsfml* directory.
122
+
**Optional:**[out-of-source builds][] are also supported, but note that even the sources go to the build directory, so you would need perform all the following steps inside the build directory and not the root *crsfml* directory.
123
123
124
124
If ran successfully, this generates all the source files for *VoidCSFML* and *CrSFML*, and also compiles *VoidCSFML*.
125
125
@@ -130,8 +130,8 @@ If SFML can't be found, make sure it is installed and consult the [CMake options
130
130
The *voidcsfml/lib* folder contains the dynamic libraries that are needed to run any *CrSFML* program. So you need to configure the full path to them whenever you work with *CrSFML* so the linker can find them. To apply these for the current shell session, run:
0 commit comments