I’m using 2.10-rc-2 on Windows 7 Pro with the VisualCpp toolchain. msvc is fully capable of producing both 32-bit and 64-bit binaries, but I’m only seeing a single variant produced when I run gradlew build
.
My model has these entries:
platforms {
x86 { architecture 'x86' }
x64 { architecture 'x86_64' }
}
buildTypes {
debug
release
}
...
binaries {
all {
def outPath = project.buildDir.getAbsolutePath() + '/' + targetPlatform.name + '/' + buildType.name
File outDir = new File(outPath);
outDir.mkdirs();
}
}
…but my $buildDir
folder has only one platform-specific folder generated by the call to outDir.mkdirs()
above:
<project-dir>/build/windows_x86
What am I missing? Where is the 64-bit variant?