aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md20
-rw-r--r--src/fastmouse_test.cc2
2 files changed, 8 insertions, 14 deletions
diff --git a/README.md b/README.md
index 2e6d0a8..5564fc0 100644
--- a/README.md
+++ b/README.md
@@ -53,19 +53,13 @@ To download the latest available release, clone this repository.
$ cd ./fastmouse
```
-Compiling from source is a two step process. To avoid forking the Linux tree,
-we use Linux as a submodule and manipulate files as necessary during compilation.
-Simply run `setup.sh` to create symlinks from the Linux tree to our `src` directory.
-
-```console
- $ ./setup.sh
-```
-
-Create a patch from `src` by running `patch.sh`.
-
+We use cmake to as our build system, which consists of three steps. First, cmake
+will attempt to build fastmouse with a test runner via googletest. If this succeeds,
+cmake will make sure that all tests pass before moving on to the second step: attempting
+to build with whatever linux kernel is present in `linux/`. If this build succeeds, fastmouse
+should be usable as a patch (in theory). You can build the project by running:
```console
- $ ./patch.sh
+ $ cmake ./ && make
```
-`leetmouse.patch` will be in the placed in the topmost directory.
-
+If everything went well, `leetmouse.patch` will be in the placed in the topmost directory.
diff --git a/src/fastmouse_test.cc b/src/fastmouse_test.cc
index 4b2bf5c..f6bec5b 100644
--- a/src/fastmouse_test.cc
+++ b/src/fastmouse_test.cc
@@ -49,7 +49,7 @@ TEST_F(FastmouseTest, simple_division) {
// All tests will exhibit this behaviour where the first division dots do not emit an event
// as expected unless INT_MAX % division == 0.
// We do not actually lose precision, it's just that we can only emit events in
- // discreet intervals.
+ // discrete intervals.
input_event(REL_X, 2);
input_emit();