I am trying to simplify Maven to use one POM to do both a 64 bit build and a 32 bit build. I have tried to separate the build into two separate executions however I am required to set the compilerExecutable tag specified by the maven-native-plugin to point to either the 32 bit cl.exe or the 64 bit cl.exe.

Has anyone every done this before or know of a way to build two architectures in one project?