<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<span>I'm having trouble using CMake to generate solution and project files for Emscripten and Binaryen.  When I try to invoke it from the command line, I get this message:</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<span><br>
</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<span>"</span></div>
<div style="color: rgb(0, 0, 0); font-family: Calibri,Helvetica,sans-serif; font-size: 12pt;">
<span><span>cmake -G"Visual Studio 16 2019" -A Win64 -DCMAKE_INSTALL_PREFIX="C:/Program Files/binaryen" -DCMAKE_BUILD_TYPE=Release ../<br>
</span>
<div>CMake Error at CMakeLists.txt:1 (PROJECT):​</div>
<div>  Failed to run MSBuild command:​</div>
<div>​</div>
<div>    C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe​</div>
<div>​</div>
<div>  to get the value of VCTargetsPath:​</div>
<div>​</div>
<div>    Microsoft (R) Build Engine version 16.0.461+g6ff56ef63c for .NET Framework​</div>
<div>    Copyright (C) Microsoft Corporation. All rights reserved.​</div>
<div>​</div>
<div>    Build started 4/27/2019 5:48:57 PM.​</div>
<div>    Project "C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" on node 1 (default targets).​</div>
<div>    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(775,5): error : The OutputPath property is not set for project 'VCTargetsPath.vcxproj'.  Please check to make sure that you have
 specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='Win64'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration
 or Platform that doesn't exist for this project. [C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj]​</div>
<div>    Done Building Project "C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" (default targets) -- FAILED.​</div>
<div>​</div>
<div>    Build FAILED.​</div>
<div>​</div>
<div>    "C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj" (default target) (1) ->​</div>
<div>    (_CheckForInvalidConfigurationAndPlatform target) ->​</div>
<div>      C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(775,5): error : The OutputPath property is not set for project 'VCTargetsPath.vcxproj'.  Please check to make sure that you
 have specified a valid combination of Configuration and Platform for this project.  Configuration='Debug'  Platform='Win64'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default
 Configuration or Platform that doesn't exist for this project. [C:\binaryen\build\CMakeFiles\3.14.3\VCTargetsPath.vcxproj]​</div>
<div>​</div>
<div>        0 Warning(s)​</div>
<div>        1 Error(s)​</div>
<div>​</div>
<div>    Time Elapsed 00:00:00.20​</div>
<div>​</div>
<div>​</div>
<div>  Exit code: 1​</div>
<div>​</div>
<div>​</div>
<div>​</div>
<div>-- Configuring incomplete, errors occurred!​</div>
<div><span>See also "C:/binaryen/build/CMakeFiles/CMakeOutput.log".</span></div>
<div>"</div>
<div><br>
</div>
<div>Any help is appreciated.  Thanks.</div>
</span></div>
</body>
</html>