File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ git clone https://github.com/kubernetes-client/c
14
14
CLIENT_REPO_ROOT=${PWD} /c
15
15
16
16
# Install pre-requisites
17
- sudo apt-get install libssl-dev libcurl4-openssl-dev libwebsockets-dev uncrustify
17
+ sudo apt-get install libssl-dev libcurl4-openssl-dev libwebsockets-dev uncrustify cmake g++
18
18
19
19
# Build pre-requisite: libyaml
20
20
git clone https://github.com/yaml/libyaml --depth 1 --branch release/0.2.5
@@ -33,6 +33,10 @@ mkdir build
33
33
cd build
34
34
# If you don't need to debug the C client library:
35
35
cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
36
+
37
+ # To build a static linked client library:
38
+ # cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_STATIC_LIBS=ON ..
39
+
36
40
# If you want to use `gdb` to debug the C client library, add `-DCMAKE_BUILD_TYPE=Debug` to the cmake command line, e.g.
37
41
# cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local ..
38
42
make
You can’t perform that action at this time.
0 commit comments