Title
#windows
Stefano Bonicatti

Stefano Bonicatti

01/16/2020, 4:45 PM
So I just tried quickly and works here. I admit I don't have too much bandwidth right now to debug it, but I would look into launching cmake with
--trace-expand
, which logs to stderr a trace of all the scripts executions and shows the values of the variables; this is basically to understand what's happening to the cmake logic in that utils.cmake script. You could look into that, or you can open an issue attaching that log so that I can give a look at it later.
c

Chris Broome

01/16/2020, 9:27 PM
i tried using the
Ninja
build generator and it worked just fine
9:30 PM
specifically, running
cmake -G "Ninja" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER="cl.exe" -DCMAKE_CXX_COMPILER="cl.exe" -DMSVC_TOOLSET_VERSION=142 C:\repos\osquery
generated build files just fine