Philip Lowman wrote:
On Mon, Jun 1, 2009 at 6:29 PM, Tyler Roscoe <ty...@cryptio.net <mailto:ty...@cryptio.net>> wrote:

    What are the pitfalls or difficulties in supporting this sort of
    "cross-compiling" in Visual Studio?


Two things come to mind:

1. find_library() (i.e. dependencies).. How would you pick 64-bit vs. 32-bit? 2. When compile tests are run (e.g. sizeof(void*) ). Which compiler would be used, 32-bit or 64-bit?
There could also be a problem if someone wants to select a different sources for x64 build. So, the current way provides ability to to tune lots of things in the configure time.

Wbr,
Sergey
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to