<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Michael</p>
<p>I want to build for the 'Win32' msbuild 'Platform' not the 'x64
Platform' one!</p>
<p>FA<br>
</p>
<div class="moz-cite-prefix">Le 13/02/2021 à 22:40, Michael Kruse a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADPO-WC4gYJV06yAbw3JyEy0kzqLZ-jAitAsEyv0s1pdMTZQSQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">The platform for the Visual Studio project
generated by cmake is called "x64", not Win32 (assuming you
compile for 64 bits). There is also just one platform (AFAIK
cmake does not support multiple per generated project), so you
can leave away the platform parameter.
<div><br>
</div>
<div>This works for me:</div>
<div><br>
</div>
<div>cmake --build . --config Release<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Michael</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Am Sa., 13. Feb. 2021 um
15:13 Uhr schrieb Francis ANDRE via llvm-dev <<a
href="mailto:llvm-dev@lists.llvm.org" moz-do-not-send="true">llvm-dev@lists.llvm.org</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>Hello <br>
</p>
<p>I am building 'llvm' for the 'X86' target on a Windows10
over an Intel Core 7 amd64 arch and VisualStudio 2019.
This is fine for building the 'x64' Platform but the
generated vcxproj do not contains any configuration for
'Win32'.</p>
<p>Here the commands passed:</p>
<ol>
<li>cmake -DCMAKE_BUILD_TYPE=Release
-DLLVM_TARGETS_TO_BUILD=X86
-DCMAKE_INSTALL_PREFIX=C:\ProgramFiles\LLVM\12.0\Release
..\llvm</li>
<li>cmake --build . --config Release -- -p:Platform=Win32</li>
</ol>
<p>Here the build log<br>
</p>
<p>D:\projects\as400\rpg\llvm-project\build>cmake --build
. --config Release -- -p:Platform=Win32<br>
Microsoft (R) Build Engine version 16.8.2+25e4d540b pour
.NET Framework<br>
Copyright (C) Microsoft Corporation. Tous droits réservés.<br>
<br>
C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(408,5):
error MSB8013: Ce projet ne contient pas la combinaison de
configuration et de plateforme de Release|Win32.
[D:\projects\as400\rpg\llvm-project\build\ZERO_CHECK.vcxproj]</p>
<p>What I am missing for getting the 'Win32' VS2019
platform?</p>
<p>Thank you</p>
<p>FA<br>
</p>
<p><br>
</p>
</div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank"
moz-do-not-send="true">llvm-dev@lists.llvm.org</a><br>
<a
href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote>
</div>
</blockquote>
</body>
</html>