So I just tried quickly and works here. I admit I ...
# windows
s
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
i tried using the
Ninja
build generator and it worked just fine
specifically, running
Copy code
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