Windows build question: has anyone here run into t...
# core
c
Windows build question: has anyone here run into the
MAX_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:
Copy code
# 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