Back to Osquery

Linux

libraries/cmake/source/expat/README.md

5.23.1675 B
Original Source

Linux

Integrate the cmake/toolchain.cmake file in the project top level CMakeLists.txt, before the project() directive

Create a build folder inside the root of the cloned project and move inside it.

Generated with the following commands:

sh
cmake ../expat -DCMAKE_BUILD_TYPE=Release \
-DOSQUERY_TOOLCHAIN_SYSROOT=/usr/local/osquery-toolchain \
-DEXPAT_BUILD_TOOLS=OFF \
-DEXPAT_BUILD_TESTS=OFF \
-DEXPAT_SHARED_LIBS=OFF \
-DEXPAT_BUILD_PKGCONFIG=OFF \
-DEXPAT_BUILD_EXAMPLES=OFF \
-DEXPAT_BUILD_DOCS=OFF \
-DEXPAT_DTD=OFF \
-DEXPAT_NS=OFF \
-DEXPAT_DEV_URANDOM=OFF

Copy the following files:

build/expat_config.h -> <osquery libexpat folder>/config/<arch>