[CMake] building 64bit and 32bit libraries from same source

2013-12-11 Thread Jacob Avraham
Hi, I'm running on a 32bit Linux and I'd like to build from the same source, libraries complied and linked as 32bit and 64bit. They should be installed in /usr/lib and /usr/lib64. How do I go about and do that? Thanks, Jacob -- Powered by www.kitware.com Please keep messages on-topic and check

[CMake] RESULT_VARIABLE of excecute_process inside install() not getting value

2010-09-06 Thread Jacob Avraham
Hi, I'm trying to get a return value of a script that I runs from execute_process() command, as part of an install() command, and I don't see that the return variable is getting any value. I'm doing something like: install(CODE execute_process(COMMAND my_script RESULT_VARIABLE