[CMake] Compiler/Linker flags for coverage/memcheck

2011-06-03 Thread Arunmozhi
Hi, I cannot understand how to include the flags -fprofile-arcs -ftest-coverage to the compiler/linker flags or purify flags in my CMakeLists.txt. Why can't CTest application and/or INCLUDE(CTest) itself do this automatically as it knows the specific platform and coverage/memcheck tool used.

Re: [CMake] How to add CPack errors to CDash

2011-06-03 Thread NoRulez
Is it possible to use a command such as ctest_*? because in my main CTestScript.cmake file it isn't possible to call add_test. Am 01.06.2011 um 23:11 schrieb Clinton Stimpson clin...@elemtech.com: On Wednesday, June 01, 2011 03:01:12 pm NoRulez wrote: Hi, is it possible to also report

Re: [CMake] CPack specify filename

2011-06-03 Thread NoRulez
Is this the only way? Because i would like to have only one CTestScript.cmake file which came from the build server. Am 01.06.2011 um 23:48 schrieb Clinton Stimpson clin...@elemtech.com: On Wednesday, June 01, 2011 02:58:22 pm NoRulez wrote: Hi, if I use PackageMaker, DragNDrop, Bundle,

Re: [CMake] Missing libgmp-10.dll

2011-06-03 Thread Bill Lorensen
My version is 3.18 and I have to add c:/MinGW/bin to my windows Path otherwise the I get the missing dll error. I did not have to do this in earlier mingw versions. Notice I set it in Path and not PATH. Bill On Thu, Jun 2, 2011 at 4:16 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On

Re: [CMake] Windows build inconsistency...

2011-06-03 Thread Eric Noulard
2011/6/3 Jean-Christophe Fillion-Robin jchris.filli...@kitware.com: Just tested it on linux and the same remark applies. Hi, I cannot find the answer in the ML archive but I think I already crossed that issue in the past and I was answered that this was the expected legacy CMake behavior. 1)

Re: [CMake] How to add CPack errors to CDash

2011-06-03 Thread Eric Noulard
2011/6/3 NoRulez noru...@me.com: Is it possible to use a command such as ctest_*? because in my main CTestScript.cmake file it isn't possible to call add_test. May be you can use ctest_build(TARGET package) this suppose the package target has been configure properly on the particuler build

Re: [CMake] CPack specify filename

2011-06-03 Thread Eric Noulard
2011/6/3 NoRulez noru...@me.com: Is this the only way? Because i would like to have only one CTestScript.cmake file which came from the build server. I do not see the point? If you use CPACK_PROJECT_CONFIG_FILE **in your project CMakeLists.txt** then you'll get what you want with a single

Re: [CMake] Missing libgmp-10.dll

2011-06-03 Thread Bill Hoffman
On 6/3/2011 8:10 AM, Bill Lorensen wrote: My version is 3.18 and I have to add c:/MinGW/bin to my windows Path otherwise the I get the missing dll error. I did not have to do this in earlier mingw versions. Notice I set it in Path and not PATH. Strange, they must have changed the version

Re: [CMake] Compiler/Linker flags for coverage/memcheck

2011-06-03 Thread David Cole
Don't do it in your CMakeLists.txt file. Do it in the script that drives your coverage build. If the script runs on more than one machine, then add appropriate conditionals into the script to handle the platform differences. HTH, David On Fri, Jun 3, 2011 at 3:48 AM, Arunmozhi

Re: [CMake] Windows build inconsistency...

2011-06-03 Thread David Cole
On Fri, Jun 3, 2011 at 9:10 AM, Eric Noulard eric.noul...@gmail.com wrote: 2011/6/3 Jean-Christophe Fillion-Robin jchris.filli...@kitware.com: Just tested it on linux and the same remark applies. Hi, I cannot find the answer in the ML archive but I think I already crossed that issue in the

Re: [CMake] CPack specify filename

2011-06-03 Thread David Cole
On Fri, Jun 3, 2011 at 4:38 AM, NoRulez noru...@me.com wrote: Is this the only way? Because i would like to have only one CTestScript.cmake file which came from the build server. Of course it's not the only way. (TMTOWTDI: always, even if you're not using perl.) It is a reasonable suggestion,

Re: [CMake] Missing libgmp-10.dll

2011-06-03 Thread David Cole
On Fri, Jun 3, 2011 at 10:55 AM, Bill Hoffman bill.hoff...@kitware.com wrote: On 6/3/2011 8:10 AM, Bill Lorensen wrote: My version is 3.18 and I have to add c:/MinGW/bin to my windows Path otherwise the I get the missing dll error. I did not have to do this in earlier mingw versions. Notice I

[CMake] FOLLOW-UP: CMAKE - troubles finding executables/paths -Windows 7 / MinGW

