Closed ScSofts closed 1 year ago
When I changed to Linux, the error had disappeared.
ChakraCore uses VisualStudio directly on Windows, solution file is Build\Chakra.Core.sln
. Also see Building ChakraCore in Readme.
Enabling CMake builds on Windows is something of interest though.
ChakraCore uses VisualStudio directly on Windows, solution file is
Build\Chakra.Core.sln
. Also see Building ChakraCore in Readme.Enabling CMake builds on Windows is something of interest though.
Thank you. I have found solution in https://github.com/microsoft/Chakra-Samples/blob/master/ChakraCore%20Samples/Hello%20World/CMake/CMakeLists.txt
Currently the CMake setup is intended for Linux and macOS (and it works on those platforms); if you'd like to make it work on windows we would accept a pull request for that.
The visual studio solution file works on windows - the available cmake files are not (currently) tested on windows.
I'm working on a project which use ChakraCore as a library with cmake. However, an error occurred.
Platform: Windows + Microsoft Visual Studio 2017 + CMake.
Code:
CommandLine: