[CMake] ctest and files organization

2010-04-26 Thread AKHRES Nader
Hello, just wonder where you put your unitary test? What's is usual? in /src/unit_test? Nad ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

[CMake] use of ${cmake_command}

2010-04-05 Thread AKHRES Nader
Hello, I've seen some examples where ${CMAKE_COMMAND} is used instead of cmake, typically in post build command Is it a better practice for portability? Nad ___ Powered by www.kitware.com Visit other Kitware open-source projects at

[CMake] cmake+build machine

2010-04-05 Thread AKHRES Nader
Hello, does someone use a nightly build engine like CruiseControl with CMake? Does it make sense? Nad ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] debug with codeblocks project

2010-04-05 Thread AKHRES Nader
-generated project file, if you need to change a project setting, do it in CMake rather than your IDE, since the CMake settings are the master ones used to generate the IDE data. Ryan On Sun, Apr 4, 2010 at 5:38 AM, AKHRES Nader nader.akh...@laposte.net mailto:nader.akh...@laposte.net wrote

[CMake] debug with codeblocks project

2010-04-04 Thread AKHRES Nader
Hello, I still have issue to compil with debug info in codeblocks project (generated by cmake). When I set the -g options in codeblocks gui, it seems to have no effect (but I manage to get it somehow by cleaning/rebuilding but can't reproduce). If I've understood (could someone confirm

[CMake] link issue with 2 statics lib-what's wrong in my cmake project

2010-03-16 Thread AKHRES Nader
Hello CMake community, I've two libs A and B where B depends on A. Then I have my final exe which depends on A and B. When I generate exe project for gcc or mingw, I get undefined reference errors from B. This doesn't happen with visual c++. Here are my cmake files organization, with relevant

Re: [CMake] link issue with 2 statics lib-what's wrong in my cmake project

2010-03-16 Thread AKHRES Nader
thank you very much Bill, it works now! Is it a big deal if I let the lib A where you advise me to remove it? Le 16/03/2010 22:49, Bill Hoffman a écrit : AKHRES Nader wrote: Hello CMake community, I've two libs A and B where B depends on A. Then I have my final exe which depends on A and B

Re: [CMake] set proxy with cmake file download

2010-03-11 Thread AKHRES Nader
I'm using windows... maybe it works on linux, I'll have a try but I would need a way to make it works on windows as well Le 12/03/2010 03:48, Philip Lowman a écrit : Have you tried setting the http_proxy environment variable? export http_proxy=http://host:port; On Thu, Mar 11, 2010 at 7:47

Re: [CMake] Decompressing a file with cmake

2010-03-08 Thread AKHRES Nader
the decompression. HTH, David On Sat, Mar 6, 2010 at 6:33 PM, AKHRES Nader nader.akh...@laposte.net mailto:nader.akh...@laposte.net wrote: Hello, is it possible to uncompress a zip file with cmake? I use file(download...) to get a zip from an url, but I need to uncompress

[CMake] Decompressing a file with cmake

2010-03-06 Thread AKHRES Nader
Hello, is it possible to uncompress a zip file with cmake? I use file(download...) to get a zip from an url, but I need to uncompress the downloaded archive... Nader ___ Powered by www.kitware.com Visit other Kitware open-source projects at

[CMake] generate multiple packages the easiest way

2010-02-27 Thread AKHRES Nader
Hello, I've looked at the archive but can't find exactly the answer suiting to my case. I need to create several packages (for instance nsis AND zip) of exactly the same source tree (no components). I've first try to use a list for CPACK_GENERATOR (SET(CPACK_GENERATOR NSIS ZIP)) but it

Re: [CMake] generate multiple packages the easiest way

2010-02-27 Thread AKHRES Nader
I guess I've found my issue. I use a main script calling cmake command and passing CPACK_GENERATOR like this: -DCPACK_GENERATOR Maybe this don't work for list. Is there any way to pass a list to command line cmake? Le 27/02/2010 13:23, Eric Noulard a écrit : 2010/2/27 AKHRES

Re: [CMake] generate multiple packages the easiest way

2010-02-27 Thread AKHRES Nader
unfortunately this won't work either cause it's still interpreted as a list... Here is my new idea: use a space separated string and turn into a list in last cmake script... (ie I'll use -DCPACK_GENERATOR=ZIP TGZ ) I do this SET(CPACK_GENERATOR_TXT ZIP NSIS) SET(CPACK_GENERATOR

Re: [CMake] generate multiple packages the easiest way

2010-02-27 Thread AKHRES Nader
help, without you I would have seached in the wrong way! Le 27/02/2010 16:19, AKHRES Nader a écrit : unfortunately this won't work either cause it's still interpreted as a list... Here is my new idea: use a space separated string and turn into a list in last cmake script... (ie I'll use

Re: [CMake] generate multiple packages the easiest way

2010-02-27 Thread AKHRES Nader
Maybe I'm not very clear there. Here is the picture (I've got two files here): cmake nightly build maker script (I use cmake scripting ability instead of .sh+.bat to avoid maintenaing os specific stuff, so this script is just a command script): [ SET(CPACK_GENERATOR_TXT ZIP\;NSIS) #just