[CMake] Coverage

2008-04-03 Thread Cedric Pinson
Hi, I would like to add coverage on my project with a valgrind pass i saw that there is something with dashboard. But when i run ctest it says CTestConfiguration.ini I dont need to submit result or anything like that i would like to dispay the coverage and the result of valgrind, like i did wit

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Alan W. Irwin
On 2008-04-03 23:13+0200 Alexander Neundorf wrote: On Thursday 03 April 2008, you wrote: On 2008-04-03 21:06+0200 Alexander Neundorf wrote: If you run pkg-config of the build host it will find the pkg-config files of the libs for the build host. For the record, you have complete control of w

Re: [CMake] Mostly O.T. Need advice on Mac OS X compatibility version for libraries

2008-04-03 Thread E. Wing
Also, I posted this to the Xcode list. Follow the threads for the responses. http://lists.apple.com/archives/xcode-users/2007/May/msg00417.html ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Mostly O.T. Need advice on Mac OS X compatibility version for libraries

2008-04-03 Thread E. Wing
I think I recall reading Brad's notes on the bug report, and I think they look good. I'm still trying to find time to dig through all my correspondences on this issue. Below is something I posted to the OpenSceneGraph mailing list. It talks about versioning at the dylib level, but also talks about

Re: [CMake] acyclic subdirectory builds

2008-04-03 Thread Egon Kocjan
I used cmake 2.4.8 Egon Kocjan wrote: Hello again, I am slowly porting a complicated project to cmake. I have an acyclic graph of dependencies and "shared" build directories and I have trouble generating VS slns. A simple example (the real build is way more complicated): liba/include.cmake

[CMake] acyclic subdirectory builds

2008-04-03 Thread Egon Kocjan
Hello again, I am slowly porting a complicated project to cmake. I have an acyclic graph of dependencies and "shared" build directories and I have trouble generating VS slns. A simple example (the real build is way more complicated): liba/include.cmake: get_filename_component(liba_dir ${CMAK

Re: [CMake] Mostly O.T. Need advice on Mac OS X co mpatibility version for libraries

2008-04-03 Thread Alan W. Irwin
On 2008-04-03 21:11+0200 Alexander Neundorf wrote: Here's a feature request for the versioning stuff on OSX: http://public.kitware.com/Bug/view.php?id=4383 Hi Alex: Thanks very much for that important reference on this issue. The rest of my comments are directed to Brad who has made a consi

Re: [CMake] How to make a target depends from target 'all'

2008-04-03 Thread Alexander Neundorf
On Thursday 03 April 2008, you wrote: > On Thu, Apr 3, 2008 at 10:21 PM, Alexander Neundorf > <[EMAIL PROTECTED]> > > wrote: > > On Thursday 03 April 2008, Mehdi Rabah wrote: > > ... > > > > > ok then I re-explain : I have a custom rule "sync" that send binaries > > > to > > > > a > > > > > embedde

Re: [CMake] How to make a target depends from target 'all'

2008-04-03 Thread Mehdi Rabah
On Thu, Apr 3, 2008 at 10:21 PM, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > On Thursday 03 April 2008, Mehdi Rabah wrote: > ... > > ok then I re-explain : I have a custom rule "sync" that send binaries to > a > > embedded computer. To make sure that the binaries that I send are the > > lastes

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Alexander Neundorf
On Thursday 03 April 2008, you wrote: > On 2008-04-03 21:06+0200 Alexander Neundorf wrote: > > If you run pkg-config of the build host it will find the pkg-config files > > of the libs for the build host. > > For the record, you have complete control of what set of *.pc files > the build-host pkg-c

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Alan W. Irwin
On 2008-04-03 21:06+0200 Alexander Neundorf wrote: If you run pkg-config of the build host it will find the pkg-config files of the libs for the build host. For the record, you have complete control of what set of *.pc files the build-host pkg-config executable finds using the PKG_CONFIG_PATH

Re: [CMake] How to make a target depends from target 'all'

2008-04-03 Thread Alexander Neundorf
On Thursday 03 April 2008, Mehdi Rabah wrote: ... > ok then I re-explain : I have a custom rule "sync" that send binaries to a > embedded computer. To make sure that the binaries that I send are the > lastest version (ie the source have recompiled since my last modification) > I wanted to make my "

Re: [CMake] Cdash, triggersite

2008-04-03 Thread Bill Hoffman
Gerhard den Hollander wrote: Im trying to setup a Cdash dashoard, most of it seems to go fine, but the submissions do not show up on the dashboard One thing that struck me as odd is the Trigger Site: line http://172.17.0.112/cgi-bin/Submit-Random-TestingResults.cgi there is no such cgi file, an

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Filipe Sousa
Alexander Neundorf wrote: On Thursday 03 April 2008, Alan W. Irwin wrote: One prinicipal problem I see with pkg-config is that it is intended to be used in such a way that the stdout is directly used as command line arguments for the compiler. E.g. instead of a list of include directories it

Re: [CMake] Cdash, triggersite

2008-04-03 Thread Andreas Schneider
Gerhard den Hollander wrote: Im trying to setup a Cdash dashoard, most of it seems to go fine, but the submissions do not show up on the dashboard One thing that struck me as odd is the Trigger Site: line http://172.17.0.112/cgi-bin/Submit-Random-TestingResults.cgi You have to modify the CTes

Re: [CMake] CPack: Building Multiple Packages

2008-04-03 Thread Alexander Neundorf
On Thursday 03 April 2008, Mike Arthur wrote: > Hey guys, > First of all, nice work on CMake/CPack, great tools. > > I'm having some problems attempting to get CPack to build multiple packages > and I'm wondering what I'm trying to do is possible. > > The folder layout (for this example) is the fol

Re: [CMake] CPack: Building Multiple Packages

2008-04-03 Thread Bill Hoffman
Alexander Neundorf wrote: On Thursday 03 April 2008, Mike Arthur wrote: Hey guys, First of all, nice work on CMake/CPack, great tools. I'm having some problems attempting to get CPack to build multiple packages and I'm wondering what I'm trying to do is possible. The folder layout (for this ex

[CMake] Cdash, triggersite

2008-04-03 Thread Gerhard den Hollander
Im trying to setup a Cdash dashoard, most of it seems to go fine, but the submissions do not show up on the dashboard One thing that struck me as odd is the Trigger Site: line http://172.17.0.112/cgi-bin/Submit-Random-TestingResults.cgi there is no such cgi file, and there is nothing in the CDash

Re: [CMake] Problems to use TRY_COMPILE

2008-04-03 Thread Alexander Neundorf
On Thursday 03 April 2008, Vitor Vasconcelos Araujo Silva wrote: > Hello guys, > > I'm trying to use the TRY_COMPILE command and I guess I'm probaly > making some mistake or I misunderstood the command. > > My command is this one: > > TRY_COMPILE(RESULT ${PROJECT_BINARY_DIR} > > ${PR

Re: [CMake] Mostly O.T. Need advice on Mac OS X co mpatibility version for libraries

2008-04-03 Thread Alexander Neundorf
On Thursday 03 April 2008, Pau Garcia i Quiles wrote: > Quoting "Alan W. Irwin" <[EMAIL PROTECTED]>: > > On 2008-04-02 20:08-0700 E. Wing wrote: > >> This seems familiar. I remember a long discussion on this somewhere. > >> It must have been offlist. I forgot the outcome. Were we going to > >> intr

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Alexander Neundorf
On Thursday 03 April 2008, Alan W. Irwin wrote: > On 2008-04-02 18:19-0700 E. Wing wrote: > >>> [Alan said] > >>> In sum, pkg-config is already widely used on the Linux/Mac OS X side of > >>> things and there doesn't seem to be any fundamental reason to > >>> discourage the > >>> use of pkg-config

Re: [CMake] Problems to use TRY_COMPILE

2008-04-03 Thread Bill Hoffman
Vitor Vasconcelos Araujo Silva wrote: Hello guys, I'm trying to use the TRY_COMPILE command and I guess I'm probaly making some mistake or I misunderstood the command. My command is this one: TRY_COMPILE(RESULT ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}/teste.cpp CMAKE_FLAGS CO

[CMake] Problems to use TRY_COMPILE

2008-04-03 Thread Vitor Vasconcelos Araujo Silva
Hello guys, I'm trying to use the TRY_COMPILE command and I guess I'm probaly making some mistake or I misunderstood the command. My command is this one: TRY_COMPILE(RESULT ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR}/teste.cpp CMAKE_FLAGS COMPILE_DEFINITIONS -I${QT_INCLUDE_DIR}

[CMake] CPack: Building Multiple Packages

2008-04-03 Thread Mike Arthur
Hey guys, First of all, nice work on CMake/CPack, great tools. I'm having some problems attempting to get CPack to build multiple packages and I'm wondering what I'm trying to do is possible. The folder layout (for this example) is the following: src/ src/host/ src/client/ There are CMakeLists

Re: [CMake] CMake 2.6.0 Beta ready for testing!

2008-04-03 Thread Bill Hoffman
David Cole wrote: I think it should be a new CPack generator that expects a single bundle in its make install tree and that makes a simple .dmg wrapper around that bundle. Instead of "PackageMaker" generator, maybe a new "BundleDMG" generator? That sounds good to me. -Bill

Re: [CMake] CMake 2.6.0 Beta ready for testing!

2008-04-03 Thread David Cole
I think it should be a new CPack generator that expects a single bundle in its make install tree and that makes a simple .dmg wrapper around that bundle. Instead of "PackageMaker" generator, maybe a new "BundleDMG" generator? Thx, David On Thu, Apr 3, 2008 at 8:41 AM, Mike Jackson <[EMAIL PROTE

Re: [CMake] CMake 2.6.0 Beta ready for testing!

2008-04-03 Thread Mike Jackson
On Apr 2, 2008, at 4:50 PM, Bill Hoffman wrote: Nicolas Desprès wrote: On Wed, Apr 2, 2008 at 10:25 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: [...] I suppose we could. I like the installer as it prompts the user for the license, and setting up the command line stuff. Also, I have som

[CMake] How to make INSTALL ( directory .... ) depend on other targets

2008-04-03 Thread doob
Hello, how can I make an INSTALL( DIRECTORY ) target depend on another target FOO created with ADD_CUSTOM_TARGET to ensure the target gets build before installation. I tried something like: install( CODE "execute_process ( COMMAND make doc )" ) but oviously this is not independent of p

Re: [CMake] How to make a target depends from target 'all'

2008-04-03 Thread Mehdi Rabah
On Wed, Apr 2, 2008 at 9:01 PM, Alexander Neundorf <[EMAIL PROTECTED]> wrote: > On Wednesday 02 April 2008, you wrote: > > On Tue, Apr 1, 2008 at 10:15 PM, Alexander Neundorf > ... > > ok but there must be some way to say that I want to rebuild my project > when > > I call this specific "sync" tar

Re: [CMake] Using CTEST_CUSTOM_WARNING_EXCEPTION

2008-04-03 Thread Mathieu Malaterre
}/CMake/CTestCustom.ctest @ONLY) > > FILE(WRITE ${GDCM_BINARY_DIR}/CTestCustom.cmake > >"INCLUDE(\"${GDCM_BINARY_DIR}/CMake/CTestCustom.ctest\")\n") > > ENABLE_TESTING() > > INCLUDE(CTest) > > SUBDIRS(Testing) > > ENDIF(BUILD_TESTING)

Re: [CMake] Using CTEST_CUSTOM_WARNING_EXCEPTION

2008-04-03 Thread David Cole
IR}/CMake/CTestCustom.ctest @ONLY) > FILE(WRITE ${GDCM_BINARY_DIR}/CTestCustom.cmake >"INCLUDE(\"${GDCM_BINARY_DIR}/CMake/CTestCustom.ctest\")\n") > ENABLE_TESTING() > INCLUDE(CTest) > SUBDIRS(Testing) > ENDIF(BUILD_TESTING) > > > But still I am getti

[CMake] Using CTEST_CUSTOM_WARNING_EXCEPTION

2008-04-03 Thread Mathieu Malaterre
;INCLUDE(\"${GDCM_BINARY_DIR}/CMake/CTestCustom.ctest\")\n") ENABLE_TESTING() INCLUDE(CTest) SUBDIRS(Testing) ENDIF(BUILD_TESTING) But still I am getting warnings related to building expat: http://public.kitware.com/GDCM/Testing/Sites/zorglub/GDCM2-trunk-Linux-gcc42-SVN/20

Re: [CMake] CMake 2.6.0 RC 6 ready for testing

2008-04-03 Thread Christian Ehrlicher
> Von: "Mathieu Malaterre" > On Wed, Apr 2, 2008 at 8:13 PM, Bill Hoffman > wrote: > > I am happy to announce that CMake 2.6.0 RC6 is ready for testing. > > You can find the source and binaries here: > > http://www.cmake.org/files/v2.6/. > > > > Here is the list of changes for the 2.6.0 branch so

Re: [CMake] CMake 2.6.0 RC 6 ready for testing

2008-04-03 Thread Mathieu Malaterre
On Wed, Apr 2, 2008 at 8:13 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > I am happy to announce that CMake 2.6.0 RC6 is ready for testing. > You can find the source and binaries here: > http://www.cmake.org/files/v2.6/. > > Here is the list of changes for the 2.6.0 branch so far: > > Changes in

Re: [CMake] FOSDEM Talk on CMake is available

2008-04-03 Thread Andreas Schneider
Alan W. Irwin wrote: (2) The cpack section needs expansion (especially since cpack is so poorly documented elsewhere). Are you sure that the PDF is the right place to expand the CPack documentation and not the wiki? -- andreas -- http://www.cynapses.org/ - cybernetic synapses

Re: [CMake] Mostly O.T. Need advice on Mac OS X compatibility version for libraries

2008-04-03 Thread Pau Garcia i Quiles
Quoting "Alan W. Irwin" <[EMAIL PROTECTED]>: On 2008-04-02 20:08-0700 E. Wing wrote: This seems familiar. I remember a long discussion on this somewhere. It must have been offlist. I forgot the outcome. Were we going to introduce a different versioning variable separate from SOVERSION? You m