64-bit build option?
Warren Young <[email protected]> Fri, 20 Feb 2009 19:18:19 -0700
| Newsgroups | gmane.comp.sysutils.bakefile.devel |
|---|---|
| Message-ID | <[email protected]> |
We just got our first question to the MySQL++ mailing list about
building it for 64-bit Windows. I was kind of surprised to see that
there seems to be no way to change the bkl file to cause generation of
64-bit vcproj files.
Here's some diffs that may help in creating the feature:
In *.sln:
> GlobalSection(SolutionConfigurationPlatforms) = preSolution
> - Release|Win32 = Release|Win32
> - Debug|Win32 = Debug|Win32
> + Debug|x64 = Debug|x64
> + Release|x64 = Release|x64
> EndGlobalSection
and:
> - {FF09D392-E501-5DAB-B5A9-B1B97E246D37}.Debug|Win32.ActiveCfg = Debug|Win32
> - {FF09D392-E501-5DAB-B5A9-B1B97E246D37}.Debug|Win32.Build.0 = Debug|Win32
> + {FF09D392-E501-5DAB-B5A9-B1B97E246D37}.Release|x64.ActiveCfg = Release|x64
> + {FF09D392-E501-5DAB-B5A9-B1B97E246D37}.Release|x64.Build.0 = Release|x64
In each .vcproj file:
> <Platforms>
> <Platform
> Name="Win32"
> />
> + <Platform
> + Name="x64"
> + />
> </Platforms>
Personally, I'm only looking to do an either/or build, not both
platforms at once. So, I think you can just change "Win32" to "x64"
here, rather than add the second <Platform> tag.
I got a bunch of other diffs, but nothing that seemed relevant. It all
looked like stuff Visual Studio just added when rewriting the file.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H