Re: [cmake-developers] CMAKE architecture generator expression

2017-11-06 Thread Craig Scott
On Mon, Nov 6, 2017 at 4:12 AM, llvm 999  wrote:

>
>
> Can anyone tell me the most appropriate generator expression to obtain the
> x32 vs x64 build info regardless of platform (windows or Linux)?
>
>
>
> I would like to place some static libs into certain output folders based
> on whether I am building for a x32 or x64 architecture.
>

Assuming you just want to differentiate between 32- and 64-bit builds,
something like the following should point you in the right direction:

$<$:...># 32-bit build
$<$:...># 64-bit build


-- 
Craig Scott
Melbourne, Australia
https://crascit.com
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

[cmake-developers] CMAKE architecture generator expression

2017-11-05 Thread llvm 999

Can anyone tell me the most appropriate generator expression to obtain the x32 
vs x64 build info regardless of platform (windows or Linux)?

I would like to place some static libs into certain output folders based on 
whether I am building for a x32 or x64 architecture.

Any info would be much appreciated!

Sent from Mail for Windows 10

-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers