[CMake] How can I know the target is 32-bit, or 64bit
d3ck0r at gmail.com
Tue Aug 30 02:50:59 EDT 2011
at the moment I just set an option for linux, since I don't often have
dual mode compilers... just set it in the config...
msvc has CMAKE_CL_64 which can be tested to set options.
On Mon, Aug 29, 2011 at 10:54 PM, Dongsheng Song
<dongsheng.song at gmail.com> wrote:
> In CMakeLists.txt, I want to know whether cmake has built-in mechanism that
> I can know the target is 32-bit, or 64bit ?
> 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:
More information about the CMake