Command line error D8036 - not allowed with multiple source files with node-gyp and VS2022

23 views Asked by At

I am using node-gyp to build a Cpp project. In my binding.gyp file I under sources I have something like this:

"sources": [
"./somepath/*.cpp"
]

This used to work without issue with VS2019 but with VS2022 I am getting the error in the title. If I type the file names individually it works but under one directory there are too many files and I can't list them all one by one. Is there a known solution for this?

0

There are 0 answers