Re: [CMake] Why the target is named to "liblib" instead to "lib"? (Linux)

2007-03-31 Thread a . neundorf-work
On Saturday 31 March 2007 12:47, Manfred Rebentisch wrote: > Hello, > I am new to this list, so I beg your pardon, if the question is a > recurrence. > > I use cmake version 2.4-patch 3 on Suse 10.1 . > > I want to generate a library with the name "libstd3000c.so". So I define: > > CMakeLists.

Re: [CMake] Problems CMake linking shared libraries

2007-04-03 Thread a . neundorf-work
On Tuesday 03 April 2007 12:24, Jos Theunissen wrote: > Hi Manfred, > > Our naming convention for so is esqc.so for a c library. We use this > convention long before Linux came. What's the name of the library on disk ? "esqc.so" or "libesqc.so" or even "libesqc.so.so" ? > What I wonder who is rem

Re: [CMake] TARGET_LINK_LIBRARIES question

2007-04-10 Thread a . neundorf-work
On Tuesday 10 April 2007 20:22, [EMAIL PROTECTED] wrote: > I would like to be able to add the full path to the library via > TARGET_LINK_LIBRARIES. I have looked through the documentation but have > not found a way to this. > > When I TARGET_LINK_LIBRARIES( test /path/to/libA.lib) I get the equiva

Re: [CMake] module variable naming conventions

2007-04-12 Thread a . neundorf-work
On Thursday 12 April 2007 02:11, Bob Kuehne wrote: > hi, i've been using cmake for a while now, and am writing some of my > own modules to find packages, in particular. i was using my own > naming convention for return INCLUDE and LIB paths, something like > FOO_INCLUDE_DIR and FOO_LIBRARY_DIR, unt

Re: [CMake] INSTALL() command from cvs

2007-04-12 Thread a . neundorf-work
On Thursday 12 April 2007 13:24, Filipe Sousa wrote: > Hi! > > I have some projects that installs system libraries. One of them is > libstdc++.so.6 that is symlink to > /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8: > $ readlink -f $(g++ -print-file-name=libstdc++.so.6) > > With cmake 2.4

Re: [CMake] How to make executable depend on pre-existing control file?

2007-04-12 Thread a . neundorf-work
Hi, On Thursday 12 April 2007 19:07, Trevor Kellaway wrote: > Hi, > > I'm try to get my link to depend on a pre-existing file that contains > linker segment information "link.prm". > > I thought that by just adding this to the executable dependency list > this should work: > > ADD_EXECUTABLE

Re: [CMake] How to make executable depend on pre-existing control file?

2007-04-12 Thread a . neundorf-work
On Thursday 12 April 2007 19:33, Brandon J. Van Every wrote: > Trevor Kellaway wrote: > > Hi, > > > > I'm try to get my link to depend on a pre-existing file that contains > > linker segment information "link.prm". > > > > I thought that by just adding this to the executable dependency list > > thi

Re: [CMake] How to make executable depend on pre-existing controlfile?

2007-04-12 Thread a . neundorf-work
On Thursday 12 April 2007 21:21, Trevor Kellaway wrote: > i, > > > > I'm try to get my link to depend on a pre-existing file > > > > that contains > > > > > linker segment information "link.prm". > > > > > > [snip] > > > > I guess you also have a custom command which generates this file ? > > Are y

Re: [CMake] one source file should depend on every other

2007-04-12 Thread a . neundorf-work
On Thursday 12 April 2007 22:00, Denis Stuenkel wrote: > Hi, > > currently my CMakeLists.txt looks basically like this: > > file(GLOB sources *.cc) > add_executable(myprog ${sources}) > > One of these cc-files just contains: > > const char* build_date() {return __DATE__;} > > The obvious prob

Re: [CMake] make rebuild_cache vs. running cmake

2007-10-11 Thread a . neundorf-work
On Friday 28 September 2007 14:05, Joachim Ziegler wrote: > Hello list, > > I wonder what the difference is between making the target > > $ make rebuild_cache > > and a run of > > $ cmake /path/to/CMakeLists.txt I think there is no difference. Alex ___

Re: [CMake] how broken is the RPM support?

2007-10-11 Thread a . neundorf-work
On Wednesday 10 October 2007 22:32, Eric Noulard wrote: > 2007/10/10, kent williams <[EMAIL PROTECTED]>: > > I just installed the CVS CMake. There is a CPackRPM.cmake file in the > > Modules directory, but it's not clear to me how to tell CPack I want > > to generate an RPM, or a Source RPM. > > I

Re: [CMake] Generate Intel Compiler Project Files dire

2007-10-11 Thread a . neundorf-work
On Thursday 11 October 2007 17:27, Neumann, Jan (SCR US) wrote: > Hi, > > I was wondering if it is possible to use CMake to generate Visual Studio > 2003 or 2005 project files that will use the Intel C++ compiler. I think this is not supported. > Currently, I am generating first the Visual Studio

Re: [CMake] FindImageMagick: Rewrite to support all utilities.

2007-10-14 Thread a . neundorf-work
On Saturday 13 October 2007 07:17, Miguel A. Figueroa-Villanueva wrote: > Hello, > > I've been assigned the task of maintaining the ImageMagick find > module. As such, I made a rewrite to support the complete toolchain > (i.e., all command line executables) and would like to ask for user > feedback

Re: [CMake] Trouble with CMake + Eclipse + SVN/CVS

2007-10-17 Thread a . neundorf-work
On Wednesday 17 October 2007 20:46, Miguel A. Figueroa-Villanueva wrote: > On 10/17/07, Eric Noulard wrote: > > 2007/10/17, Pau Garcia i Quiles: > > > After reading those threads, I have been able to make > > > scenario A (out-of-tree build) work with a bit of manual work. > > > > > > I am trying t

Re: [CMake] cmake install and rpath

2007-10-17 Thread a . neundorf-work
On Wednesday 17 October 2007 15:57, James Bigler wrote: > I tried digging through through the mailing list and experimenting on > my own, but I don't seem to be able to figure this out. > > I have a toy project that has a shared library and an executable. > I've set it up, so that it can be install

Re: [CMake] CMAKE 2.5 MinGW returns bad WIN32

2007-10-19 Thread a . neundorf-work
Hi, On Friday 19 October 2007 06:24, Gonzalo Garramuño wrote: > I'm running FindOpenGL and FindGLUT on a mingw based compile, with MSYS > Makefiles and CMAKE_CXX_COMPILER=g++. That is, a standard GNU build. > > FindOpenGL and FindGLUT fail to find the microsoft opengl32.lib and dll > and the corr

Re: [CMake] Patch for Eclipse generator

2007-10-19 Thread a . neundorf-work
Hi, On Friday 19 October 2007 01:18, Pau Garcia i Quiles wrote: > Hello, > > As I told yesterday, here comes a patch for the Eclipse CDT4 generator > available in the current CVS version of CMake. > > Although I have not extensively tested it, the works fine. In addition > to the in-tree build whi

Re: [CMake] CMake 2.5 - MinGW fails with NMake Mafiles

