title: Automatically building for best available platform in visual c++ (equivalent to gcc's -march=native)
body: <p>I would like to distribute Visual Studio project files as part of a source only distribution in such a way that it will automatically build for the native architecture of the user's machine. So, if they have 64 bit it will build for it, if they have AVX or AVX2 it will build for those. This is what gcc's -march=native flag does. I haven't been able to find an equivalent to this with visual studio - does it exist or is there a workaround? I'm using Visual Studio Express 2013, and I'd like it to be something that would work with one of the free Express versions as most users won't have access to one of the paid versions. Thanks!</p>