[CMake] win32 and win64 on same box: CMAKE_SYSTEM_PREFIX_PATH

Hicham Mouline hicham at mouline.org
Sat Dec 4 08:25:37 EST 2010


>on win64 boxes, typically, 32bit binaries are under \Program Files (x86)
and
>64bit are under \Program Files
>It would be good if CMAKE_SYSTEM_PREFIX_PATH for e.g., and other similar
>paths, were set to the appropriate
 

>On win32 boxes:

>.         If msvc => \program files

>.         If msvc win64 (cross compiler) => ? nothing

>On win64 boxes:

>.         If msvc (cross compiler) => \program files (x86)

>.         If msvc win64 => \program files

>In the mean time, the doc says this is not intended to be modified by the
>project, but in this case, do I do right at the beginning of the cmake
lists
>file?


>rds,

I think this affect all the CMAKE_SYSTEM_*_PATH variables.

rds,



More information about the CMake mailing list