2007-10-19 Thread a . neundorf-work
On Friday 19 October 2007 13:11, David Cole wrote: > Do not pass -DCMAKE_SYSTEM=Windows-5.1 on the command line. CMake expects > to compute that value itself... > > On 10/19/07, Gonzalo Garramuño <[EMAIL PROTECTED]> wrote: > > MinGW CMake also says it supports NMake Makefiles (actually, tons of > >

Re: [CMake] including paths - basic

2007-10-19 Thread a . neundorf-work
On Thursday 18 October 2007 19:32, Mark Wyszomierski wrote: > Hi, > > I'm new to cmake, it looks great. Is it possible to include different > paths conditionally, like: > > include_directories (${MY_PROJECT_SOURCE_DIR}/my_lib) > IF (WIN32) > include_directories (C:/my_stuff/lib/something) > ELSE (W

Re: [CMake] FindImageMagick: Rewrite to support all utilities.

2007-10-19 Thread a . neundorf-work
On Thursday 18 October 2007 21:25, Miguel A. Figueroa-Villanueva wrote: > On 10/14/07, Alex Neundorf wrote: > > On Saturday 13 October 2007 07:17, Miguel A. Figueroa-Villanueva wrote: > > > Hello, > > > > > > I've been assigned the task of maintaining the ImageMagick find > > > module. As such, I m

Re: [CMake] Expat problem

2007-10-19 Thread a . neundorf-work
On Thursday 18 October 2007 01:42, eddy xu wrote: > Hi all, > > When I try to generate Makefile on a gentoo box, one error message comes > out: > > CMake Error: expat_DIR is not set. It must be set to the directory > containing expatConfig.cmake in order to use expat. > > And I can not get any mean

Re: [CMake]: Patch for FIND_PACKAGE_HANDLE_STANDARD_ARGS

2007-10-21 Thread a . neundorf-work
On Sunday 21 October 2007 02:31, Miguel A. Figueroa-Villanueva wrote: > I have created a feature request #5920 for the following issue. I > won't apply the changes myself unless I'm assigned the feature, since > I don't want to abuse my cvs modules access. The patch looks good so far. So if comp

Re: [CMake] Patch for Eclipse generator

2007-10-21 Thread a . neundorf-work
Hi, On Sunday 21 October 2007 00:48, you wrote: ... > > Just to make sure I understand: > > with this patch the two eclipse project files are always created in > > the source tree, right ? > > Right. > > > What happens if you try to create two buildtrees for one source tree, > > which problems may

Re: [CMake] Patch for Eclipse generator

2007-10-21 Thread a . neundorf-work
On Monday 22 October 2007 00:19, Pau Garcia i Quiles wrote: > Quoting [EMAIL PROTECTED]: > > Hi, > > > > On Sunday 21 October 2007 00:48, you wrote: > > ... > > > >> > Just to make sure I understand: > >> > with this patch the two eclipse project files are always created in > >> > the source tree,

Re: [CMake] Patch for Eclipse generator

2007-10-22 Thread a . neundorf-work
Hi, On Monday 22 October 2007 07:26, Miguel A. Figueroa-Villanueva wrote: > On 10/21/07, Pau Garcia i Quiles wrote: ... > > > How about that: > > > > > > If you run cmake in-source, everything should just work. > > > > > > If you run cmake out-of-source, cmake creates two eclipse projects: one > >

Re: [CMake] Selecting compiler on Windows platform

2007-10-22 Thread a . neundorf-work
On Monday 22 October 2007 11:34, Josef Karthauser wrote: ... > However, I’d like to control this from within a CMake file, and this > doesn’t appear possible. From what I can see, CMakeDetermineCXXCompiler is > loaded and executed prior to the CMakeLists.txt file, which means that I > cannot set t

Re: [CMake] Re: Hyperlinked indexed reference?

2007-10-22 Thread a . neundorf-work
On Monday 22 October 2007 15:20, Fernando Cacciola wrote: ... > Assuming that's true (I haven't seen any source code), isn't it somewhat > simple to extend the pattern so that each command outputs also an HTML > friendly documentation entryr? > > Something like: > > command->get_documentation_html_

Re: [CMake] Caching calculated values.

2007-10-22 Thread a . neundorf-work
On Monday 22 October 2007 17:49, Josef Karthauser wrote: > Full of questions me...! > > As part of a cmake run a number of my CMakeLists.txt files do some > complex state-machine stuff to determine a list of files. This takes > some time, and I want to avoid doing it unnecessarily. However, > whe

Re: [CMake] Re: Re: Re: Re: Hyperlinked indexed reference?

2007-10-23 Thread a . neundorf-work
On Tuesday 23 October 2007 00:51, Fernando Cacciola wrote: > Hi Bill, > > > Just create a patch and send it to me. > > OK. > Here's a patch for cmDocumentationFormatterHTML.cxx > > It adds, at the beginning of each section, a list with hyperlinks to each > entry in it. > > Unfortunately, adding a s