Re: [CMake] Problem with CMAKE_INSTALL_RPATH_USE_LINK_PATH ?

2008-10-22 Thread Roland Rasmussen
On Wed, Oct 22, 2008 at 9:33 PM, Alexander Neundorf <[EMAIL PROTECTED]> wrote: >> The situation is that I have an executable 'johndoe' which requires a >> shared library, say libbar.so, which is found in the directory >> /lib/foo, ie. outside the build directory. So what I expected is that >> with

Re: [CMake] WindowsMobile toolchain file.

2008-10-22 Thread Phil Pellouchoud
I could not find that post. I searched my mailbox and I searched the website. I couldn't find the e-mail with those attachments. http://www.cmake.org/pipermail/cmake/2008-October/date.html#start Any chance you could e-mail me them directly or post them again? Thanks. -phil -Original Messa

[CMake] Using cache in -P scripts?

2008-10-22 Thread Abe Stephens
Hi, Is it possible for a script executed during build (via custom command of cmake -P) to load and read values from the project's CMakeCache.txt file? I tried using load_cache in the script, but apparently that isn't allowed. Thanks- Abe ___ CMa

Re: [CMake] Mac OS X frameworks

2008-10-22 Thread E. Wing
There is also my Lua example (on steroids) found at: http://www.assembla.com/wiki/show/lua -Eric ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] [PATCH] FreeBSD Lua5.x default install path

2008-10-22 Thread E. Wing
Sorry, I've been a bit buried recently and I know there are some other Lua patches pending. But I think this is reasonable to add if FreeBSD is really going to do this. I doubt the addition will break anything for other platforms. But since 7.1 is still beta, do you have it in authority that this

Re: [CMake] Find_Path problem

2008-10-22 Thread Wilfried Holzke
Hi, >> >> I have an library header file in >> "/usr/include/libNAME-version/libNAME/name.h" and want to find the >> path. >> >> I tried >> >> FIND_PATH(INC_PATH libNAME/name.h /usr/include/libNAME-*/) >> >> as INC_PATH I get "/usr/include/libNAME-version/libNAME/" >> >> but I only need "/usr/includ

Re: [CMake] [PATCH] FreeBSD Lua5.x default install path

2008-10-22 Thread Alexander Neundorf
On Wednesday 22 October 2008, Félix C. Morency wrote: > Hi, > > It appears that FreeBSD 7.1 (beta) installs Lua5.1 in the following default > path: > > /usr/local/lib/lua51/ > > The current FindLua51 module doesn't search in this path and this results > in a not found library. Some goes for Lua5.0.

Re: [CMake] Find_Path problem

2008-10-22 Thread Eric NOULARD
Le Wed, 22 Oct 2008 20:33:15 +0200, Wilfried Holzke <[EMAIL PROTECTED]> a écrit : > Hi, > > I have an library header file in > "/usr/include/libNAME-version/libNAME/name.h" and want to find the > path. > > I tried > > FIND_PATH(INC_PATH libNAME/name.h /usr/include/libNAME-*/) > > as INC_PATH I

Re: [CMake] Problems setting -ar -ranlib and other binutils

2008-10-22 Thread Alexander Neundorf
On Tuesday 21 October 2008, [EMAIL PROTECTED] wrote: > I'm using cmake 2.6.1 under Ubuntu Linux to cross compile for a target. I > have a toolchain file which sets the full paths to the cross compiler > binaries.The c-compiler and c++ compiler always work and setup correctly > and appear in the CMa

Re: [CMake] Problem with CMAKE_INSTALL_RPATH_USE_LINK_PATH ?

2008-10-22 Thread Alexander Neundorf
On Wednesday 22 October 2008, Roland Rasmussen wrote: > Hi! > > The way I read the documentation for CMAKE_INSTALL_RPATH_USE_LINK_PATH > is that if it is TRUE, then the link paths for an executable will be > put into the rpath when it is installed through the 'install' target. > Is that correct? >

Re: [CMake] WindowsMobile toolchain file.

2008-10-22 Thread Alexander Neundorf
On Wednesday 22 October 2008, Phil Pellouchoud wrote: > Hey everybody, > > > > Does someone have a WindowsMobile toolchain file I can pilfer? > > I'm guessing there must be a zillion people that have done this before. No, there aren't (AFAIK), just a few. Look for the email "Re: Updated WinCE CMak

[CMake] Find_Path problem

2008-10-22 Thread Wilfried Holzke
Hi, I have an library header file in "/usr/include/libNAME-version/libNAME/name.h" and want to find the path. I tried FIND_PATH(INC_PATH libNAME/name.h /usr/include/libNAME-*/) as INC_PATH I get "/usr/include/libNAME-version/libNAME/" but I only need "/usr/include/libNAME-version/". How can I

[CMake] [PATCH] FreeBSD Lua5.x default install path

2008-10-22 Thread Félix C. Morency
Hi, It appears that FreeBSD 7.1 (beta) installs Lua5.1 in the following default path: /usr/local/lib/lua51/ The current FindLua51 module doesn't search in this path and this results in a not found library. Some goes for Lua5.0. I attached two patches (one for 5.0 and one for 5.1) that add the c

Re: [CMake] CMake Digest, Vol 54, Issue 63

2008-10-22 Thread David Cole
In the source tree for CMake. Get it from CVS or download the source .tar.gz / .zip file as instructed here: http://www.cmake.org/cmake/resources/software.html Or view the CMakeLists.txt file I was referring to directly online here: http://public.kitware.com/cgi-bin/viewcvs.cgi/Tests/Framework/CM

Re: [CMake] Changing CMake default directories.

2008-10-22 Thread Paweł Żak
On Wed, 22 Oct 2008 14:09:36 +0200, Hendrik Sattler <[EMAIL PROTECTED]> wrote: cd tmp cmake .. Damn it... Cheers. :) Paweł ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Changing CMake default directories.

2008-10-22 Thread Hendrik Sattler
Paweł Żak schrieb: > Hi, > > I have a problem with changing CMake default directories and I need your > help. > > The usual layout of projects we develop in my company presents like this: > project --- src (sources and headers) > |-- lib (libraries and archives) > |-- bin (binarie

[CMake] Changing CMake default directories.

2008-10-22 Thread Paweł Żak
Hi, I have a problem with changing CMake default directories and I need your help. The usual layout of projects we develop in my company presents like this: project --- src (sources and headers) |-- lib (libraries and archives) |-- bin (binaries) \-- tmp (temporary fil

[CMake] Problem with CMAKE_INSTALL_RPATH_USE_LINK_PATH ?

2008-10-22 Thread Roland Rasmussen
Hi! The way I read the documentation for CMAKE_INSTALL_RPATH_USE_LINK_PATH is that if it is TRUE, then the link paths for an executable will be put into the rpath when it is installed through the 'install' target. Is that correct? The problem is that it doesn't work as expected for me. The situa

Re: [CMake] Compiling assembler files with C code

2008-10-22 Thread Hendrik Sattler
Gerhard Gappmeier schrieb: > Hi all, > > I want to compile an assembler file with my C sources. > > A simple example how to compile this on the command line looks like that: > "gcc cas32test.c cas32.s -o cas32test" --- project(cas C) enable_language(ASM) set_property(SOURCE cas32.s PROPERTY