Deployed 93fd448
with MkDocs version: 1.1.2
This commit is contained in:
parent
9ebfa13931
commit
5df59f863f
@ -136,6 +136,19 @@ There is a unittest which can be executed by typing <code>make test</code>.</p>
|
|||||||
<pre><code>vcpkg install ixwebsocket
|
<pre><code>vcpkg install ixwebsocket
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
<p>To use the installed package within a cmake project, use the following:</p>
|
||||||
|
<pre><code class="cmake"> set(CMAKE_TOOLCHAIN_FILE "$ENV{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" CACHE STRING "") # this is super important in order for cmake to include the vcpkg search/lib paths!
|
||||||
|
|
||||||
|
# find library and its headers
|
||||||
|
find_path(IXWEBSOCKET_INCLUDE_DIR ixwebsocket/IXWebSocket.h)
|
||||||
|
find_library(IXWEBSOCKET_LIBRARY ixwebsocket)
|
||||||
|
# include headers
|
||||||
|
include_directories(${IXWEBSOCKET_INCLUDE_DIR})
|
||||||
|
# ...
|
||||||
|
target_link_libraries(${PROJECT_NAME} ... ${IXWEBSOCKET_LIBRARY}) # Cmake will automatically fail the generation if the lib was not found, i.e is set to NOTFOUNS
|
||||||
|
|
||||||
|
</code></pre>
|
||||||
|
|
||||||
<h3 id="conan">Conan</h3>
|
<h3 id="conan">Conan</h3>
|
||||||
<p><a href="https://bintray.com/conan/conan-center/ixwebsocket%3A_/_latestVersion"> <img alt="Download" src="https://api.bintray.com/packages/conan/conan-center/ixwebsocket%3A_/images/download.svg" /> </a></p>
|
<p><a href="https://bintray.com/conan/conan-center/ixwebsocket%3A_/_latestVersion"> <img alt="Download" src="https://api.bintray.com/packages/conan/conan-center/ixwebsocket%3A_/images/download.svg" /> </a></p>
|
||||||
<p>Conan is currently supported through a recipe in <a href="https://github.com/conan-io/conan-center-index/tree/master/recipes/ixwebsocket">Conan Center</a> (<a href="https://bintray.com/conan/conan-center/ixwebsocket%3A_">Bintray entry</a>).</p>
|
<p>Conan is currently supported through a recipe in <a href="https://github.com/conan-io/conan-center-index/tree/master/recipes/ixwebsocket">Conan Center</a> (<a href="https://bintray.com/conan/conan-center/ixwebsocket%3A_">Bintray entry</a>).</p>
|
||||||
|
@ -263,5 +263,5 @@ webSocket.send("hello world");
|
|||||||
|
|
||||||
<!--
|
<!--
|
||||||
MkDocs version : 1.1.2
|
MkDocs version : 1.1.2
|
||||||
Build Date UTC : 2020-05-18 03:37:56.108319+00:00
|
Build Date UTC : 2020-05-18 16:23:02.316605+00:00
|
||||||
-->
|
-->
|
||||||
|
File diff suppressed because one or more lines are too long
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
Loading…
Reference in New Issue
Block a user