We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af9855d + 610d5b7 commit 901cae1Copy full SHA for 901cae1
README.md
@@ -71,26 +71,25 @@ int main(int argc, char** argv)
71
}
72
```
73
74
-## Build Library ##
+## Build and Install Library ##
75
```bash
76
mkdir build; cd bulid
77
-cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
+cmake -DCMAKE_INSTALL_PREFIX=/usr ..
78
cmake --build .
79
80
# run tests
81
ctest -VV
82
83
# install the library
84
-make install
+cmake --build . --target install
85
86
87
## Build Example ##
88
-Build and install the library before you run the following commands:
89
90
mkdir build; cd build
91
-cmake ../example
92
-cmake --build inotify_example
93
-./inotify_example
+cmake ..
+cmake --build . --target inotify_example
+./example/inotify_example
94
95
96
## Install from Packet ##
0 commit comments