2011-06-03 Thread Steve Westenbroek
Thanks Bill and Bill for looking into this! I don't know if this was clear in my original post, but is seems that most of my troubles with CMake on my system stem from the fact that I have nearly half-a-dozen MinGW/MSYS installs on my system; each exists for a specific purpose, and each has

Re: [CMake] Missing libgmp-10.dll

2011-06-03 Thread David Cole
On Fri, Jun 3, 2011 at 8:10 AM, Bill Lorensen bill.loren...@gmail.com wrote: My version is 3.18 and I have to add c:/MinGW/bin to my windows Path otherwise the I get the missing dll error. I did not have to do this in earlier mingw versions. Notice I set it in Path and not PATH. Path and PATH

Re: [CMake] FOLLOW-UP: CMAKE - troubles finding executables/paths -Windows 7 / MinGW

2011-06-03 Thread Bill Hoffman
On 6/3/2011 11:22 AM, Steve Westenbroek wrote: Thanks Bill and Bill for looking into this! I don't know if this was clear in my original post, but is seems that most of my troubles with CMake on my system stem from the fact that I have nearly half-a-dozen MinGW/MSYS installs on my system; each

Re: [CMake] Windows build inconsistency...

2011-06-03 Thread Bill Hoffman
if(argIsFile) { // Source CMakeLists.txt file given. It was probably dropped // onto the executable in a GUI. Default to an in-source build. this-SetHomeOutputDirectory(listPath.c_str()); this-SetStartOutputDirectory(listPath.c_str()); } I'm too

Re: [CMake] Missing libgmp-10.dll

2011-06-03 Thread Bill Lorensen
It makes a difference for me when running the cmake-gui. I have to define a windows system Path not PATH. If I run from the msys shell, everything is fine because the shell adds the proper path. On Fri, Jun 3, 2011 at 11:23 AM, David Cole david.c...@kitware.com wrote: On Fri, Jun 3, 2011 at 8:10

Re: [CMake] Missing libgmp-10.dll

2011-06-03 Thread Bill Lorensen
Dave, Exactly what I see unless I add c:/MinGW/bin to the windows system Path (not PATH). cmake-gui fails, but the msys shell works fine. Bill On Fri, Jun 3, 2011 at 11:21 AM, David Cole david.c...@kitware.com wrote: On Fri, Jun 3, 2011 at 10:55 AM, Bill Hoffman bill.hoff...@kitware.com

Re: [CMake] Missing libgmp-10.dll

2011-06-03 Thread David Cole
On Fri, Jun 3, 2011 at 4:36 PM, Bill Lorensen bill.loren...@gmail.com wrote: Dave, Exactly what I see unless I add c:/MinGW/bin to the windows system Path (not PATH). cmake-gui fails, but the msys shell works fine. Bill How do you add it to the Path (not PATH)?? (Give me step-by-step,

Re: [CMake] Missing libgmp-10.dll

2011-06-03 Thread Bill Lorensen
My Computer - View System Information - Advanced - Environment Variables - System Variables - Path -. Edit (or New) - C;/MinGW/bin;... On Fri, Jun 3, 2011 at 4:47 PM, David Cole david.c...@kitware.com wrote: On Fri, Jun 3, 2011 at 4:36 PM, Bill Lorensen bill.loren...@gmail.com wrote: Dave,

[CMake] VxWorks Cross Compilation Strategy

2011-06-03 Thread Dan Furtney
I need to perform cross compile builds for three different types of VxWorks compilers. I was able to build a simple program using the strategy provided on the wiki. This, however, does not let me target the a specific linker and scripts I need at link time. Is development of a VxWorks.cmake

Re: [CMake] Patch for watcom InstallRequiredSystemLibraries

2011-06-03 Thread J Decker
so what is the proper way for someone without repository write access to get patches added? On Tue, Feb 15, 2011 at 3:27 PM, J Decker d3c...@gmail.com wrote: http://public.kitware.com/Bug/view.php?id=11866 ___ Powered by www.kitware.com Visit other

Re: [CMake] VxWorks Cross Compilation Strategy

2011-06-03 Thread Alexander Neundorf
On Saturday, June 04, 2011 01:28:51 AM Dan Furtney wrote: I need to perform cross compile builds for three different types of VxWorks compilers. I was able to build a simple program using the strategy provided on the wiki. This, however, does not let me target the a specific linker and scripts

[cmake-developers] [CMake 0012240]: CMake doesn't quote paths passed to rc.exe resource compiler

2011-06-03 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12240 == Reported By:govage Assigned To:

[Cmake-commits] CMake branch, next, updated. v2.8.4-1681-g427526a

2011-06-03 Thread Bill Hoffman
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 427526a6dbb20c4c6b46b8db7aedfa1716726278 (commit) via