Chris Broome
09/13/2019, 2:51 PMMAX_PATH (260 character path limit) issue when building using CMake? There are certainly workarounds like setting specific registry keys, cloning the repo to a folder closer to root, etc. For reference, I followed the instructions at readthedocs to build: # Using a PowerShell console as Administrator (see note, below)
# Download source
git clone <https://github.com/osquery/osquery>
cd osquery
# Configure
mkdir build; cd build
cmake -G "Visual Studio 16 2019" -A x64 -T v141 ..
# Build
cmake --build . --config RelWithDebInfo -j10 # Number of projects to build in parallel