Update README with CMake build instructions

This commit is contained in:
Florian Meinicke
2020-09-10 16:05:36 +02:00
parent fe3751ecdb
commit d630284b10

View File

@@ -30,6 +30,10 @@ QZeroConf can be built directly into your project if your project is [LGPL3](htt
1. Clone or download QZeroConf. If you download, unzip.
2. Enter the qtzeroconf directory, run qmake and then make.
#### Building with CMake
Use `BUILD_SHARED_LIBS` to control whether QZeroConf should be built as static (`-DBUILD_SHARED_LIBS=OFF`) or as shared (`-DBUILD_SHARED_LIBS=ON`) library.
The default is `OFF`.
### API
#### Service Publishing