[CMake] CPackDeb generator patch

2010-02-13 Thread Thawan Kooburat
Hi, I created a patch for CPack Debian generator. Here is the list of my modification - Automatically generate dependency list if dpkg-shlibdeps utility is presented. 1. Detect if dpkg-shlibdeps is existed in the system 2. Use "find" and "file" command to generate a list of file an

Re: [CMake] How to avoid continuous download while using ExternalProjects

2010-02-13 Thread Philip Lowman
On Thu, Feb 11, 2010 at 12:00 PM, Luigi Calori wrote: >> Also, for any that are interested, beta releases of zlib now have a >> CMakeLists.txt in them.  It could use testing on Mac OSX and other >> unix systems. >> http://zlib.net/current/beta/ >> > > Did you tried that? I' did but seem to have a

Re: [CMake] byte-compiling emacs lisp sources

2010-02-13 Thread Tim Blechmann
hello michael, thanks a lot ... i needed to adapt it a bit for my applications, but it works like charm now ... thanks, tim -- t...@klingt.org http://tim.klingt.org Happiness is a byproduct of function, purpose, and conflict; those who seek happiness for itself seek victory without war. Wil

Re: [CMake] shared library linking question

2010-02-13 Thread Tim Blechmann
>> from my limited understanding of the linking process, it should link with >> -lcommon instead of using ../common/libcommon.so, since the rpath is >> already set to ../common. but how can i tell cmake to do this? > > As far as I can see this is ok. At least its the same in the cmake > projects I

Re: [CMake] byte-compiling emacs lisp sources

2010-02-13 Thread Michael Wild
On 13. Feb, 2010, at 13:05 , Tim Blechmann wrote: > hi all, > > i've got some troubles to byte-compile emacs lisp files with cmake. > > basically, i need to do the following > - copy source file to the build directory > - compile the elc file with: "emacs -batch -f batch-byte-compile > /path/t

[CMake] byte-compiling emacs lisp sources

2010-02-13 Thread Tim Blechmann
hi all, i've got some troubles to byte-compile emacs lisp files with cmake. basically, i need to do the following - copy source file to the build directory - compile the elc file with: "emacs -batch -f batch-byte-compile /path/to/source.el" - add an install rule to install the generated elc file

Re: [CMake] shared library linking question

2010-02-13 Thread Andreas Pakulat
On 13.02.10 11:00:52, Tim Blechmann wrote: > hi andreas, > > >> common/libcommon.so > >> target1/target1 > >> target2/target2 > >> > >> both target1 and target2 are linked with libcommon, both work fine in the > >> build directory, the libraries are resolved correctly. > >> > >> after installing

Re: [CMake] shared library linking question

2010-02-13 Thread Tim Blechmann
hi andreas, >> common/libcommon.so >> target1/target1 >> target2/target2 >> >> both target1 and target2 are linked with libcommon, both work fine in the >> build directory, the libraries are resolved correctly. >> >> after installing them, they are formatted like: >> $PREFIX/lib/libcommon.so >>

Re: [CMake] shared library linking question

2010-02-13 Thread Andreas Pakulat
On 13.02.10 00:35:17, Tim Blechmann wrote: > hi all, > > i am trying to write a cmake build system for an existing project and have > some troubles with linking of shared libraries. > > basically, my directory layout of the targets is the following: > common/libcommon.so > target1/target1 > targ