Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-07 Thread frederic heem
Hi, The problem has been added yesterday to the bug tracker, and is already solved in cvs, that's really amazing, thanks bill and the cmake crew ! Frederic Heem On Tuesday 06 February 2007 4:59 pm, frederic heem wrote: > On Tuesday 06 February 2007 4:43 pm, Bill Hoffman wrote: > >

Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-06 Thread frederic heem
On Tuesday 06 February 2007 4:43 pm, Bill Hoffman wrote: > frederic heem wrote: > > Hi, > > Here is the test case: > > top level CMakeLists.txt: > > > > ADD_CUSTOM_TARGET(doc > > COMMAND echo "doc" > >

Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-06 Thread frederic heem
when the 2 targets are declared in the same CMakeLists.txt, it is used for instance in the precompiled header cmake script. Thanks Frederic > > HTH, > David > > On 2/6/07, frederic heem <[EMAIL PROTECTED]> wrote: > > Hi, > > Here is the test case: > > top level CM

Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-testHi,

2007-02-06 Thread frederic heem
uot; COMMENT "generate test1 docbook chapter") ADD_DEPENDENCIES(doc test1) The archive is available at http://www.cmake.org/Bug/bug.php?op=show&bugid=4414 In which project should I have a look to get an example ? Thanks, Frederic Heem PS: cmake 2.4.6 On Tuesday 06 F

Re: [CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-test

2007-02-06 Thread frederic heem
On Monday 05 February 2007 6:47 pm, Alan W. Irwin wrote: > On 2007-02-05 15:58+0100 frederic heem wrote: > > Hi, > > It seems that ADD_DEPENDENCIES does not allow to add a dependency to > > every target. Here is a brief description of the problem: > > A subdirectory

[CMake] ADD_DEPENDENCIES Adding dependency to non-existent target: doc-test

2007-02-05 Thread frederic heem
PENDENCIES(doc-test testFoo) Unfortunately, cmake complains about ADD_DEPENDENCIES(doc-test testFoo): ADD_DEPENDENCIES Adding dependency to non-existent target: doc-test If ADD_DEPENDENCIES is commented, make help shows the doc-test target. Is there a way to overcome this problem ? Thanks, Fre

[CMake] -fPIC and precompiled header

2006-12-20 Thread frederic heem
} TYPE) IF(${_targetType} STREQUAL SHARED_LIBRARY) SET(_compile_FLAGS "${_compile_FLAGS} -fPIC") ENDIF(${_targetType} STREQUAL SHARED_LIBRARY) This works but is not a proper solution, one shall not know in which case -fPIC is used or not. Thanks, Fre

Re: [CMake] compile header file for precompiled gcc headers

2006-12-20 Thread frederic heem
On Monday 18 December 2006 1:47 pm, Maik Beckmann wrote: > Am Montag, den 18.12.2006, 13:33 +0100 schrieb Maik Beckmann: > > > Even more intelligent ;) > > Maik Hi, The new macro generates an error: CMake Error: Error in cmake code at /home/heefre/svn/trunk/voxgratia/OpalTester/cmake/modules/FindX

Re: [CMake] compile header file for precompiled gcc headers

2006-12-18 Thread frederic heem
/std_includes.h Every argument is separated by a colon, hence the compilation fails Frederic Heem On Monday 18 December 2006 9:25 am, Maik Beckmann wrote > Am Sonntag, den 17.12.2006, 21:55 +0100 schrieb klaas.holwerda: > > Hi, > > > > I want to get gcc to use precompiled he

RIF: [CMake] [PATCH] Defining standard GNU directory variables

2006-11-25 Thread Frederic Heem
Hi, A similar script has already been added to the bug tracker, see the following link. http://www.cmake.org/Bug/bug.php?op=show&bugid=3976 Let´s grab the best of the 2 scripts and merge them to make one unique script. Frederic Heem -Messaggio originale- Da: [EMAIL PROTECTED]

Re: [CMake] new pkgconfig stuff

2006-11-23 Thread frederic heem
th ? Apart from that, this script looks great. Frederic Heem On Thursday 23 November 2006 2:10 pm, Bill Hoffman wrote: > ** I checked in the new pkgconfig stuff from Enrico: > >FindPkgConfig.cmake Rev: 1.1 > <http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindPkgConfig.cmak

