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 @@ -134,6 +134,43 @@ $ autoreconf --install
134
134
135
135
Then build as usual, see above under <<building,Building from a source tarball>>.
136
136
137
+ == Building with CMake
138
+
139
+ A migration of the build system from GNU Autotools to CMake is currently in
140
+ process.
141
+ Versions from 1.4.0 and above can be built using CMake, while
142
+ GNU Autotools will be deprecated in a future release.
143
+
144
+ Building with CMake requires a different set of dependencies, that
145
+ are needed both when compiling from a source tarball and when building from Git.
146
+
147
+ On Ubuntu, the dependencies needed to build with CMake can be installed using:
148
+
149
+ ----
150
+ # apt install --no-install-recommends --no-install-suggests \
151
+ asciidoc \
152
+ cmake \
153
+ gcc \
154
+ libfido2-dev \
155
+ libpam-dev \
156
+ make \
157
+ pkg-config
158
+ ----
159
+
160
+ The project can be built as follows:
161
+
162
+ ----
163
+ $ cmake .
164
+ $ cmake --build .
165
+ $ cmake --build . -t test # Optional: run unit tests
166
+ ----
167
+
168
+ The obtained artifacts can be installed as follows:
169
+
170
+ ----
171
+ # cmake --install .
172
+ ----
173
+
137
174
== Service Configuration
138
175
139
176
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