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

2013-12-11 Thread Magnus Therning
On Wed, Dec 11, 2013 at 11:44 PM, Jacob Avraham wrote: > 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? Personally I've neve

[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 t

Re: [CMake] depend.make

2013-12-11 Thread Nils Gladitz
On 11.12.2013 12:53, Lars wrote: Here is the source code used (which does not use the Boost library). #include int main(int argc, char **argv) { std::cout << "Hello world" << std::endl; return 0; } ${Boost_INCLUDE_DIR}/boost/tr1/tr1 does seem to contain an "iostream" header which your #in

[CMake] depend.make

2013-12-11 Thread Lars
This test has been performed on Windows 7 SP1 (64bit) and using CMake 2.8.12.1 and VS2005 SP1. Here is the source code used (which does not use the Boost library). #include int main(int argc, char **argv) { std::cout << "Hello world" << std::endl; return 0; } Here is the CMakeLists.txt