[CMake] ctest and signal

2006-11-09 Thread frederic heem
Hi, ctest is not forwarding unix signal to the process it has spawned. This creates problem when the user wants to cleanly stop the running process. Shoud this issue be add to the bug report database ? Frederic Heem ___ CMake mailing list CMake

Re: [CMake] [ANN] New PkgConfig module

2006-10-31 Thread frederic heem
I've modified UsePkgConfig too. The reasons why it has been modified is that it allows to search on non standard pkg path. It also retrieves the package version and the definitions It should be nice to merge all work done. Frederic Heem On Tuesday 31 October 2006 12:30 pm, Enrico Scholz

Re: RIF: [CMake] kdevelop problems

2006-10-31 Thread frederic heem
from kdevelop. > I' ve tied with a simpler project thar has c++ files inside > CMAKE_SOURCE_DIR and the files are showed. > > Is it a known limitation? > Do I have to use special hacks inside CMakefiles to tell Kdevelop to add > the files to the project? > > Thanks in a

RIF: [CMake] kdevelop problems

2006-10-30 Thread Frederic Heem
txt, import the project in kdevelop using "custom makefile", then configure kdevelop to use the build directory to compile, and sett other paramaters such as where is the executable. Frederic Heem -Messaggio originale- Da: [EMAIL PROTECTED] per conto di Luigi Calori Invia

[CMake] 64bit format

2006-10-20 Thread frederic heem
be "%lld", "%Ld" or "%qd". If someone has already implemented these checks, I would be glad to use them. The last thing I want to do is to reinvent the wheel. Thanks, Frederic Heem ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Can't use Boost ??

2006-10-17 Thread frederic heem
Use the following command and add FindXXX.cmake in ${CMAKE_SOURCE_DIR}/cmake/modules SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) Frederic Heem Alle 11:10, martedì 17 ottobre 2006, Matthieu Brucher ha scritto: > Hi, > > I'm not an admin on my coputer, so I unfortunatel

Re: [CMake] Can't use Boost ??

2006-10-17 Thread frederic heem
Hi, FindBoost.cmake is used on a FC5 without any trouble on my project. Please find attached a copy of it, they may be different Alle 10:26, martedì 17 ottobre 2006, Matthieu Brucher ha scritto: > Hi, > > I'm trying to use Boost in my applications. On Windows, no problem, it can > now find the goo

[CMake] end of line

2006-10-10 Thread frederic heem
Hi, The output of pkgconfig has to be parsed to make it compatible with cmake. pkgconfig adds the end of line for each results. Is there a portable way to remove the end of line ? Fred ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/li

[CMake] tar options ?

2006-10-09 Thread frederic heem
Hi, In CPack, is there a way so add some options to tar ? Some symbolic links has to be copied so the option -h has to be used. Cheers Frederic Heem ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] add dependencies to clean target ?

2006-10-09 Thread frederic heem
ctory must be outside the source directory, otherwise, the archive will contain the build directory. Cheers Frederic Heem ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] how to set environment variable when executing process

2006-10-06 Thread frederic heem
Hi, In some FindXXX.cmake, pkgconfig is used to locate include directories libraries, definitions etc. I would like to set the environment variable PKG_CONFIG_PATH to $MYLIBDIR:$PKG_CONFIG_PATH, hence pkg-config will look first for $MYLIBDIR/mylib.pc EXECUTE_PROCESS and EXEC_PROGRAM allow to ex

[CMake] FindQt4.cmake, which one ?

2006-10-05 Thread frederic heem
Hi, After upgrading from cmake 2.4.3 to cmake in cvs, cmake aborts because the macro QT4_ADD_DBUS_INTERFACE. Indeed, FindQt4.cmake was downloaded from the kde project and the FindQt4.cmake from cvs does not contain this macro. Basically, all FindQt4.cmake are different and incompatible. At the

Re: [CMake] no space between include path

