Quellcode durchsuchen

Update 'README.md'

master
TheoryOfNekomata vor 1 Jahr
Ursprung
Commit
02b98a5d98
1 geänderte Dateien mit 4 neuen und 7 gelöschten Zeilen
  1. +4
    -7
      README.md

+ 4
- 7
README.md Datei anzeigen

@@ -15,16 +15,13 @@ Downloads
All releases are based on master, so the preferred way of using xml.c is adding
the repository as [git submodule](http://git-scm.com/book/en/Git-Tools-Submodules).

If you prefer formal releases, check out the [release tags](https://github.com/ooxi/xml.c/tags).


Building xml.c
--------------

Since xml.c uses [CMake](http://www.cmake.org/), building the library is fairly
easy

$ git clone https://github.com/ooxi/xml.c.git xml.c
$ git clone https://code.modal.sh/TheoryOfNekomata/xml-c.git xml.c
$ mkdir xml.c/build; cd xml.c/build
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make && make test
@@ -35,7 +32,7 @@ If you need a debug build, specify `CMAKE_BUILD_TYPE` as `Debug` and rebuild.
Usage
-----

This example is also [included in the repository](https://github.com/ooxi/xml.c/blob/master/test/example.c)
This example is also [included in the repository](https://code.modal.sh/TheoryOfNekomata/xml-c/blob/master/test/example.c)
and will be build by default. Most of the code is C boilerplate, the important
functions are `xml_parse_document`, `xml_document_root`, `xml_node_name`,
`xml_node_content` and `xml_node_child` / `xml_node_children`.
@@ -116,11 +113,11 @@ int main(int argc, char** argv) {
}
```

Another usage example can be found in the [unit case](https://github.com/ooxi/xml.c/blob/master/test/test-xml.c).
Another usage example can be found in the [unit case](https://code.modal.sh/TheoryOfNekomata/xml-c/blob/master/test/test-xml.c).


License
-------

[libpng/zlib](https://github.com/ooxi/xml.c/blob/master/LICENSE) (BSD)
[libpng/zlib](https://code.modal.sh/TheoryOfNekomata/xml-c/blob/master/LICENSE) (BSD)


Laden…
Abbrechen
Speichern