]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | This simple librados program can be built by running "make" (and cleaned up |
2 | with "make clean"), assuming you have librados-dev already installed. | |
3 | ||
4 | By default, the makefile will build against the librados headers and library in your | |
5 | build tree (ie. using relative paths). If you would like to build the examples against | |
6 | your system librados and headers, use "make all-system". | |
7 | ||
8 | And executed using | |
f64942e4 | 9 | ./hello_world_cpp -c ../../src/ceph.conf |
7c673cae FG |
10 | (or whatever path to a ceph.conf is appropriate to you, or |
11 | by explicitly specifying monitors, user id, and keys). | |
12 | ||
13 | It demonstrates using librados in a non-Ceph project and the code should | |
14 | be self-explanatory. |