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 Hoffman 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 work

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 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 p

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 Vis

Re: [CMake] Relink on library rebuild dilema

2010-11-28 Thread Bill Hoffman
On 11/28/2010 3:19 AM, Sebastian Schaetz wrote: Michael Hertling 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 libkernel_executable.a has ch

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 everythin

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. http://www.vtk.org/Bug/view.php?id=99

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? Looks

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 environmen

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 mig

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

2010-11-09 Thread Bill Hoffman
-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 Kitware, Inc. 28 Corporate Drive Clifton

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. 1/12/

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 Cole: 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 but I'm not usually usin

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 CER

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 "com

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\obj>cmake --build . --target install Microsoft (R) Visual Studio Version 9.0.21022.8. Copyright (C) Microsoft Corp. Alle Rechte vorb

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/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] 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 wi

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] 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 b

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, s

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

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

Re: [CMake] CTest: Weird behaviour

2010-10-19 Thread Bill Hoffman
e 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...@kitware.com http://www.kitware.c

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.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}) add_custom_command(

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 to

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 no-con

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 t

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 work

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] 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] 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 Kitwar

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

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

2010-10-07 Thread Bill Hoffman
ommand 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. 28 Cor

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 Hoffman 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 should run at most 4

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 wha

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 Yapp 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 mentioned in the current

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 caused

[CMake] Updated: CMake 2.8.2-1

2010-10-06 Thread Bill Hoffman
CMake 2.8.2-1 is now available on Cygwin mirrors. Here are the changes for CMake 2.8.2: No changes in CMake 2.8.2 since 2.8.2-rc4. Changes in CMake 2.8.2-rc4 (since 2.8.2-rc3) Bill Hoffman (1): Fix for bug #10859, ctest exit exception

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 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 "${PROJECT_BINARY_DIR}/$(Config

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
roblem remains. On Wed, Sep 29, 2010 at 4:16 PM, Bill Hoffman 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://www.cmake.org/files/v2.8/cmake-2.8.3-r

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
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 underst

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 www.kitware.com

Re: [CMake] Visual Studio project error

2010-09-23 Thread Bill Hoffman
On 9/23/2010 12:17 PM, J Decker wrote: The last one may not be supported. You can not give CMake windows paths for variable and expect it to work... :) Why put so much emphasis that a / is a path seperator? it's not like a \ is any more of a valid character for paths and files. I mean I wo

Re: [CMake] Visual Studio project error

2010-09-23 Thread Bill Hoffman
On 9/23/2010 10:45 AM, Eric Noulard wrote: 2010/9/23 Bill Hoffman: On 9/23/2010 3:13 AM, Eric Noulard wrote: 2010/9/23 J Decker: using 2.8.3-rc1 I decided to throw the project against visual studio and see what I got. clicking on the install target I am responsible for this regression

Re: [CMake] Visual Studio project error

2010-09-23 Thread Bill Hoffman
_ Powered by www.kitware.com 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/unsu

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
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 cm

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

2010-09-20 Thread Bill Hoffman
On 9/20/2010 10:58 AM, Micha Renner wrote: ...and make sure this is a regression. ??? Make sure it is a new bug, that used to work in the past. Please notice: I'm using the VS2010 Express Version. Sometimes things are here different. I downloaded cmake-2.8.3-rc1-win32-x86.exe from this so

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

2010-09-20 Thread Bill Hoffman
On 9/20/2010 12:59 AM, Micha Renner wrote: Here is a small one. INSTALL(FILES ${CMAKE_BINARY_DIR}/CTest.conf DESTINATION /usr/local) always results in this warning: 1> -- Install configuration: "Debug" 1> CMake Warning (dev) at cmake_install.cmake:31 (list): 1> Syntax error in cmake c

Re: [CMake] How to embed the manifest file into DLLs and executables built with NMake?

2010-09-16 Thread Bill Hoffman
On 9/16/2010 8:39 AM, Pedro d'Aquino wrote: Hello, When building my project from Visual Studio 2010, the generated executables and DLL have their manifest automatically embedded into them. This does not seem to happen when using nmake (or JOM) - which is expected behavior, as per http://msdn.mic

Re: [CMake] Questions about the cmake 2.8.3-rc1 release

2010-09-15 Thread Bill Hoffman
On 9/15/2010 4:20 PM, Bill Hoffman wrote: On 9/15/2010 4:08 PM, norulez wrote: Hello, are there any hopes that the bug 4068 is fixed in the final release? If not, then in which version? Not at this point. The bug report lacks a test cases. If you were to add a test case, and join the cmake

Re: [CMake] Questions about the cmake 2.8.3-rc1 release

2010-09-15 Thread Bill Hoffman
On 9/15/2010 4:08 PM, norulez wrote: Hello, are there any hopes that the bug 4068 is fixed in the final release? If not, then in which version? Not at this point. The bug report lacks a test cases. If you were to add a test case, and join the cmake-developer mailing list. Then you can m

Re: [CMake] How to test classes requiring a server ?

2010-09-14 Thread Bill Hoffman
On 9/14/2010 6:23 AM, Jean-Christophe Fillion-Robin wrote: Hi Folks, Would be great if some people having experience in testing classes required a server could share their knowhow :) Within our project, we have a set of classes that required an instance of a server running to be properly unit t

Re: [CMake] makefile to CMakeLists.txt, possible?

2010-09-02 Thread Bill Hoffman
On 9/2/2010 10:44 AM, Diablo 666 wrote: Hi, > For example, when you add a C++ source file, > you'll need to run cmake and then make. make will automatically re-run cmake, if the cmake files have changed. I guess, there will be some IDEs automatically generating cmake files in the future. Th

Re: [CMake] Categorizing test results displayed via CDash

2010-09-01 Thread Bill Hoffman
On 9/1/2010 4:26 PM, Neelima Mehdiratta wrote: Hi Chris, I took a look at the articles and I agree that it doesn’t look clean and straightforward. But I’ll give it a shot. Thanks! Neelima *From:* c...@lambda.nu [mailto:

Re: [CMake] VS2010 + Intel Fortran (CompilerPro) 12

2010-08-26 Thread Bill Hoffman
On Thu, Aug 26, 2010 at 5:18 AM, Biddiscombe, John A. wrote: > I tried and failed to generate working project files for the Fortran 12 > compiler with Visual Studio 2010. (NMake works ok) > > > > Has anyone else tried with success ? > > > > If not ... is there any possibility of CMake Developers t

Re: [CMake] Running a command after generation of Makefile

2010-08-26 Thread Bill Hoffman
On 8/26/2010 4:00 AM, Johny wrote: SET(CMAKE_INCLUDE_SYSTEM_FLAG_C) SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX) Can you try: SET(CMAKE_INCLUDE_SYSTEM_FLAG_C "-isystem") SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem") -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Cl

Re: [CMake] Running a command after generation of Makefile

2010-08-25 Thread Bill Hoffman
On Wed, Aug 25, 2010 at 3:01 PM, Michael Wild wrote: > > On 25. Aug, 2010, at 18:57 , Johny wrote: > >> Hey, >> >> I was trying to use the SYSTEM option in the include_directories command , >> however it does not seem to work on the MACOSX platform. So i wrote a little >> fix which basically rep

Re: [CMake] ctest: Empty reply from server

2010-08-17 Thread Bill Hoffman
On 8/17/2010 12:26 PM, Lorenzo Natale wrote: On 17-Aug-10 4:40 PM, Bill Hoffman wrote: We have been working quite a bit on making ctest/CDash more robust. If you use git master ctest and svn CDash it should give more information, and even retry if it fails. Indeed, ctest built from git

Re: [CMake] ctest: Empty reply from server

2010-08-17 Thread Bill Hoffman
On 8/17/2010 10:03 AM, Tyler Roscoe wrote: On Tue, Aug 17, 2010 at 03:35:02PM +0200, Lorenzo Natale wrote: Submit files (using http) Using HTTP submit method Drop site:[..] Error when uploading file: [...]/20100816-2200/Build.xml Error message was: Empty reply from server I agree t

Re: [CMake] Using VTK with CMake: link errors

2010-08-11 Thread Bill Hoffman
build them the same... -- 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 ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] ifort 9.1 unable to compile a simple test program

2010-08-09 Thread Bill Hoffman
On 8/9/2010 12:31 PM, Verweij, Arjen wrote: Brad, I have access to the machine again. I've tried another approach. What do you make of this? I'm sure you know what cmake -E vs_link_exe is supposed to do. :) The first works, the second does, even with /INCREMENTAL:YES Regards, Arjen ACCORDING

Re: [CMake] 64 bit windows: rsp file not employed in build.make

2010-08-09 Thread Bill Hoffman
On 8/9/2010 11:49 AM, Verweij, Arjen wrote: Hi, I'm investigating a problem where on 64-bit Windows the generated build.make (NMake or NMake JOM) does not make use of response files. I have tried transplanting the settings file for the 32 bit platform and minimizing differences, but still I c

Re: [CMake] Coverage reporting to CDash with Bullseye 7.14.9

2010-08-07 Thread Bill Hoffman
On 8/6/2010 5:48 PM, Derek Minton wrote: Bill, I have been in contact with tech support at Bullseye. They have been able to reproduce this problem with covbr. They found that the issue started with version 7.14.6 . They said they will let me know when they have a fix. I was able to reprodu

Re: [CMake] Coverage reporting to CDash with Bullseye 7.14.9

2010-08-06 Thread Bill Hoffman
On 8/6/2010 3:45 PM, Derek Minton wrote: Bill, I get the same error with covbr on Bullseye 7.14.9. It gives an error that it cannot open the source file(s). I can report this discrepancy between 7.14.0 and 7.14.9 to Bullseye and see what they have to say. Yes, please do. It looks like c

Re: [CMake] Coverage reporting to CDash with Bullseye 7.14.9

2010-08-06 Thread Bill Hoffman
On 8/6/2010 2:38 PM, Derek Minton wrote: Bill, Sorry about the confusion. Disregard my last post concerning this issue. I thought I had 7.14.9 installed but I was still running 7.14.0. I will install 7.14.9 and let you know if covbr works. 7.14.10 is the one that seems to fail for me.

Re: [CMake] Coverage reporting to CDash with Bullseye 7.14.9

2010-08-06 Thread Bill Hoffman
On 8/6/2010 9:49 AM, Bill Hoffman wrote: Thanks for the report I will have to take a look They must have changed something... If you want to help, the code is pretty simple, it is all in this function: Source/CTest/cmCTestCoverageHandler.cxx: int cmCTestCoverageHandler

Re: [CMake] Small, complete CPack example?

2010-08-06 Thread Bill Hoffman
There is one in the Tutorial: http://www.cmake.org/cmake/help/cmake_tutorial.html -Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and ch

Re: [CMake] Coverage reporting to CDash with Bullseye 7.14.9

2010-08-06 Thread Bill Hoffman
On 8/5/2010 5:07 PM, Derek Minton wrote: I have a CMake 2.8.2 based project that is using Bullseye Coverage and Visual Studio 10 along with CTest on Windows 7 64bit. This project is reporting building/testing/coverage results to a local CDash server. If I use Bullseye 7.14.0 the coverage res

Re: [CMake] Parallel build with ctest 2.8.2

2010-07-21 Thread Bill Hoffman
ded fix to the code. I am not surprised that this bug fix introduced a new issue like this. It was a tricky one to try to figure out a completely backwards compatible solution for. Thanks, David On Wed, Jul 21, 2010 at 3:28 AM, Emmanuel Christophe wrote: On Tue, Jul 20, 2010 at 21:23, Bill H

Re: [CMake] How to skip checking compiler detection??

2010-07-21 Thread Bill Hoffman
On 7/21/2010 6:23 AM, sheissj wrote: Hello. I want to generate a simple Makefile from cmake. This Makefile looks like this: all: @echo "No build" tags: ctags -R *.cpp cscope -b -q -k *.cpp This simple Makefile do not have target to build source code. It is only for building ct

Re: [CMake] Parallel build with ctest 2.8.2

2010-07-20 Thread Bill Hoffman
On 7/19/2010 11:10 PM, Emmanuel Christophe wrote: Hi all, I used to do parallel build for my nightly with ctest by putting MAKECOMMAND:STRING=/usr/bin/make -i -j8 in my .cmake script. http://www.cdash.org/CDash/buildSummary.php?buildid=669361 Build command: /usr/bin/make -i Start Time: 2010

Re: [CMake] cpack - WiX generator

2010-07-17 Thread Bill Hoffman
On 7/16/2010 12:20 PM, Jan Wurster wrote: Dear list, a couple of months ago someone suggested and implemented a patch for cmake to add a WiX generator to cpack. http://www.mail-archive.com/cmake@cmake.org/msg26882.html The patch is still available http://annealingtechnologies.blogspot.

