File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,43 @@ $ autoreconf --install
145
145
146
146
Then build as usual, see above under <<building,Building from a source tarball>>.
147
147
148
+ == Building with CMake
149
+
150
+ A migration of the build system from GNU Autotools to CMake is currently in
151
+ process.
152
+ Versions from 1.4.0 and above can be built using CMake, while
153
+ GNU Autotools will be deprecated in a future release.
154
+
155
+ Building with CMake requires a different set of dependencies, that
156
+ are needed both when compiling from a source tarball and when building from Git.
157
+
158
+ On Ubuntu, the dependencies needed to build with CMake can be installed using:
159
+
160
+ ----
161
+ # apt install --no-install-recommends --no-install-suggests \
162
+ asciidoc \
163
+ cmake \
164
+ gcc \
165
+ libfido2-dev \
166
+ libpam-dev \
167
+ make \
168
+ pkg-config
169
+ ----
170
+
171
+ The project can be built as follows:
172
+
173
+ ----
174
+ $ cmake .
175
+ $ cmake --build .
176
+ $ cmake --build . -t test # Optional: run unit tests
177
+ ----
178
+
179
+ The obtained artifacts can be installed as follows:
180
+
181
+ ----
182
+ # cmake --install .
183
+ ----
184
+
148
185
== Service Configuration
149
186
150
187
Create a file for a new service in `/etc/pam.d/` or edit an already
You can’t perform that action at this time.
0 commit comments