]> www.wagner.pp.ru Git - openssl-gost/engine.git/blob - CMake_ReadMe.md
gost_crypt: process full available block in CFB and CNT mode
[openssl-gost/engine.git] / CMake_ReadMe.md
1 ## CMake Config
2
3 Configuring with `cmake` is can very simply be done like this:
4
5 ~~~ bash
6 cmake .
7 ~~~
8
9 If you want to build against a specific OpenSSL installation (if you have
10 more than one, or your own private install, or...), you can use the `cmake`
11 variable `CMAKE_C_FLAGS`:
12
13 ~~~ bash
14 cmake -DCMAKE_C_FLAGS='-I/PATH/TO/OPENSSL/include -L/PATH/TO/OPENSSL/lib' .
15 ~~~
16
17 Build example:
18
19 ~~~ bash
20 mkdir build
21 cd build
22 cmake -DCMAKE_C_FLAGS='-I/PATH/TO/OPENSSL/include -L/PATH/TO/OPENSSL/lib' ..
23 make -j 8
24 cd ../bin
25 ~~~