Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

can it support the cmake-js? #111

Closed
whtiehack opened this issue May 2, 2018 · 3 comments
Closed

can it support the cmake-js? #111

whtiehack opened this issue May 2, 2018 · 3 comments

Comments

@whtiehack
Copy link

image
thx.

@jacobq
Copy link
Collaborator

jacobq commented May 2, 2018

This package just installs the tools. It doesn't control which tools are compatible / needed. As far as I know, Microsoft's C++ compilers are the only ones that work with NodeJS (e.g. node-gyp) on Windows. You can see hints of this in the documentation, e.g. "This will generate either a Makefile (on Unix platforms) or a vcxproj file (on Windows) in the build/ directory."

@jacobq
Copy link
Collaborator

jacobq commented May 2, 2018

Maybe I misunderstood your question. If you are trying to install the VS build tools / C++ compiler to be able to use some other tool that should be fine. If you just need that one package though you could instead just install it directly ("Download
Build Tools for Visual Studio 2017" link near the bottom
).

@whtiehack
Copy link
Author

thanks for answer, maybe my question not clear, sorry.
i think the problem is the cmake-js's detect.
https://github.com/cmake-js/cmake-js/blob/3456bb8177137738c2ae1d6484945efe680a5031/lib/es6/vsDetect.js#L22

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants