Re: [CMake] building gcc with cmake

2011-01-06 Thread Bill Hoffman
On 1/6/2011 7:16 AM, luxInteg wrote: On Thursday 06 January 2011 02:11:46 Alan W. Irwin wrote: On 2011-01-06 03:02- luxInteg wrote: just curious, but I wondering if anyone on list has ever built gcc with cmake. (or at least had a go) gccxml has CMake files that build most of gcc.

[Cmake-commits] CMake branch, next, updated. v2.8.3-1230-g64e940f

2011-01-06 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=64e940f7fa3625db7efce4c1935e5a2c42cadba6 commit 64e940f7fa3625db7efce4c1935e5a2c42cadba6 Merge: 6bdb5e4 7bbab25 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Thu Jan 6 16:52:37 2011 -0500 Commit: CMake Topic Stage

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Bill Hoffman
Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905 (Direct) 518 371-3971 x105 Fax (518) 371-4573

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Bill Hoffman
On 1/5/2011 1:01 PM, David Cole wrote: Exactly. It needs further work. I'm not about to be the brave volunteer who adds a test that adds the window server must be running requirement. And whoever does should probably add a setting CMAKE_ENABLE_GUI_TESTS that is OFF by default. Then, only on

[Cmake-commits] CMake branch, next, updated. v2.8.3-1154-ge207994

2011-01-03 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e207994883b65b3ddcfdbfec9c0068f59252d796 commit e207994883b65b3ddcfdbfec9c0068f59252d796 Merge: 2a672c1 90b0f2c Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Mon Jan 3 14:07:14 2011 -0500 Commit: CMake Topic Stage

Re: [CMake] CMAKE_SHARED_LIBRARY_PREFIX

2010-12-28 Thread Bill Hoffman
On 12/28/2010 9:25 AM, Micha Renner wrote: Am Dienstag, den 28.12.2010, 08:51 -0500 schrieb David Cole: CMAKE_SHARED_LIBRARY_PREFIX only has one F Shame on me. Nevertheless, thank you. Useful hint... cmake --trace That will show all the commands including set commands for stuff like

Re: [CMake] MSB4051

2010-12-28 Thread Bill Hoffman
On 12/27/2010 10:25 AM, Bill Hoffman wrote: On 12/27/2010 10:03 AM, Anders Backman wrote: Seems to be bug in CMake! I reduce the solution down to 1 project. Still fails. So I copied the generated .sln file into agx.cmake.sln More helpful would be a minimal CMakeLists.txt and instructions

[Cmake-commits] CMake branch, next, updated. v2.8.3-1105-gf106a8f

2010-12-28 Thread Bill Hoffman
960ace1 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Tue Dec 28 11:00:00 2010 -0500 Commit: CMake Topic Stage kwro...@kitware.com CommitDate: Tue Dec 28 11:00:00 2010 -0500 Merge topic 'add_support_for_windres' into next 960ace1 Add testing for windows resources

Re: [CMake] MSB4051

2010-12-27 Thread Bill Hoffman
On 12/27/2010 10:03 AM, Anders Backman wrote: Seems to be bug in CMake! I reduce the solution down to 1 project. Still fails. So I copied the generated .sln file into agx.cmake.sln More helpful would be a minimal CMakeLists.txt and instructions on how to get CMake to create the bad .sln

Re: [CMake] CPack 101

2010-12-23 Thread Bill Hoffman
On 12/23/2010 8:44 AM, Mike McQuaid wrote: On 23 December 2010 13:24, David Coledavid.c...@kitware.com wrote: How do we make it very hard? What about KDE and Homebrew make this very easy? Specifics, please. I think for you guys general guidelines on what patches would/wouldn't be accepted

Re: [CMake] CPack 101

2010-12-23 Thread Bill Hoffman
On 12/23/2010 9:59 AM, Mike McQuaid wrote: A few questions: What platforms does it need to be tested on? At least one. The important thing is that it actually has a test, that will be run with make test on CMake after the code is merged into CMake. The dashboards will take care of testing

Re: [CMake] Make-ing specific target in a SWIG module

2010-12-22 Thread Bill Hoffman
On 12/22/2010 1:13 AM, Bill Spotz wrote: Hello, I have a CMake build system that includes a subdirectory that builds a python interface using SWIG. I would like to run make with a target specified such that the swig command is called but the resulting wrapper file is not compiled. The

Re: [CMake] problem with mac linker flags

2010-12-22 Thread Bill Hoffman
On 12/22/2010 4:15 PM, Richard Wackerbarth wrote: The problem is that CMake does not call the linker. It invokes the linker by calling the compiler and passing flags through it. In the module, Darwin.cmake, you find: SET(CMAKE_C_LINK_FLAGS -Wl,-headerpad_max_install_names)

Re: [CMake] problem with mac linker flags

2010-12-22 Thread Bill Hoffman
On 12/22/2010 4:37 PM, Brad King wrote: On 12/22/2010 04:21 PM, Cochran, Bill wrote: So, I guess the problem is cmake is incorrectly guessing my compiler? I'm not using intel, I'm using gnu. Both Darwin-GNU and Darwin-icc need the fix. IIRC, Apple's port of GCC documented the

Re: [CMake] problem with mac linker flags

2010-12-22 Thread Bill Hoffman
On 12/22/2010 6:08 PM, Richard Wackerbarth wrote: I track next very closely. I looks as if Brad added the -Wl, to both Darwin-GNU and to Darwin-icc. If Bill Hoffman is correct and The intel compiler does not want and can not have the -Wl, syntax., then there is a problem with one of Brad's

[Cmake-commits] CMake branch, next, updated. v2.8.3-1078-g5035449

2010-12-22 Thread Bill Hoffman
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=503544980c38bacdde19255b0597db8151d0c7c4 commit 503544980c38bacdde19255b0597db8151d0c7c4 Merge: 23f34ce 753e208 Author: Bill Hoffman bill.hoff...@kitware.com

[Cmake-commits] CMake branch, next, updated. v2.8.3-1080-g251c851

2010-12-22 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=251c8514e29c80ac737060487b61f43394dee77c commit 251c8514e29c80ac737060487b61f43394dee77c Merge: 5035449 8c7b19d Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Wed Dec 22 16:15:14 2010 -0500 Commit: CMake Topic

Re: [cmake-developers] regarding cMake support on windows Itanium platforms

2010-12-21 Thread Bill Hoffman
On 12/21/2010 12:30 AM, ajay bansal wrote: Hi All, I want to create a Visual studio project (VS2008, c/c++) using this cMakeList.txt for i386, x64 Itanium platforms on windows. I found options for i386 x64 platforms in cmake GUI but there is nothing for Itanium platform. - Does cmake support

Re: [cmake-developers] regarding cMake support on windows Itanium platforms

2010-12-21 Thread Bill Hoffman
On 12/21/2010 11:38 AM, ajay bansal wrote: Hi Bill, Thanks for providing the info. Since i need to create vcProj solution files as part of my build, Can i use NMake to achieve it ? Could you please suggest me any other alternative if possible. You will have to modify the C++ code to get

Re: [CMake] Problem building libraries with no sources with Visual Studio 9 (2008)

2010-12-21 Thread Bill Hoffman
On 12/21/2010 2:17 PM, Michael Hertling wrote: AFAIK, this is because CMake does not know how to handle a .def file for incorporation in the target, i.e. ${library}.def has no LANGUAGE Actually, it should... Something like this should work: (assumes you have a perl script to create a .def

[Cmake-commits] CMake branch, next, updated. v2.8.3-1031-g6f38d6f

2010-12-20 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6f38d6f0a00b5edba11dcd79445b4675f9d29077 commit 6f38d6f0a00b5edba11dcd79445b4675f9d29077 Merge: d8848f9 f578381 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Mon Dec 20 15:34:35 2010 -0500 Commit: CMake Topic

[Cmake-commits] CMake branch, next, updated. v2.8.3-1033-g7b74942

2010-12-20 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7b74942a96ada709ace7b4b4a0cf7c6e50bd08b8 commit 7b74942a96ada709ace7b4b4a0cf7c6e50bd08b8 Merge: 6f38d6f afbfb7a Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Mon Dec 20 15:48:27 2010 -0500 Commit: CMake Topic

[Cmake-commits] CMake branch, next, updated. v2.8.3-882-gd555dd3

2010-12-14 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d555dd3854f7b59f1c335a05f1920908ee3f1fcd commit d555dd3854f7b59f1c335a05f1920908ee3f1fcd Merge: 35cd138 86979e4 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Tue Dec 14 15:06:36 2010 -0500 Commit: CMake Topic

Re: [cmake-developers] New CPack test failing on OS X and Windows 7

2010-12-13 Thread Bill Hoffman
On 12/12/2010 1:22 PM, Eric Noulard wrote: Thank you. No more clue with that list now, beside the fact that there is no ZIP. May be my cpack execution call is buggy. With the extra trace now in place I should see if this is the case. Eric, should we roll back the change? Lots of tests are

Re: [cmake-developers] New CPack test failing on OS X and Windows 7

2010-12-13 Thread Bill Hoffman
On 12/13/2010 9:52 AM, Bill Hoffman wrote: On 12/12/2010 1:22 PM, Eric Noulard wrote: Thank you. No more clue with that list now, beside the fact that there is no ZIP. May be my cpack execution call is buggy. With the extra trace now in place I should see if this is the case. Eric, should

Re: [cmake-developers] New CPack test failing on OS X and Windows 7

2010-12-13 Thread Bill Hoffman
I am working of fixing this, but have run into an issue... I did get the test to run, now it fails like this: 78: CPack: Create package 78: CPack: - package: C:/Users/hoffman/Work/My Builds/CMake-vside/Tests/CPackComponentsForAll/buildZIP-NoComponent/MyLib-1.0.2-win32-Development.zip

Re: [CMake] R: CMake 2.8.4 release scheduled for next month

2010-12-10 Thread Bill Hoffman
On 12/9/2010 5:42 PM, Marco Atzeri wrote: any hope to solve http://public.kitware.com/Bug/view.php?id=10122 with the discussed change of policy for cygwin ? Yes, I have put that on the roadmap. I hope to have time to create the policy before the release. Thanks for the reminder. -Bill

Re: [CMake] CMake bug tracker discussion

2010-12-10 Thread Bill Hoffman
There are a few things we have already started to do that should help with the bug tracker issue. 1. We hare having 4 releases of CMake each year. After each release we post to the list and ask people to vote for bugs they would like fixed in the next release. 2. We are now sending all

Re: [CMake] CMake bug tracker discussion

2010-12-10 Thread Bill Hoffman
On 12/10/2010 11:01 AM, Pau Garcia i Quiles wrote: On Fri, Dec 10, 2010 at 3:42 PM, Bill Hoffmanbill.hoff...@kitware.com wrote: I have a third idea that we have not yet tried: What do people think of automatically closing bugs if they are not modified for some period of time (say 6 months).

Re: [CMake] CMake bug tracker discussion

2010-12-10 Thread Bill Hoffman
On 12/10/2010 12:48 PM, Thompson, David C wrote: Mantis lets you customize bug resolution. Maybe a new category of resolution could be created. Instead of Won't Fix it could be Lack of Activity? It would have to be something that made it clear, that unless someone cares enough to re-open it,

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-09 Thread Bill Hoffman
On 12/9/2010 5:26 AM, Gabriel Petrovay wrote: Thanks Bill for the trick. Unfortunately this works only for exe targets. It doesn't work for dll's. Moreover, before the link command there is this output: Visual Studio Non-Incremental Link If it says that then the /INCREMENTAL flag is not being

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-09 Thread Bill Hoffman
On 12/9/2010 12:32 PM, John Drescher wrote: Haven't been following this thread closely, but changing the handling of /INCREMENTAL is a pain, at least in VS 2005 and 2008. Here is some code we use to *disable* /INCREMENTAL. With a little creativity, you could probably use this to forcibly

[Cmake-commits] CMake branch, next, updated. v2.8.3-788-g23d26f2

2010-12-09 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=23d26f27542b696654c336adfed2b0981ae991af commit 23d26f27542b696654c336adfed2b0981ae991af Merge: e0201a7 cddcad5 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Thu Dec 9 13:40:43 2010 -0500 Commit: CMake Topic Stage

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Bill Hoffman
On 12/8/2010 10:36 AM, Gabriel Petrovay wrote: Hi, Does anyone have some experience with the NMake generator and with incremental linking. There seems to be a bug in CMake. Currently NMake generator seems to generate build files that are not compatible with incremental linking of libraries. I

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Bill Hoffman
On 12/8/2010 12:53 PM, Gabriel Petrovay wrote: Hi Bill, First just by running cmake -E vs_link_exe CMake crashes on my machine (CMake 2.8.2, Win7): cmake.exe stopped working Close the program/Debug the program. Is this the right behaviour? It is not meant to be a command that is called by

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Bill Hoffman
On 12/8/2010 1:49 PM, Gabriel Petrovay wrote: On Wed, Dec 8, 2010 at 7:09 PM, Bill Hoffmanbill.hoff...@kitware.com wrote: On 12/8/2010 12:53 PM, Gabriel Petrovay wrote: Hi Bill, First just by running cmake -E vs_link_exe CMake crashes on my machine (CMake 2.8.2, Win7): cmake.exe stopped

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Bill Hoffman
On 12/8/2010 2:28 PM, Gabriel Petrovay wrote: What does Visual Studio Non-Incremental Link mean in the below output? In the link command below you can see the /INCREMENTAL /DUMMY options. I explicitly added them now but still the same behaviour: It means what it says. It means it is doing a

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Bill Hoffman
On 12/8/2010 4:21 PM, Gabriel Petrovay wrote: Yes I did. That is why I am wrote this post. Regardless of previous build. I always get: LINK : examples.exe not found or not built by the last incremental link; performing full link Try a make VERBOSE=1 with the /incremental:yes on, and post the

Re: [CMake] Did anyone manage to get incremental linking working with NMake generator?

2010-12-08 Thread Bill Hoffman
On 12/8/2010 10:18 PM, Bill Hoffman wrote: On 12/8/2010 4:21 PM, Gabriel Petrovay wrote: Yes I did. That is why I am wrote this post. Regardless of previous build. I always get: LINK : examples.exe not found or not built by the last incremental link; performing full link Try a make VERBOSE=1

Re: [CMake] CMake Xcodeproject

2010-12-02 Thread Bill Hoffman
On 12/2/2010 7:10 AM, salwa wrote: thanks. it look's like i'm the only one :( there is this blog: http://sites.google.com/site/michaelsafyan/coding/articles/iphone/cross-compiling-for-the-iphone-using-cmake -Bill ___ Powered by www.kitware.com

Re: [CMake] Error using CMake 2.8.x, Visual Studio 2010, and multiple platform SDKs.

2010-11-28 Thread Bill Hoffman
On 11/24/2010 5:02 PM, Ted Berg wrote: I'm seeing a reproducible failure generating Visual Studio 10 output on a system with the following installed: CMake 2.8.2 CMake 2.8.3 Visual Studio 2005 Visual Studio 2010 Program Files\Microsoft SDKs\Windows v6.1 v7.0A v7.1 To keep everything

Re: [CMake] Relink on library rebuild dilema

2010-11-28 Thread Bill Hoffman
On 11/28/2010 3:19 AM, Sebastian Schaetz wrote: Michael Hertlingmhertl...@... writes: 1) In the top-level CMakeLists.txt, you might say SET_SOURCE_FILES_PROPERTIES( main.cpp PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/kernels/libkernel_executable.a ) When

Re: [CMake] cmake 2.8.3 forces -rdynamic for pf90 in pure fortran projects

2010-11-22 Thread Bill Hoffman
On 11/22/2010 11:18 AM, Verweij, Arjen wrote: Hi, -rdynamic is used for linking with pgf90 even though it is not supported. The flag is imported from Linux-GNU.cmake and I guess it is included because cmake (2.8.3) checks for C and C++ compilers by default.

Re: [CMake] Compiling header files

2010-11-16 Thread Bill Hoffman
On 11/16/2010 7:19 PM, David Doria wrote: Hm, it works correctly in Linux, but I still get a bunch of error LNK2019: unresolved external symbol What symbols? Try running dumpbin /symbols OSC.lib. Also use VS IDE to make sure the library is listed. Everything look ok? Any thoughts?

[cmake-developers] emails not registered with CDash

2010-11-15 Thread Bill Hoffman
The new CDash allows for multiple names to be registered with your account. If you go to My CDash, My Profile, you can add your credentials. Due to CVS/git usage in CMake, you will need at least two of them... :) Here are the ones with trouble right now for CMake: (SendEmail): User: Alex

Re: [cmake-developers] red on style dashboard

2010-11-15 Thread Bill Hoffman
Ok thank you for checking this. My global credential is my e-mail and I added Eric NOULARD and eric.noulard (my previous cvs login) Thanks, that should do it. You were not alone, and CDash only recently had the ability to have more than one of these per user. However, we still need to

Re: [CMake] header files with visual studio

2010-11-15 Thread Bill Hoffman
On 11/14/2010 5:00 AM, Eric Noulard wrote: There has been some discussion on the list about improvement of the dependency scanner, this kind of idea may be examined there. May be it's worth filing a feature request on this subject. I have not followed this too closely. However, I thought

Re: [CMake] the input line is too long error after upgrading from 2.8.2 to 2.8.3

2010-11-15 Thread Bill Hoffman
On 11/15/2010 1:36 PM, Dieter Oberkofler wrote: I'm having a hard time to understand why after upgrading from CMake 2.8.2 to 2.8.3 I get the input line is too long when running nmake. The problem must be related to the upgrade because moving back to 6.8.2 with the absolute same build environment

Re: [CMake] 2.8.3 fortran regression or how to find configure problem

2010-11-09 Thread Bill Hoffman
://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff

Re: [cmake-developers] Fixing ProcessorCount.cmake

2010-11-08 Thread Bill Hoffman
On 11/8/2010 1:55 PM, Rolf Eike Beer wrote: Am Montag, 8. November 2010 schrieb David Cole: Hi Rolf, Can you update to a CMake based on 'next' and try the commit I made this morning on a QNX machine? (based on your patch, thank you for that...) Still needs some tweak, as the output is:

Re: [cmake-developers] Fixing ProcessorCount.cmake

