I am completely new to CMake, and am using to build MySQL 5.7.18 on Windows
10 x64, using the following command:
cmake .. -DDOWNLOAD_BOOST=1 -DWITH_BOOST="C:\Boost" -DENABLE_DOWNLOADS=1
I have VS 2017 installed, and I am on 64 bit machine, but for some reason,
the above command produces the follo
Hi,
when generating a Visual Studio buildsystem with CMake, you can specify the
target architecture. If you don't, the default is 32-bit.
To specify the architecture, either put it into the generator name:
cmake .. -G "Visual Studio 15 2017 Win64"
or specify just the architecture using -
Petr,
Thank you so much. The following command you suggested fixed the problem,
and I was able to run a successful build:
cmake .. -G "Visual Studio 15 2017 Win64"
I am grateful for your help. This may have been a minor item for you, but
for me, it was a real stumbling block.
By the way, the
Alternatively you could use cmake-gui and on first generation in an empty
directoy, a popup window appears allowing you to select the generator.
mkdir build2
cd build2
cmake-gui ..
then set the various flags in the gui.
On Tue, Jul 11, 2017 at 3:13 AM, A.M. Sabuncu wrote:
> Petr,
>
> Thank yo
J Decker, thank you. I honestly didn't even know of its existence. I ran
it as you suggested, and it's great to be able to see all the flags.
Thanks so much again.
[image: Inline image 1]
On Tue, Jul 11, 2017 at 1:50 PM, J Decker wrote:
> Alternatively you could use cmake-gui and on first gen