Re: [CMake] Auxiliary fortran link libraries?

2010-07-15 Thread Bill Hoffman
On 7/15/2010 5:40 PM, John Cary wrote: Is there some way in cmake to get the auxiliary fortran link libraries? The ones that one needs to link in if one is building a C/C++ executable that uses a library that was created with fortran? Like libgfortran for gcc? Thanks...John Cary See Modules/

Re: [CMake] different test cases

2010-07-15 Thread Bill Hoffman
On 7/15/2010 6:05 PM, Tyler Roscoe wrote: On Thu, Jul 15, 2010 at 03:39:20PM -0500, "Jörg F. Unger" wrote: I'm using cmake to add a test environment to our project (with ctest). Is there a possibility to generate to groups of test with different tags in the makefile, so that after the generati

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-15 Thread Bill Hoffman
On 7/15/2010 12:07 PM, Verweij, Arjen wrote: Hi Bill, I don't think we ended up with those flags after installing the intel compiler for the dashboard we run at Kitware. Are you sure that came from the installer? Not really. I wasn't around when that system was set up. I tried from cmd.exe,

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-15 Thread Bill Hoffman
On 7/15/2010 4:19 AM, Verweij, Arjen wrote: Spot on Bill: C:\Users\madymo\build\CMakeFiles\CMakeTmp>cat CMakeLists.txt cmake_minimum_required(VERSION 2.8) PROJECT(CMAKE_TRY_COMPILE Fortran) SET(CMAKE_VERBOSE_MAKEFILE 1) SET(CMAKE_Fortran_FLAGS " /w /I:"C:\Program Files\VNI\CTT5.0\include\IA32" /

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Bill Hoffman
On 7/14/2010 12:46 PM, John Drescher wrote: Be careful with your use of $ENV{PROGRAMFILES} - it might not give you what you expect on a 64-bit computer. Since the CMake binary is by default 32-bit, you need some logic to make sure you're looking where you think you're looking. I had that cover

Re: [CMake] cmake 2.8.2 win32: invalid escape sequence when finding fortran compiler

2010-07-14 Thread Bill Hoffman
On 7/14/2010 11:23 AM, John Drescher wrote: On Wed, Jul 14, 2010 at 11:15 AM, Verweij, Arjen wrote: Hi, You seem to have a path using \ instead of / Isn't that to be expected of a PATH setting on a Windows computer? Anyway, the path to the Visual Studio compiler is of the same format and

Re: [CMake] CMake bugs #0010611 & #0010040

2010-07-14 Thread Bill Hoffman
On 7/14/2010 11:00 AM, Knox, Kent wrote: Does "." in the name work for any other version of VS? [KK] I've tested with both vs9& vs10, and it works in vs9. In vs10, even though the binary name is truncated at the first period, the .pdb and static .lib files are not truncated and contain mult

Re: [CMake] CMake bugs #0010611 & #0010040

2010-07-13 Thread Bill Hoffman
On 7/13/2010 2:39 PM, Knox, Kent wrote: I’m hoping to bring attention to these two bug reports, as I am currently affected by them. This bug concerns vs2k10 generated solution and projects, and corrupts the names of my generated binaries that use multiple periods in their names. To get around th

Re: [CMake] CMAKE__FLAGS added to link rule

2010-07-12 Thread Bill Hoffman
On 7/12/2010 1:20 PM, Brad King wrote: On 07/12/2010 01:12 PM, Verweij, Arjen wrote: As a follow-up: redefining CMAKE_Fortran_LINK_EXECUTABLE to not include gets rid of the CMAKE_Fortran_FLAGS.. but perhaps other (useful) stuff as well? As a sidetrack I’m starting to wonder what the purpose of

Re: [CMake] Minor error in CMake Tutorial?

2010-07-08 Thread Bill Hoffman
On 7/8/2010 3:05 PM, Stefan Buschmann wrote: Hi all! I just noted a possible error in the CMake tutorial at http://www.cmake.org/cmake/help/cmake_tutorial.html : The tutorial states: cmake_minimum_required (2.6) while according to my version of cmake (2.6-patch 4) and the current documentatio

Re: [CMake] No +DD64 compiler option for HP-UX on IA64

2010-06-28 Thread Bill Hoffman
Sounds like the install of gcc is broken on this machine. Basically you are saying that gcc foo.c will fail on this machine. CMake assumes a working compiler. On Sun, Jun 27, 2010 at 9:37 PM, Won Kim wrote: > Hello, > > I've been trying to set up CMake on different build machines. > > Everythi

Re: [CMake] Custom memory checking result processing

2010-06-25 Thread Bill Hoffman
is flag. I think Bill Hoffman developed the patch for that behavior and tried to submit it up to valgrind upstream, but there was much discussion and no action, if I recall correctly. The patch has been accepted and is in valgrind. It is a slight different format but does the same thing.

Re: [CMake] Custom memory checking result processing

2010-06-25 Thread Bill Hoffman
On 6/25/2010 7:47 AM, David Cole wrote: I can't really think of a better way to tackle the problem... But I will make this one observation: If these underlying frameworks you depend on produce *thousands* of valgrind errors, do you really want to be depending on them? (Serious question, not try

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-24 Thread Bill Hoffman
On 6/24/2010 12:25 PM, Bill Hoffman wrote: On 6/24/2010 12:15 PM, j s wrote: I bootstrapped a version of cmake, and used it to build itself. This didn't work until I removed /opt/local/bin (Macports) from my path. I then built cmake with the Macports version of cmake, and it also worked

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-24 Thread Bill Hoffman
On 6/24/2010 12:15 PM, j s wrote: I bootstrapped a version of cmake, and used it to build itself. This didn't work until I removed /opt/local/bin (Macports) from my path. I then built cmake with the Macports version of cmake, and it also worked after removing /opt/local/bin. So how is Fundamen

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-24 Thread Bill Hoffman
On 6/24/2010 12:25 PM, Bill Hoffman wrote: On 6/24/2010 12:15 PM, j s wrote: I bootstrapped a version of cmake, and used it to build itself. This didn't work until I removed /opt/local/bin (Macports) from my path. I then built cmake with the Macports version of cmake, and it also worked

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-24 Thread Bill Hoffman
Turns out the problem was Macports. Removing /opt/local/bin from my path allows the software to build. What external commands are used in generating FundamentalType.h, because I bet it might be one of those stupid gnu/darwin conflicts? Should I file a bug that cmake can't build itself with M

Re: [CMake] Can't build cmake 2.8.1 out of source

2010-06-23 Thread Bill Hoffman
On 6/23/2010 6:12 PM, Michael Jackson wrote: From a clean build, it does not work: 1 wget http://www.cmake.org/files/v2.8/cmake-2.8.1.tar.gz 2 tar xzvf cmake-2.8.1.tar.gz 3 mkdir cmake 4 cd cmake 5 cmake ../cmake-2.8.1

Re: [CMake] Open bugs in 2.8.2-rc3

2010-06-23 Thread Bill Hoffman
On 6/23/2010 2:14 PM, Rolf Eike Beer wrote: Hi, I checked 2.8.2-rc2 last week and had a quick look on the changes mentioned for rc3. So here is a collection of "my" open bugs: -0010476 No program output if CTest aborts test with timeout This is really hard to fix, a patch would be welcome.

Re: [CMake] USER_MAKE_RULES_OVERRIDE not used in initial try_compile

2010-06-22 Thread Bill Hoffman
On 6/22/2010 12:34 PM, David Genest wrote: Re-posting for attention :-) thanks D. -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of David Genest Sent: 11 juin 2010 12:35 To: cmake@cmake.org Subject: [CMake] USER_MAKE_RULES_OVERRIDE not used

Re: [CMake] One last try

2010-06-21 Thread Bill Hoffman
On 6/21/2010 9:59 AM, Gerry Weaver wrote: Hello All, Thank you for your replies. The cmake command fails when trying to compile the test file. It says it cannot find kernel32.lib. I can compile and link without cmake just fine. Any ideas? Did you run this exact command line: cl foo.cxx ke

Re: [CMake] One last try

2010-06-21 Thread Bill Hoffman
On 6/21/2010 3:02 AM, Gerry Weaver wrote: Hello All, ... 1. Is cmake supposed to support Visual Studio 2008 out of the box? 2. If not, is there support for Visual Studio 2010? 3. If not, is there a patch or fix for either of the above? cmake 2.8.1 msvc 2008 winxp sp4 Nmake Makefiles 1. Yes

<    2   3   4   5   6   7   8   9   10   11   >