2010-11-08 Thread Bill Hoffman
On 11/8/2010 3:30 PM, Rolf Eike Beer wrote: Am Montag, 8. November 2010 schrieb Bill Hoffman: On 11/8/2010 1:55 PM, Rolf Eike Beer wrote: Am Montag, 8. November 2010 schrieb David Cole: Hi Rolf, Can you update to a CMake based on 'next' and try the commit I made this morning on a QNX machine

Re: [CMake] 2.8.3 fortran regression or how to find configure problem

2010-11-08 Thread Bill Hoffman
On 11/8/2010 1:15 PM, Allen D Byrne wrote: This did work before the update - and reinstalling cmake 2.8.2 worked. BTW, I uninstalled and deleted the CMake Program Files folder to make sure there was no interference between versions. I now believe this to be a CMake 2.8.3 problem. I'll be glad

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-11-05 Thread Bill Hoffman
On 11/5/2010 10:48 AM, Rolf Eike Beer wrote: We are aiming for quarterly releases from now on, scheduling them every 3 or 4 months. That would make the next release of CMake version 2.8.4 and scheduled to have an rc1 release candidate in approximately mid-January, 2011, target date: Wed.

Re: [CMake] CMake hangs on new install

2010-11-03 Thread Bill Hoffman
On 11/2/2010 10:05 AM, Phil Smith wrote: Is anyone else successfully using a toolchain file for an in-source build with 2.8.2 or later? We can't be the only ones?! I've reduced this to a relatively minimal case, but it doesn't fail on the first TryCompile, so I can't just stuff in a dummy

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread Bill Hoffman
On 11/3/2010 3:09 PM, Rolf Eike Beer wrote: Am Mittwoch, 3. November 2010 schrieb Eric Noulard: I may have a problem with Visual Studio 2010 generator. The concerned project CERTI (https://savannah.nongnu.org/projects/certi) builds fine on on several using CMake. But when we try to build

Re: [CMake] CMake 2.8.3-rc4 ready for testing!

2010-11-03 Thread Bill Hoffman
On 11/3/2010 6:00 PM, Eric Noulard wrote: 2010/11/3 David Coledavid.c...@kitware.com: It should be fine. CMake should handle .h files that have this property set. We should fix it. (And we will -- probably in the 2.8.4 release.) OK no problem. Sorry for being late to test that combination

Re: [cmake-developers] Failing HTML (xmllint) test in the CMake dashboard results...

2010-11-02 Thread Bill Hoffman
On 11/2/2010 4:16 AM, Michael Wild wrote: David Cole Looks like w3c has had enough of the excessive traffic (although the post is back from 2008): http://www.w3.org/blog/systeam/2008/02/08/w3c_s_excessive_dtd_traffic Odd thing is, it fails all the time. If you run xmllint from the

Re: [cmake-developers] Failing HTML (xmllint) test in the CMake dashboard results...

2010-11-02 Thread Bill Hoffman
On 11/2/2010 10:11 AM, Michael Wild wrote: Seems like W3C is now requiring the User-Agent header, otherwise you get a 403 response. Using wireshark I found that xmllint doesn't send a User-Agent identification, and gets rejected. If I use wget and tell it to suppress the User-Agent header I

Re: [CMake] Using msbuild

2010-11-01 Thread Bill Hoffman
On 11/1/2010 9:46 AM, Thomas Lehmann wrote: Perfect! Why does it not work with “msbuild” directly? Kind Regards Thomas f:\Checkouts\prototyping\cmake_sandbox\objcmake --build . --target install Microsoft (R) Visual Studio Version 9.0.21022.8. Copyright (C) Microsoft Corp. Alle Rechte

Re: [CMake] cmake policy setting

2010-10-29 Thread Bill Hoffman
On 10/29/2010 6:33 AM, Marco Atzeri wrote: As there is no example in the documentaion, could someone clarify me if the change of any policy that should require an additional cmake_policy(SET CMP NEW) could also be requested at cmake invocation with

Re: [CMake] cmake for cygwin

2010-10-26 Thread Bill Hoffman
On 10/24/2010 11:52 PM, Yaakov (Cygwin/X) wrote: On Fri, 2010-10-22 at 13:12 +, Rolf Eike Beer wrote: So this is only different from what other build tools or whatever do. But it is well known behaviour, it is documented, and it can't be changed for backward compatibility anyway. The only

Re: [CMake] cmake for cygwin

2010-10-26 Thread Bill Hoffman
So, I think the only way to fix this is to create a new policy. The policy will warn all cygwin builds that CMake is no longer defining WIN32 on cygwin. As with all policies, if a project has the minimum required CMake set to the version of CMake that implements the policy the new behavior

Re: [CMake] cmake for cygwin

2010-10-26 Thread Bill Hoffman
On 10/26/2010 9:58 PM, Yaakov (Cygwin/X) wrote: On Tue, 2010-10-26 at 17:53 -0400, Bill Hoffman wrote: Backwards compatibility may not be important to you, but to CMake it is very important. When a developer chooses to use CMake, I want to respect that choice, and work as hard as I can to make

Re: [CMake] ExternalProject_Add + issues with env auto-conf.

2010-10-20 Thread Bill Hoffman
On 10/20/2010 9:08 AM, Tim St. Clair wrote: correction, I can see this issue with 2.8.2 i386 binaries vs. hand build. Tim, it is still unclear to me what your problem is and where you are getting the binaries from. So, a few questions: 1. Where did the binaries come from (i.e. cmake.org,

Re: [CMake] ExternalProject_Add + issues with env auto-conf.

2010-10-20 Thread Bill Hoffman
On 10/20/2010 9:29 AM, Tim St. Clair wrote: when using ExternalProject_Add with hand built version of cmake 2.8.2 seems to have a series of issues with auto tools relating to the env, the afore mentioned example is a direct repo. Where it will fail in RHEL 5.5 re-running aclocal (when I don't

Re: [CMake] CTest: Weird behaviour

2010-10-19 Thread Bill Hoffman
on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518 881-4905

Re: [CMake] ExternalProject_Add + issues with env auto-conf.

2010-10-19 Thread Bill Hoffman
BUILD_IN_SOURCE 1 #--install Step -- INSTALL_DIR ${EXTERNAL_STAGE} INSTALL_COMMAND make install ) -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park

Re: [cmake-developers] User vs CMake include mismatch handling

2010-10-15 Thread Bill Hoffman
On 10/14/2010 2:18 PM, David Cole wrote: On Thu, Oct 14, 2010 at 1:30 PM, Alexander Neundorf neund...@kde.org mailto:neund...@kde.org wrote: On Wednesday 13 October 2010, Alexander Neundorf wrote: On Wednesday 13 October 2010, Bill Hoffman wrote: So, I think we have to use

Re: [CMake] How to use Purify with CMake.

2010-10-14 Thread Bill Hoffman
On 10/14/2010 7:11 PM, Ben Boeckel wrote: william.croc...@analog.comwilliam.croc...@analog.com wrote: Something like this is probably better (crudely adapted from something like this for test executables from here[1]): macro (purify exename) add_custom_target(purify-${exename})

Re: [cmake-developers] User vs CMake include mismatch handling

2010-10-13 Thread Bill Hoffman
So, I think we have to use the new name approach. Do we want to call it 2? Or should we call it something else? Alex, do you have time to do this? I want to get the CMake release out very soon. Thanks. -Bill ___ cmake-developers mailing list

Re: [cmake-developers] User vs CMake include mismatch handling

2010-10-12 Thread Bill Hoffman
Remaining are as far as I see: -set new policy CMP0017 to NEW by default Projects with an exotic setup may break, but that's probably better than breaking all KDE 4.5.0/1 builds. One could also argue that these projects relied on internal implementation details of cmake. As a pro, I think this

Re: [CMake] custom commands not run in parallel with Visual Studio (2010) generator

2010-10-12 Thread Bill Hoffman
On 10/12/2010 9:09 AM, Thomas Sondergaard wrote: Hi, I've noticed that Visual Studio doesn't run custom commands added with add_custom_command in parallel. This means running moc and uic is slow on Windows. Is there something that can be done about this? No, I don't think so, VS does not

Re: [CMake] How to rename the resulting Makefile.

2010-10-12 Thread Bill Hoffman
On 10/12/2010 10:17 AM, william.croc...@analog.com wrote: Hello: I'm a newbie cmake user and would like to rename the makefile produced by running cmake. I have searched the doc, mailinglist-archive and web, but to no avail. This is useful because: 1 - It provides a convenient way to slowly

Re: [CMake] How to rename the resulting Makefile.

2010-10-12 Thread Bill Hoffman
On 10/12/2010 11:14 AM, william.croc...@analog.com wrote: [ elided ] So, is there a command I can place in my CMakeLists.txt files which will cause them to produce a file named xyz.make (let's say) instead of Makefile. Thanks in advance. Use out of source builds, and there should be

Re: [CMake] How to rename the resulting Makefile.

2010-10-12 Thread Bill Hoffman
On 10/12/2010 11:52 AM, william.croc...@analog.com wrote: [ elided ] So, is there a command I can place in my CMakeLists.txt files which will cause them to produce a file named xyz.make (let's say) instead of Makefile. [ elided ] I still think Qt/qmake was right in providing the ability

Re: [CMake] Visual C++ 2010 generator resource files

2010-10-11 Thread Bill Hoffman
On 10/9/2010 8:25 AM, Dimitri Kaparis wrote: Greetings, Using CMake 2.8.2. The Visual C++ 2008 generator applies preprocessor definitions to the resource files in the project (the preprocessor definitions property in the Resources section of the project contains , e.g. the macros added with

Re: [CMake] CPack with MSI support?

2010-10-08 Thread Bill Hoffman
On 10/8/2010 3:32 AM, NoRulez wrote: Hello, does CPack have msi support also, or if no, is it planned? Nothing planned, but if someone wanted to contribute something that would be welcomed. -Bill ___ Powered by www.kitware.com Visit other

Re: [CMake] How would I use parallel make on ExternalProjects?

2010-10-08 Thread Bill Hoffman
On 10/8/2010 11:57 AM, kent williams wrote: I think what I'm doing isn't clear to you. I have a CMakeLists.txt that is essentially 'sourceless' -- it defines a bunch of CMake variables, and then builds a bunch of prerequisites and applications added with ExternalProject_add. It doesn't have any

Re: [CMake] CMake rebuilding too much

2010-10-07 Thread Bill Hoffman
On 10/7/2010 8:21 AM, Thomas Sondergaard wrote: I've got a reasonably big project with 30+ shared libraries and 70+ executables all in one cmake-based project. Today I changed one line in a CMakeLists.txt in a sub-directory to link boost program_options in one particular executable, and it

Re: [CMake] How would I use parallel make on ExternalProjects?

2010-10-07 Thread Bill Hoffman
On 10/7/2010 11:25 AM, kent williams wrote: On Wed, Oct 6, 2010 at 5:01 PM, Clifford Yappcliffy...@gmail.com wrote: I use $(MAKE) in my BUILD_COMMAND and that seems to do OK, although I don't know if it works universally. That's an environment variable, as near as I can tell and isn't

Re: [CMake] How would I use parallel make on ExternalProjects?

2010-10-07 Thread Bill Hoffman
On 10/7/2010 11:52 AM, kent williams wrote: 1. Is that $(MAKE) or is it ${MAKE} ? One thing missing from the CMake documentation -- unless I'm mistaken there's not much explanation of CMake syntax in the documentation. No, this is make syntax not CMake syntax. 2. I think it's probably not

Re: [CMake] How would I use parallel make on ExternalProjects?

2010-10-07 Thread Bill Hoffman
On 10/7/2010 12:13 PM, kent williams wrote: On Thu, Oct 7, 2010 at 11:05 AM, Bill Hoffmanbill.hoff...@kitware.com wrote: What you want is for make to treat the external projects just like any other library or executable in a build. so, if you run this at the top of the build: make -j4 It

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-07 Thread Bill Hoffman
be a pure custom command approach. We could model it after the scons java support which is quite simple. I am thinking of adding a module for java building into the Modules directory as java does not really fit our language type that well. Anyone want to help? -Bill -- Bill Hoffman Kitware, Inc

Re: [CMake] Is there a tool pretty much like cmake for Java?

2010-10-07 Thread Bill Hoffman
On 10/7/2010 2:37 PM, Andreas Schneider wrote: On Thursday 07 October 2010 18:57:50 Bill Hoffman wrote: The java support was broken a while ago when we re-organized the build trees. I don't have much time to work on this, but I would like to get it fixed. The best approach might be a pure

Re: [CMake] CMake, JOM and multiple top-level targets

2010-09-30 Thread Bill Hoffman
On 9/30/2010 10:03 AM, Óscar Fuentes wrote: Is this a limitation of JOM or an oversight of CMake? This is a job limitation. What this means? It means my spell checker turned jom into job... :) This is a limitation of jom, I know the maintainer of jom said he wanted to work on this as a

Re: [CMake] Visual Studio 2010 generator and custom command

2010-09-29 Thread Bill Hoffman
On 9/29/2010 9:38 AM, elizabeta petreska wrote: If I use such a script for comparing time stamps of input and output files, I would need to rewrite every cmakelists.txt that uses add_custom_command, and execute the needed commands only if input file is older than output,or maybe I did not

Re: [CMake] Visual Studio 2010 generator and custom command

2010-09-29 Thread Bill Hoffman
On 9/29/2010 9:55 AM, elizabeta petreska wrote: Just checked. same issue Can you try the 2.8.3 rc1 : http://www.cmake.org/files/v2.8/cmake-2.8.3-rc1-win32-x86.exe Also try this one: http://www.cmake.org/files/dev/cmake-2.8.2.20100928-g1b0e5-win32-x86.exe -Bill

Re: [CMake] Visual Studio 2010 generator and custom command

2010-09-29 Thread Bill Hoffman
. Unfortunately the problem remains. On Wed, Sep 29, 2010 at 4:16 PM, Bill Hoffman bill.hoff...@kitware.com mailto:bill.hoff...@kitware.com wrote: On 9/29/2010 9:55 AM, elizabeta petreska wrote: Just checked. same issue Can you try the 2.8.3 rc1 : http

Re: [CMake] CMake, JOM and multiple top-level targets

2010-09-29 Thread Bill Hoffman
On 9/24/2010 1:03 PM, Óscar Fuentes wrote: JOM does a nice work compiling multiple files of the same top-level product (.exe, .dll etc) but for some reason it doesn't build multiple top-level targets in parallel. Here I have a project that generates several independent dlls, each based on one or

Re: [CMake] Visual Studio 2010 generator and custom command

2010-09-29 Thread Bill Hoffman
On 9/29/2010 11:02 AM, elizabeta petreska wrote: This is the link to bug report http://www.paraview.org/Bug/view.php?id=11274 OK, I have fixed the issue in CMake next. To get around the problem you can use MAIN_DEPENDENCY like this: ADD_CUSTOM_COMMAND( OUTPUT

[Cmake-commits] CMake branch, next, updated. v2.8.2-965-gd9dc4db

2010-09-29 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d9dc4dbe4359c4da0cda11c479faa5a1a0386401 commit d9dc4dbe4359c4da0cda11c479faa5a1a0386401 Merge: 49041df 5253206 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Wed Sep 29 14:49:23 2010 -0400 Commit: CMake Topic

Re: [cmake-developers] What to do with the RESOLVED issues ?

2010-09-28 Thread Bill Hoffman
On 9/28/2010 4:53 PM, James Bigler wrote: I feel a bug shouldn't be closed until the fix can be found in a CMake release. The bug should also make it clear which release the fix should be found in. Pushing the fix to next doesn't qualify as being closed, because I can't expect my customers

Re: [CMake] Visual Studio 2010 generator broke? Yes, but not how I thought

2010-09-28 Thread Bill Hoffman
On 9/28/2010 5:43 AM, David Cole wrote: Why do you think this is incorrect? Either $(Configuration) or $(IntDir) should be acceptable locations for obj files... This was a bug, Brad checked in the fix into next. -Bill ___ Powered by

[Cmake-commits] CMake branch, next, updated. v2.8.2-949-g6dc009c

2010-09-28 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6dc009c46581435241af70ed54ab17c658ceddf4 commit 6dc009c46581435241af70ed54ab17c658ceddf4 Merge: ca68ba9 1c2e17f Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Tue Sep 28 14:38:12 2010 -0400 Commit: CMake Topic

[Cmake-commits] CMake branch, next, updated. v2.8.2-953-g97ec9c3

2010-09-28 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=97ec9c3b2fad7be5686b40c6484528441b4cd190 commit 97ec9c3b2fad7be5686b40c6484528441b4cd190 Merge: 7075b00 19a9a1d Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Tue Sep 28 18:06:34 2010 -0400 Commit: CMake Topic

Re: [CMake] Visual Studio project error

2010-09-23 Thread Bill Hoffman
On 9/23/2010 2:20 AM, J Decker wrote: using 2.8.3-rc1 I decided to throw the project against visual studio and see what I got. clicking on the install target -- Build started: Project: INSTALL (CMakePredefinedTargets\INSTALL), Configuration: Debug Win32 -- 3 CMake Warning (dev) at

Re: [CMake] How to add additional informations to cdash?

2010-09-23 Thread Bill Hoffman
On 9/23/2010 2:27 AM, norulez wrote: Hello, is there a way to add additional informations to cdash like Qt version, database version and such things to the build time. The thing is that i want to know under which version a build fails. You can add Notes. -Bill

Re: [CMake] Visual Studio project error

2010-09-23 Thread Bill Hoffman
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Bill Hoffman

Re: [CMake] Visual Studio project error

2010-09-23 Thread Bill Hoffman
way, both cases need testing, may be the last one needs a separate bug/feature request report. The last one may not be supported. You can not give CMake windows paths for variable and expect it to work... :) -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065

[cmake-developers] install bug on windows

2010-09-20 Thread Bill Hoffman
Eric, This commit is breaking windows installs: commit 6a521f8604ee4e6a757109e731a36fdc5575f6c8 Author: Eric NOULARD eric.noul...@gmail.com Date: Mon Aug 23 17:38:33 2010 +0200 CPack Enable better handling of absolute installed files The idea of the patch is to let the install

<    5   6   7   8   9   10   11   12   13   14   >