[CMake] [Insight-developers] 64 bit build detection
Bill Hoffman
bill.hoffman at kitware.com
Thu Jun 11 15:37:51 EDT 2009
Michael Jackson wrote:
>
> So it builds a 32 bit executable.
>
:)
> Are you saying (from above) that if I have a 64 bit build of CMake then
> I will get 64 bit binaries by default?
>
No, it depends on the flags given to the compiler. I think you want
-m64. So if you do this:
export CFLAGS=-m64
mkdir Build64
cd Build64
cmake ../Test
make
Then you will get a 64 bit build.
-Bill
More information about the CMake
mailing list