2006-10-04 Thread frederic heem
example Alle 09:37, mercoledì 4 ottobre 2006, frederic heem ha scritto: > Alle 18:39, martedì 3 ottobre 2006, William A. Hoffman ha scritto: > > At 12:28 PM 10/3/2006, frederic heem wrote: > > >foreach(PACKAGE ${PACKAGELIST}) > > >find_package(${PACKA

Re: [CMake] no space between include path

2006-10-04 Thread frederic heem
Alle 18:39, martedì 3 ottobre 2006, William A. Hoffman ha scritto: > At 12:28 PM 10/3/2006, frederic heem wrote: > >foreach(PACKAGE ${PACKAGELIST}) > >find_package(${PACKAGE}) > >message(${PACKAGE}_FOUND) > >if (${PACKAGE}_FOUND) > >

[CMake] no space between include path

2006-10-03 Thread frederic heem
BusGlib include paths and libraries # DBusGlib can be found at http://www.freedesktop.org/wiki/Software/dbus # Written by Frederic Heem, frederic.heem _at_ telsey.it # This module defines # DBUSGLIB_FOUND, true if DBusGlib has been found # DBUSGLIB_VERSION, the DBusGlib version # DBUSGLIB_INCLUDE_D

Re: [CMake] FIND_PATH with multiple path in a single variable

2006-10-03 Thread frederic heem
Alle 17:15, martedì 3 ottobre 2006, Brad King ha scritto: > frederic heem wrote: > > Hi, > > Here is the problem, pkgconfig is used to get the include path, for dbus, > > its value is "-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include" and > > the variable

[CMake] FIND_PATH with multiple path in a single variable

2006-10-03 Thread frederic heem
Hi, Here is the problem, pkgconfig is used to get the include path, for dbus, its value is "-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include" and the variable name is DBUS_INCLUDE_DIR_SYSTEM. The following FIND_PATH fails to find the include files: FIND_PATH(DBUS_INCLUDE_DIR dbus/dbus.h ${D

Re: [CMake] Portable "treat warnings as errors"?

2006-09-19 Thread frederic heem
Alle 14:00, martedì 19 settembre 2006, Kedzierski, Artur CIV NAVSURFWARCENDIV CORONA ha scritto: > I thought about doing it this way. However, then I thought > that there might be some portable way of doing that which would save me > all the IF/ENDIF's. Sounds like something relatively easy

Re: [CMake] CMake Modules

2006-09-08 Thread frederic heem
Hi, According to cmake template FindPACKAGE.cmake (http://cmake-modules.googlecode.com/svn/trunk/Templates/FindPACKAGE.cmake) Can someone explain why the include directory is not cached whereas the library is cached and internal: SET(_INCLUDE_DIRS ${_INCLUDE_DIR}) SET(_LIBRARIES ${_LIBRARY}

[CMake] sysconfdir and localstatedir

2006-09-07 Thread frederic heem
Hi, What are the equivalent of sysconfdir and localstatedir ? ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var would be cmake -DCMAKE_INSTALL_PREFIX=/usr -D???=/etc --D???=/var Thanks, __ --- NOTICE --

[CMake] FIND_PROGRAM and qt4

2006-09-06 Thread frederic heem
Hi, Here is the problem, qt3 is installed by the distribution, qt4 has been manually installed. An application which want to use qt4 will set QTDIR to the directory where qt4 is installed. The macro FIND_PROGRAM found the wrong qmake e.g /usr/lib/qt-3.3/bin/qmake, the reason is that FIND_PROGRAM

Re: [CMake] Find template

2006-08-31 Thread frederic heem
Hi, It makes sense they are identical. Since variables are already in the form of XXX_VARIABLE, let's go for FindXXX.cmake, not FindXxx.cmake, not Findxxx.cmake and not FindxXx.cmake. Everyone agrees ? Alle 17:17, giovedì 31 agosto 2006, frederic heem ha scritto: > Hi, > For

Re: [CMake] Find template

2006-08-31 Thread frederic heem
2006, Joerg Mayer ha scritto: > On Thu, Aug 31, 2006 at 03:14:17PM +0200, frederic heem wrote: > > What's the benefit of changing from XXX_VARIABLE to Xxx_VARIABLE ? Only 2 > > FindXxx.cmake has adopted this style. This change is completely useless > > and doesn&#

Re: [CMake] Find template

2006-08-31 Thread frederic heem
ce we have decided on a standard, all > packages need to be changed. In order to not break older packages, > packages that actually need changing should provide both, their old vars > and name and the new vars and name. > > ciao > Joerg -- *     -     *****     ---

Re: [CMake] CMake Modules

2006-08-30 Thread frederic heem
stions and then writes a FindXXX.cmake file: > http://websvn.kde.org/trunk/KDE/kdesdk/cmake/scripts/generate_findpackage_f >ile > > Or maybe the cmake devs could offer a cvs module on their server for more > or less public access just for modules ? > > Bye > Alex -- *    

[CMake] /usr/share/cmake or /usr/share/Cmake ?

2006-08-22 Thread frederic heem
environment variable CMAKE_MODULE_PATH or whataver name your prefer. This variable would contain a list of path where FindXXX.cmake reside, the same behavior than PATH to look for executable in other word. Thanks, -- *     -     *     -     *     Frederic Heem Software

Re: [CMake] msvc postfix conventions

2006-08-02 Thread frederic heem
grep for "libboost_date_time-gcc-d-1_31.so" in http://www.boost.org/more/getting_started.html Cheers On Wednesday 02 August 2006 10:26, Brandon J. Van Every wrote: > frederic heem wrote: > > Why not following the boost (www.boost.org) naming convention ? > > Where do I

Re: [CMake] msvc postfix conventions

2006-08-02 Thread frederic heem
question is when combining these 1-or-2-letter postfixes, is if > they are combined in any particular order. > > > Cheers, > Brandon Van Every > > ___ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman/listinfo/cmake

[CMake] ctest return value and timeout

2006-06-08 Thread frederic heem
hough a test hangs. -- *     -     *     -     *     Frederic Heem Software Designer R&D - Telsey SpA Telecommunications Viale Industria, 1 31055 Quinto di Treviso (TV) ITALY Tel. direct phone: (+39) 0422 377819 Tel. (+39) 0422 377711 Fax. (+39) 0422 47092

[CMake] cmake 2.4.2 CMAKE_CXX_FLAGS_DEBUG

2006-06-07 Thread frederic heem
is present. Regards, -- *     -     *     -     *     Frederic Heem Software Designer R&D - Telsey SpA Telecommunications Viale Industria, 1 31055 Quinto di Treviso (TV) ITALY Tel. direct phone: (+39) 0422 377819 Tel. (+39) 0422 377711 Fax. (+39) 0422 470920 w

[CMake] cmake 2.4.1 FIND_PATH

2006-06-07 Thread frederic heem
user defined ones ? It is more logical to have this opposite and it also preserves backward compatibility. Regards. -- *     -     *     -     *     Frederic Heem Software Designer R&D - Telsey SpA Telecommunications Viale Industria, 1 31055 Quinto di Treviso (TV)

Re: [CMake] Re: a ./configure shell script stub (William A. Hoffman)

2006-05-30 Thread frederic heem
solutely needs the > shortcut. A way to make this adjustable would help everybody I think. > (yes, typing -DCMAKE_INSTALL_PREFIX=/blah/foo) is sometimes a bit lot of > work) > > Bye > Alex -- *     -     *     -     *     Frederic Heem Software Designer R&am

Re: [CMake] What about...

2006-05-26 Thread frederic heem
nd it quite annoying. > Craig > ___ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman/listinfo/cmake -- *     -     *     -     *     Frederic Heem Software Designer R&D - Telsey SpA Telecommunications Viale Industria, 1 31055 Quinto di Trevi

[CMake] linux debugging flags

2006-05-25 Thread frederic heem
Hi, The pwlib library has recently changed its linux debug flags to -g3 -ggdb -O0, it is believed that it makes debugging easier, is there a way to integrate it into cmake ? Regards, -- *     -     *     -     *     Frederic Heem Software Designer R&D - Telsey

Re: [CMake] Find.cmake

2006-03-29 Thread frederic heem
files are welcomed, it has been tested on linux only. Cheers. On Monday 27 March 2006 17:38, William A. Hoffman wrote: > At 09:54 AM 3/27/2006, frederic heem wrote: > >Hi, > >A few Find.cmake files has been written to compile a project, > > where should I sent them in order to

[CMake] Find.cmake

2006-03-27 Thread frederic heem
eers -- *     -     *     -     *     Frederic Heem Software Designer R&D - Telsey SpA Telecommunications Viale Industria, 1 31055 Quinto di Treviso (TV) ITALY Tel. direct phone: (+39) 0422 377819 Tel. (+39) 0422 377711 Fax. (+39) 0422 470920 website ==> www.telsey.it __