[CMake] get_target_property PREFIX and SUFFIX

2013-06-11 Thread Vittorio Giovara
Hello, according to http://www.cmake.org/Bug/view.php?id=5195 it's normal that PREFIX and SUFFIX are write-only. However it might be interesting/useful to have such variables so that code like this if(BUILD_SHARED_LIBS) set(lib_prefix ${CMAKE_SHARED_LIBRARY_PREFIX) else(BUILD_SHARED_LIBS) se

[CMake] Something amiss from RPATH

2013-06-11 Thread Vittorio Giovara
Hi, I've been following the guide http://www.cmake.org/Wiki/CMake_RPATH_handlingfor using my libraries with my executable on Unix, but even with any combination of them doesn't change the final result: anexe: error while loading shared libraries: libaname.so.1: cannot open shared object file: No s

Re: [CMake] Cross-platform build under Windows targeting Linux

2013-06-11 Thread setareh S
> > > > Date: Mon, 10 Jun 2013 15:06:57 -0400 > From: Matthew Woehlke > Subject: Re: [CMake] Cross-platform build under Windows targeting > Linux > To: cmake@cmake.org > Message-ID: > Content-Type: text/plain; charset=UTF-8; format=flowed > > On 2013-06-10 04:52, setareh S wrote: > > Now,

[CMake] CMake Download Version for Linux x86-64 platform

2013-06-11 Thread setareh S
Dear CMake users, what version of CMake binary distribution file from the CMake download page should I use to install CMake on a Linux x86-64 platfrom machine? I don't see any binary distribution for x86-64 there. Thank you. Setareh -- Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] CMake Download Version for Linux x86-64 platform

2013-06-11 Thread Alain Leblanc
Most linux distros will provide a cmake package. I don't know which platform you're using, but on opensuse, for instance, you only need to type sudo zypper install cmake on ubuntu, it would be ( I think) sudo apt-get install cmake and so on. a 2013/6/11 setareh S > Dear CMake users, > > w

Re: [CMake] CMake Download Version for Linux x86-64 platform

2013-06-11 Thread setareh S
Thanks Alain. I checked my system and I get something like: GNU/Linux (Kernel: Linux, Kernel release: 2.6.32.12-0.7)on a x84-64 machine with GNOME gnome-panel 2.28.0 desktop. Any ideas? On Tue, Jun 11, 2013 at 4:53 PM, Alain Leblanc wrote: > Most linux distros will provide a cmake package. I d

Re: [CMake] CMake Download Version for Linux x86-64 platform

2013-06-11 Thread Alain Leblanc
Which distribution? Probably one of opensuse, fedora, ubuntu, mint, arch, ... On some systems typing cat /proc/version or uname -a will give you this information 2013/6/11 setareh S > Thanks Alain. > > I checked my system and I get something like: GNU/Linux (Kernel: Linux, > Kernel release

Re: [CMake] CMake Download Version for Linux x86-64 platform

2013-06-11 Thread Radovan Bast
hi, what i did very often was to extract the "Linux i386" binary distribution on a x86-64 platfrom and i never had problems with it. good luck, radovan On Tue, Jun 11, 2013 at 5:26 PM, Alain Leblanc wrote: > Which distribution? Probably one of opensuse, fedora, ubuntu, mint, arch, > ... > > O

Re: [CMake] CMake Digest, Vol 110, Issue 17

2013-06-11 Thread setareh S
; should I use to install CMake on a Linux x86-64 platfrom machine? I don't > see any binary distribution for x86-64 there. > > Thank you. > Setareh > -- next part -- > An HTML attachment was scrubbed... > URL: < > http://www.cmake.org/pipermail/cma

Re: [CMake] CMake Digest, Vol 110, Issue 17

2013-06-11 Thread Alain Leblanc
-4qfmmen0hg2y0tvc9d6t...@mail.gmail.com> >> Content-Type: text/plain; charset="iso-8859-1" >> >> Dear CMake users, >> >> what version of CMake binary distribution file from the CMake download >> page >> should I use to install CMake on a Linu

[CMake] Fortran project directory stucture/layout advice

2013-06-11 Thread Zaak Beekman
So this question is not 100% about cmake, but I am going to ask anyway. What is a good project layout (for a CMake project) that will let me: a) group related components b) allow testing and building of individual components c) without causing maintenance/debugging headaches, and having to update

Re: [CMake] Complicated dependency handling between linux & windows

2013-06-11 Thread Stefan Reuschl
2013/6/10 Robert Dailey > One thing I have setup on my CMake script framework on Windows is an > alias system. During configure, I tell CMake where my package > repository root is on a windows share. Inside of this repository, > third party libraries are listed in a consistent structure. I have a

Re: [CMake] Listing headers in source lists

2013-06-11 Thread Ansis Māliņš
No, it's not necessary, and you don't have to list them. In fact, I didn't know you *can* list them. -- 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.