How do I change the command the EMSDK runs when invoking CMake to build a 
tool?  I want to have it use VS2017 or 2019 instead of VS2015.  

I tried this:

> emsdk install emscripten-tag-1.38.31-64bit binaryen-tag-1.38.31-64bit 
> vs-tool-0.9.4 -vs2017


But it still keeps doing this:

> Running CMake: ['cmake', '-G', 'Visual Studio 14 Win64', 
> '-DCMAKE_BUILD_TYPE=Release', 
> '-DPYTHON_EXECUTABLE=C:\\Python27\\python.exe', 
> 'C:/emsdk/emscripten/tag-1.38.31\\tools\\optimizer']


(note the "Visual Studio 14 Win64" -- which isn't even correct since it has 
to be "Visual Studio 14 2015 Win64" to correctly invoke VS2015 for x64 
platforms).  

Also note that CMake gives this warning when the flags 'PYTHON_EXECUTABLE" 
and "CMAKE_BUILD_TYPE are used when the EMSDK tries to build tools using 
CMake:

> CMake Warning:
>   Manually-specified variables were not used by the project:
>
>     CMAKE_BUILD_TYPE
>     PYTHON_EXECUTABLE




-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/3a7e39b0-5466-4c35-b2c4-8b8c9acdc4ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to