[CMake] win32 and win64 on same box: CMAKE_SYSTEM_PREFIX_PATH

Hicham Mouline hicham at mouline.org
Wed Dec 1 02:36:21 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,

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101201/2b1b759a/attachment.htm>


More information about the CMake mailing list