Re: [CMake] CMake 2.8.2 RC 1 ready for testing!

2010-06-18 Thread Bill Hoffman
On 6/18/2010 7:51 AM, Bo Thorsen wrote: Den 14-06-2010 17:24, David Cole skrev: I am happy to announce that CMake 2.8.2 has entered the release candidate stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/. Following is the list of changes in this release. (If you

Re: [CMake] Choice of compilers

2010-06-17 Thread Bill Hoffman
On 6/17/2010 11:07 AM, Alok Govil wrote: Hi Alan, > > Just like CMake is able to distinguish different versions of Visual Studio, > > would it distinguish MinGW-32 with MinGW-64 also (which means either both > > would be in path simultaneously, or neither would be, and cmake picks the > > ri

Re: [CMake] CMake 2.8.2 RC 1 ready for testing!

2010-06-14 Thread Bill Hoffman
On 6/14/2010 6:59 PM, J Decker wrote: Bad things happening... I have existing builds that I have run... I have been buliding with Mingw. If I do 'cmake-gui .' in the target build directory, then the generator pops up and says it is generating MingW Makefiles. But if I then type 'make' it says

Re: [CMake] CMake 2.8.2 RC 1 ready for testing!

2010-06-14 Thread Bill Hoffman
On 6/14/2010 1:39 PM, Alan W. Irwin wrote: On 2010-06-14 12:58-0400 Bill Hoffman wrote: The patch mentioned there is necessary for the Wine platform and presumably has been substantially tested in the two months since you made that change. That change is in the release, just not mentioned

Re: [CMake] CMake 2.8.2 RC 1 ready for testing!

2010-06-14 Thread Bill Hoffman
On 6/14/2010 12:38 PM, Alan W. Irwin wrote: On 2010-06-14 11:24-0400 David Cole wrote: I am happy to announce that CMake 2.8.2 has entered the release candidate stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/. Following is the list of changes in this release.

Re: [CMake] Show the test command line

2010-06-14 Thread Bill Hoffman
On 6/14/2010 10:59 AM, Ryan Pavlik wrote: make test VERBOSE=1 or even better, ctest -VV Ryan make test ARGS="-V" -Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] vcproj2cmake.rb script: announcing new version / hosting questions

2010-06-14 Thread Bill Hoffman
On 6/14/2010 8:31 AM, Mike Jackson wrote: Put the scripts in the cmake wiki and put it into the public domain. Easiest for all. To be compatible with CMake, I would say a BSD license would be the best. gitorious might be a good starting place. We tried the converter here, and it created so

Re: [CMake] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

2010-06-10 Thread Bill Hoffman
On 6/10/2010 6:27 PM, Alan W. Irwin wrote: On 2010-06-10 16:20-0400 David Cole wrote: softw...@raven> find -print0 -type f |xargs -0 grep -l shortPath ./Source/kwsys/SystemTools.cxx Wrong search. Sorry about that noise! If instead you search for GetShortPath there are lots of places in the C

Re: [CMake] cmake-2.8.1 cygwin on win7 64

2010-06-08 Thread Bill Hoffman
On 6/8/2010 11:03 AM, Dr DB Karron wrote: I have a full cigwin installed on Windows 7 64 bit; java and curses all default installed. ./bootstrap is failing. ./configure is failing Here is the log. Works for me... :) What is in this file: Bootstrap.cmk/cmake_bootstrap.log Not finding java s

Re: [CMake] setting xcode's compiler with cmake

2010-06-06 Thread Bill Hoffman
e.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 (Direct) 518 371-3971 x10

Re: [CMake] cmake 2.8.1 compile problems on Solaris?

2010-06-03 Thread Bill Hoffman
On 6/3/2010 11:44 AM, Attila Nagy wrote: Hi, it would be easy with a conditional define, something like // If we're on Solaris... # if defined(sun) || defined(__sun) // ...and we use Studio C compiler # if defined __SUNPRO_C # define BSD_COMP # endif // Solaris # endif // Studio C compiler (or

Re: [CMake] Use of CMAKE_SUPPRESS_REGENERATION with "Unix Makefiles" generator

2010-06-01 Thread Bill Hoffman
On 6/1/2010 2:36 PM, Michele Caramello wrote: I am trying to use CMake also to generate project files that can be use plainly be used by people not having CMake installed on their machines. To achieve that, I though the best path would be to remove the auto-regeneration hooks that allow the regen

Re: [CMake] Generator for NetBeans 6.9

2010-06-01 Thread Bill Hoffman
On 5/31/2010 4:19 AM, Sebastian Meier wrote: Hi Bill, Can NetBeans be driven from the command line? That is a requirement for getting try_compile to work. No, I don't think it is possible call NetBeans via command line in order to build targets. But since NetBeans relies on external tool ch

Re: [CMake] CMake compiler check failure

2010-05-29 Thread Bill Hoffman
On 5/28/2010 7:07 PM, Zhenyao Mo wrote: I got the following errors when CMake tests my compilers. The problem is that it seems CMake is checking /usr/bin/gcc, instead of the /usr/bin/armv7a-cros-linux-gnueabi-gcc it should have checked. I manually tried /usr/bin/armv7a-cros-linux-gnueabi-gcc, a

Re: [CMake] Generator for NetBeans 6.9

2010-05-28 Thread Bill Hoffman
On 5/28/2010 3:48 AM, Sebastian Meier wrote: Hi Alex, Hmm, if you plan to implement a makefile-based generator, why are all those settings needed in the project file ? I am not planning to implement a makefile-based generator. I just chose cmExtraEclipseCDT4Generator as a starting point becau

Re: [CMake] Post-Generate commands

2010-05-26 Thread Bill Hoffman
On 5/26/2010 1:41 PM, LaViolette, Alan wrote: What I really want to do is generate Intel Compiler project files for the just generated visual studio project files. I am trying to do this without any cmake C++ changes at the moment. I can generate the icproj during the cmake run but have no way to

Re: [CMake] TRY_COMPILE without linking...

2010-05-25 Thread Bill Hoffman
On 5/25/2010 8:57 PM, Michael Hertling wrote: On 05/25/2010 06:13 PM, Theodore Papadopoulo wrote: In porting a library (blitz) from autoconf to cmake, I have the sub-project of testing C++ compiler features. The autoconf way was to create some C++ files and test that they are compiling (and just

Re: [CMake] diagnosing "could not COPY_FILE" during configure

2010-05-25 Thread Bill Hoffman
On 5/25/2010 2:50 PM, Simmons, Aaron wrote: Actually, I did start with a clean tree (rm -rf *). If youstart with a clean tree again but without --debug-trycompile it works? If I start with a clean tree without --debug-trycompile it fails (could not COPY_FILE). If I start with a clean tree wit

Re: [CMake] diagnosing "could not COPY_FILE" during configure

2010-05-25 Thread Bill Hoffman
On 5/25/2010 2:17 PM, Simmons, Aaron wrote: Run cmake with --debug-trycompile. Oddly, with "--debug-trycompile" the problem goes away (!) and CMakeErrors.log doesn't have any mention of try compile failing. Start with a clean build tree, the problem did not go away. It would have worked w

Re: [CMake] diagnosing "could not COPY_FILE" during configure

2010-05-25 Thread Bill Hoffman
On 5/25/2010 1:23 PM, Simmons, Aaron wrote: I'm trying to use CMake with an admittedly odd toolchain (Adobe's Alchemy project) and it's failing at configure time while detecting the C/C++ ABI info with the error "CMake Error: Could not COPY_FILE" I'm sure this is a bug in the toolchain and not

Re: [CMake] Error in generated nmake files on Windows

2010-05-24 Thread Bill Hoffman
On 5/24/2010 10:36 AM, Bo Thorsen wrote: NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : return code '0x2' Stop. Is i

Re: [CMake] Error in generated nmake files on Windows

2010-05-24 Thread Bill Hoffman
On 5/24/2010 9:42 AM, Michael Wild wrote: On 24. May, 2010, at 15:24 , Bo Thorsen wrote: Hi all, I have as simple a CMakeLists.txt as possible: ADD_EXECUTABLE(comp_err comp_err.c) I did these two commands: $ set CMAKE_BUILD_TYPE=RelWithDebInfo $ cmake -G "NMake Makefiles" I got this: Bui

Re: [CMake] CMAKE -- compiling questions

2010-05-20 Thread Bill Hoffman
On 5/20/2010 8:48 AM, Michael Hertling wrote: On 05/20/2010 10:58 AM, Lucian Goron wrote: I now have lucid lynx and I am struggling to get my old code to work on this system anyway, when I compile some of it I get: luc...@schwarz:~/work/ransac$ make Linking CXX executable elevationMap CMakeFile

Re: [CMake] Chaining Dependencies

2010-05-19 Thread Bill Hoffman
On 5/19/2010 2:31 PM, aaron.mead...@thomsonreuters.com wrote: *Hi all. I hope this isn’t a terribly obvious question that I just can’t find in the documentation..* * * *If I have an executable ‘A’ that depends on a static library ‘B’, and static library ‘B’ depends on static library ‘C’, can I

Re: [CMake] ctest, make test and build config

2010-05-18 Thread Bill Hoffman
On 5/18/2010 7:55 PM, ross hennessy wrote: I'm then calling ADD_TEST as follows - ADD_TEST(${TESTNAME} "${CMAKE_COMMAND}" -D WORKING_DIR=\${CMAKE_CFG_INTDIR} -P ${CMAKE_CURRENT_BINARY_DIR}/${TESTNAME}.cmake) I forgot to mention that with CMAKE_CFG_INTDIR I also tried removing the \ which was e

Re: [CMake] CMAKE_LIBRARY_PATH appears not to work properly for finding libtcl

2010-05-15 Thread Bill Hoffman
On 5/15/2010 2:04 PM, Alan W. Irwin wrote: Now that we are in agreement there is an issue with NAMES order determining the FIND_XXX result rather than whichever NAMES alternative is highest in the SUPER_PATH, I have written up this issue as bug http://public.kitware.com/Bug/view.php?id=10718. I

Re: [CMake] CMAKE_LIBRARY_PATH appears not to work properly for finding libtcl

2010-05-15 Thread Bill Hoffman
OK, your right, it does prefer names that show up first in the name list even if they are later in the total path. Here is what the code does: The ivar this->SearchPaths is the super path in the this function: std::string cmFindProgramCommand::FindProgram(std::vector names) { std::string p

Re: [CMake] CMAKE_LIBRARY_PATH appears not to work properly for finding libtcl

2010-05-14 Thread Bill Hoffman
On 5/13/2010 2:48 PM, Alan W. Irwin wrote: This was by design. The idea was that you find the first copy of something that is in the PATH. The names were not expected to be in any particular order. They were supposed to be equivalent. If it found one good. And, just like PATH it should find the

Re: [CMake] CMAKE_LIBRARY_PATH appears not to work properly for finding libtcl

2010-05-13 Thread Bill Hoffman
On 5/13/2010 2:09 PM, Alan W. Irwin wrote: I now have a simple CMakeLists.txt file which demonstrates this is a general find issue whenever alternate NAMES are specified. cmake_minimum_required(VERSION 2.8) project(test NONE) FIND_LIBRARY(TCL_LIBRARY NAMES tcl tcl86 tcl8.6 tcl85 tcl8.5 tcl84 tc

Re: [CMake] Current CVS CMake can't build Qt/Cocoa OS X bundle that doesn't crash

2010-05-11 Thread Bill Hoffman
On 5/11/2010 4:47 PM, kent williams wrote: I tried copying it to the suggested place, but it still didn't work. My solution, since I'm not a CMake developer, was to go back to using xterm -e ccmake instead of the Qt dialog. What about the nightly binaries created at Kitware: http://www.cmake.

Re: [CMake] Visual Studio 2010 Express

2010-05-10 Thread Bill Hoffman
On 5/10/2010 12:10 PM, Micha Renner wrote: Running this CMake script... For VS 2010 express you should need a fix in git master, and can be fixed for any 2.8.1 install. The fix is to copy the Modules/CMakeVS10FindMake.cmake from git master of CMake into a 2.8.1 release tree. Have you done

Re: [CMake] VS6 generator: resource compilation MinSizeRel Bug

2010-05-10 Thread Bill Hoffman
to CMake 2.8.1, resource compilation works for me with all profiles. Bye, Michael Can you create a bug entry for this and attache the patch? -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.co

Re: [CMake] Cannot find UpdateCommand or GITCommand configuration key.

2010-05-08 Thread Bill Hoffman
On 5/8/2010 12:40 PM, Bill Lorensen wrote: OK, I believe that CMake version 2.8.0 does not support git properly. I just pulled the nightly cmake and it configured my project correctly (I think). At least on linux. I'm not sure about the latest 2.8.x version. Try 2.8.1 from here: http://www.cm

Re: [CMake] Cannot find UpdateCommand or GITCommand configuration key.

2010-05-08 Thread Bill Hoffman
On 5/7/2010 5:25 PM, Bill Lorensen wrote: I'm willing to try anything. Let's start from scratch. What are the proper cmake setting I should use? The goal: Have a CMakeLists.txt file that will allow users to type make Experimental or make Nightly and do the right thing. Just like things worked

Re: [CMake] Effort to create a new generator (tup)

2010-05-07 Thread Bill Hoffman
On 5/7/2010 10:32 AM, Mike Shal wrote: That would be a serious problem. As folks would expect to be able to edit a CMakeLists.txt file (the input to cmake), run tup, and have the right stuff happen. Is the normal mode of operation to run 'cmake' followed by 'make'? Do you not need to run

Re: [CMake] No Native 64-Bit CMake Binaries?

2010-05-06 Thread Bill Hoffman
On 5/6/2010 1:39 PM, Eskandar Ensafi wrote: Hi all, To clarify, my concern was not that a 32-bit CMake would not be able to build a 64-bit application, nor was I worried about the performance. Rather, considering that it is possible to build a 64-bit CMake, why is it that the CMake website does

Re: [CMake] Effort to create a new generator (tup)

2010-05-06 Thread Bill Hoffman
On 5/6/2010 12:59 PM, Jed Brown wrote: Rebuilding with modified Tupfiles is not a problem, and will only build what is necessary. But: Tup doesn't support generating the Tupfiles themselves from other programs. If you do that, you would need to run a separate program to generate them

Re: [CMake] No Native 64-Bit CMake Binaries?

2010-05-06 Thread Bill Hoffman
On 5/6/2010 9:36 AM, Richard Wackerbarth wrote: Yes, it works for now. However, the 64-bit version for MacOSX 10.6 is currently "broken" (at least to the extent that some of the tests don't "work out of the box" without specific configuration). I think that it is important that the community have

Re: [CMake] No Native 64-Bit CMake Binaries?

2010-05-06 Thread Bill Hoffman
On 5/6/2010 9:13 AM, Richard Wackerbarth wrote: Bill, As for the need of 64-bit binaries, I agree that it is not a performance issue. However, it will be a compatibility issue. Things evolve. Remember MacOSX 10.0, 10.1? Back then, you could have argued that we didn't need a new version of CMa

Re: [CMake] Effort to create a new generator (tup)

2010-05-06 Thread Bill Hoffman
OK, so aside from the fortran depend stuff being moved to generate time. I think the remaining questions are these: How would a large tup system be organized? Would there be a tup file for each target? Would there be one huge tup file for the whole project? -Bill __

Re: [CMake] installation problem

2010-05-06 Thread Bill Hoffman
On 5/5/2010 11:42 PM, Zhuang Song wrote: I tried to run linux binary but always get the following message: Error running cmake::LoadCache(). Aborting. Exactly how are you installing the binary? I simply downloaded the binary files and ran ccmake. Did I miss anything else before running ccma

Re: [CMake] Effort to create a new generator (tup)

2010-05-06 Thread Bill Hoffman
On 5/5/2010 9:33 PM, Mike Shal wrote: Not sure yet, perhaps none of it. It would have to build custom commands and targets. Basically, support for code generators like swig/moc/lex/yacc. I guess the auto-depend stuff in tup would work for C/C++, but the Fortran 90 stuff in CMake would not

Re: [CMake] No Native 64-Bit CMake Binaries?

2010-05-06 Thread Bill Hoffman
On 5/6/2010 4:25 AM, Eric Noulard wrote: What strikes me as being very strange is that CMake binaries are only provided as 32-bit executables for Windows and Linux, two of the most popular platforms where CMake is ever-increasingly used on 64-bit hardware. Is there any good reason why 64-bit b

Re: [CMake] Effort to create a new generator (tup)

2010-05-05 Thread Bill Hoffman
On 5/5/2010 3:39 PM, Mike Shal wrote: On Tue, May 4, 2010 at 5:47 PM, Bill Hoffman wrote: On 4/22/2010 3:47 PM, Gustavo Sverzut Barbieri wrote: As we never attempted to do any sort of CMake generator, not even looking the existing, I'd like to know the expected effort to write one fo

Re: [CMake] Where to change default link line on Cmake

2010-05-05 Thread Bill Hoffman
On 5/5/2010 9:19 AM, Rene Salmon wrote: Excellent point. I thought about that right after I hit send to my email. The whole reason we are looking at Cmake is so that we give our users more flexibility for building our software and not the other way around. I will remove those lines from the Cm

Re: [CMake] Where to change default link line on Cmake

2010-05-05 Thread Bill Hoffman
On 5/4/2010 6:26 PM, Rene Salmon wrote: Set environment variables to choose your compiler: $ rm -rf build $ mkdir build $ cd build $ export CC=xlc CXX=xlC FC=xlf $ cmake .. OK. That works. Thanks. But I guess that brings up another question. I have this in my CMakeLists.txt fil

Re: [CMake] Effort to create a new generator (tup)

2010-05-04 Thread Bill Hoffman
On 4/22/2010 3:47 PM, Gustavo Sverzut Barbieri wrote: Hi all, My team is just starting with CMake to have our WebKit port (EFL), so far we like it as it is much cleaner than our previous experiences (most of our projects use autotools). Since webkit is a monster project (1668 objects generated)

Re: [CMake] Problem running ccmake on Mac OSX

2010-05-04 Thread Bill Hoffman
On 4/29/2010 3:41 PM, Eric Nodwell wrote: In the meantime, you can use other alternatives to the arrow keys: CTRL-n : next entry CTRL-p : previous entry CTRL-d : page down CTRL-u : page up / : search (works like search in 'less') These continue to work fine. Seems that you can copy an old c

Re: [CMake] installation problem

2010-05-04 Thread Bill Hoffman
On 5/2/2010 11:35 PM, Zhuang Song wrote: Hi Bill, So, you don't have the curses developer package installed. You need to have the curses header files installed. Have you tried just using the linux binary from www.cmake.org? Where can I get the curses developer package compatible with CMake

Re: [CMake] Trying to build a winpcap programme

2010-05-03 Thread Bill Hoffman
On 5/3/2010 2:30 PM, Mr Shore wrote: Hi all, I'm using winpcap for my project. The detailed steps to use it are here , but I don't know whether cmake supports these two operations: * If your program uses Win32 specific func

Re: [CMake] Configure Mac OS X for 32-bit

2010-05-03 Thread Bill Hoffman
On 5/3/2010 9:10 PM, Tron Thomas wrote: The concern with building a universal binary for debug is only the time involved in the build. It doesn't matter as much on a fast machine. However, I full rebuild on a slower machine can have some impact on productivity. It would be better not to build cod

Re: [CMake] Configure Mac OS X for 32-bit

2010-05-03 Thread Bill Hoffman
On 5/3/2010 11:11 AM, Tron Thomas wrote: What is the purpose for the OSX_ARCHITECTURE and OSX_ARCHITECTURES_ properties that already exist in CMAKE? It seems like they might be properties that are already meant to address an issue like this, only I can't figure out how they work. OSX_ARCHITECTUR

Re: [CMake] Mailing list footer

2010-05-03 Thread Bill Hoffman
On 5/3/2010 2:58 AM, Michael Wild wrote: Hi I really enjoy this mailing list, it is a very friendly place. But one thing that really annoys me at times is that the boilerplate footer doesn't get removed automagically in replies, leading to ridiculous stuff like this if people are too lazy to edi

Re: [CMake] Configure Mac OS X for 32-bit

2010-05-03 Thread Bill Hoffman
On 5/2/2010 11:41 AM, Tron Thomas wrote: Before when I was using an earlier version of CMake, it would configure the project to build a 32-bit version of all the project target's regardless of which version of Mac OS X I was using. It would also build just the platform specific version of the tar

Re: [CMake] installation problem

2010-05-02 Thread Bill Hoffman
On 5/2/2010 5:53 PM, Zhuang Song wrote: Hi Bill, Thank you for pointing this out. I did try several times to install CMake. When I started with a clean build/source tree, I got a lot of other errors in bootstrap. I tried to attach the output of bootstrap with error messages, but it was hold by

Re: [CMake] installation problem

2010-05-02 Thread Bill Hoffman
On 5/2/2010 4:55 AM, Michael Wild wrote: On Sun, May 2, 2010 at 3:40 AM, Zhuang Song mailto:zhuang.s...@gmail.com>> wrote: Hi! I am trying to install CMake in our Linux server. I follow the three steps: $ ./bootstrap; make; make install in running bootstrap, I got the followin

Re: [CMake] Problem running ccmake on Mac OSX

2010-04-28 Thread Bill Hoffman
On 4/28/2010 11:39 AM, Michal Depa wrote: Hi, I have been using cmake on my linux machine for a while now (without problems), but recently I needed to do some work on my Macbook Pro and ran into a problem. Since I prefer the linux interface to the GUI in the mac version, I got the source code f

Re: [CMake] VS2010 problem with upper case CPP extension

2010-04-26 Thread Bill Hoffman
On 4/25/2010 9:47 PM, Jarl Lindrud wrote: Advice: SET_SOURCE_FILES_PROPERTIES(File2.CPP PROPERTIES LANGUAGE CXX) or go with lower case... ;) Regards, Michael OK, for now I've worked around this using SET_SOURCE_FILES_PROPERTIES... Thanks. I've reported this as a bug (http://www.cmake.org

Re: [CMake] CMake & Matlab

2010-04-16 Thread Bill Hoffman
Matt McCormick wrote: James C. Sutherland writes: I didn't apply the patch because I assumed that it had been fixed in 2.8.0 (which is what I am using). Is that not the case? ___ No, it has not been applied yet. I haven't tried the patch with

Re: [CMake] Cmake 2.8.1 error

2010-04-16 Thread Bill Hoffman
on to the eclipse mailing list. -- 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

Re: [CMake] CPack NSIS problem

2010-04-15 Thread Bill Hoffman
Robert Bielik wrote: Robert Bielik skrev: which of course will make "Programs and features" show no icon at all. So the question is, how do I tell CPack to create a correct path ? I tried look at the code base, but I fail to find where CPack generates NSIS files, couldn't find anything about

Re: [CMake] Correct syntax for CPACK_NSIS_CREATE_ICONS [SOLVED]

2010-04-14 Thread Bill Hoffman
Another way to do this without the insane \ stuff, is to use a configured file like CMake does: CONFIGURE_FILE("${CMake_SOURCE_DIR}/CMakeCPackOptions.cmake.in" "${CMake_BINARY_DIR}/CMakeCPackOptions.cmake" @ONLY) SET(CPACK_PROJECT_CONFIG_FILE "${CMake_BINARY_DIR}/CMakeCPack

Re: [CMake] HOW DO I: Build VTK with CMake/ExternalProject_add against Qt with Cocoa on OS X?

2010-04-13 Thread Bill Hoffman
Michael Wild wrote: On 13. Apr, 2010, at 16:19 , kent williams wrote: I've descended into a confusing morass of complicated CMake macros, and I need help getting out! The situation is this: I didn't have much trouble building VTK with QT as long as I stuck with Carbon. Now I'm running into s

Re: [CMake] how to map to cmake configurations when using include_external_msproject?

2010-04-12 Thread Bill Hoffman
David Genest wrote: Reposting... trying to get your attention. Using cmake 2.8.0. Thank you for your time. I am including a thirdparty msproject with the include_external_msproject() command. But this project has different configurations than the standard cmake configs. The mapping is like thi

Re: [CMake] VS project reloading

2010-04-08 Thread Bill Hoffman
James Bigler wrote: I'm wondering if anyone had any thoughts on this issue. When CMake detects that the project or solution files for VS have changed it runs some plugin that unloads the solution and loads it up again. While this works to keep things updated, it had the unfortunate consequen

Re: [CMake] CMake built with Apache stdcxx has problems?

2010-04-06 Thread Bill Hoffman
Attila Nagy wrote: Here is the file: www.orl.szote.u-szeged.hu/~attila/Slicer3Config-stdcxx.cmake Here is another version of that same file, from the same sources, when CMake is compiled with STLport4, for reference (this is the file from my current Slicer3-build dir): www.orl.szote.u-szeged.h

Re: [CMake] CMake built with Apache stdcxx has problems?

2010-04-06 Thread Bill Hoffman
Attila Nagy wrote: Hi Bill, thanks for the quick response! :) Here is the CMakeCache.txt: www.orl.szote.u-szeged.hu/~attila/CMakeCache-stdcxx.txt OK, it all seems to be this library causing the trouble: RemoteIO The cache has errors because RemoteIO seems to have QdecModule_LIB_DEPENDS:STATI

Re: [CMake] CMake built with Apache stdcxx has problems?

2010-04-06 Thread Bill Hoffman
Attila Nagy wrote: Hi all, I regularly build Slicer on Solaris x86_64, with Sun Studio. The latest version of Studio (12.1; CC 5.10) supports compilation with the use of Apache STDCXX (*), as it is integrated into Solaris (yes, into the OS itself, into /usr/lib). Since Apache stdcxx is far mor

Re: [CMake] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

2010-04-05 Thread Bill Hoffman
Clinton Stimpson wrote: So interleaving wine tracing and cmake tracing along with some debugging... the problem comes from within SystemTools::GetActualCaseForPath() where it takes as input /CMakeTestCXXCompiler.cmake and returns /CMakeFortranInformation.cmake. I'm guessing its a bug in Win

Re: [CMake] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

2010-04-05 Thread Bill Hoffman
Alan W. Irwin wrote: Have you run cmake --trace yet to figure out what is including what and where? Yes, as alluded to above the complete result for cmake --trace --debug-output for a CMakeLists.txt file consisting of just project(test NONE) enable_language(CXX) was attached to my first post

Re: [CMake] CXX incorrectly includes CMakeFortranInformation.cmake for MinGW/MSYS/Wine

2010-04-05 Thread Bill Hoffman
Alan W. Irwin wrote: On 2010-04-05 00:40-0700 Alan W. Irwin wrote: On 2010-04-04 21:28-0400 John Drescher wrote: [...] I believe the issue is caused by wine pulling in at least some of environment variables from the linux system. That idea of something leaking through from Linux to Wine to

[CMake] git too difficult CMake switching to sccs

2010-04-01 Thread Bill Hoffman
contributor. After changes are made, the file should be emailed back to Kitware, or sent on a 3.5 inch floppy disk to: CMake SCCS revisions at Kitware 28 Corporate Drive Clifton Park, NY 12065 The change will happen today and today only. -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive

Re: [CMake] Problem after upgrading to OSX 10.6.3!

2010-03-31 Thread Bill Hoffman
Bradley Lowekamp wrote: Hello, The down arrow (and other arrow keys) is no longer working after I patched to OSX 10.6.3 with ccmake. This is very weird! Other applications seems fine. I have tried 3 upgraded machines, all failing to get curser to move with the down arrow to move to the next

Re: [CMake] Problem after upgrading to OSX 10.6.3!

2010-03-31 Thread Bill Hoffman
Bradley Lowekamp wrote: Hello, Fortunately the emacs bindings still work: C-p (previous line) C-n (next line) C-f (forward) C-b (back) Someone just emailed kitw...@kitware.com about this... Odd... I wonder if they broke libcurses ??? -Bill ___

Re: [CMake] project (name NONE) still search for a valid compiler

2010-03-30 Thread Bill Hoffman
It will also prevent any c or c++ from being compiled... CMake really needs to do this. On Mar 30, 2010 10:06 AM, "David Cole" wrote: What is the output, if you have a CMakeLists.txt file with this content: project(xyz NONE) And then run this command in the same dir with the CMakeLists file: m

Re: [CMake] Is there really any cmake support?

2010-03-29 Thread Bill Hoffman
Michael Wild wrote: On 29. Mar, 2010, at 9:51 , Fred Fred wrote: Subject: Re: [CMake] Is there really any cmake support? From: them...@gmail.com Date: Mon, 29 Mar 2010 08:55:44 +0200 CC: cmake@cmake.org To: stan1...@hotmail.fr On 28. Mar, 2010, at 18:09 , Fred Fred wrote: [snip] What I do

Re: [CMake] CMAKE_SOURCE_DIR overwritten by CMake Fortran language support

2010-03-26 Thread Bill Hoffman
Alan W. Irwin wrote: Hi Brad: The PLplot project still uses some special Fortran support files for our CMake-2.6.4 users, but we have run into cross-platform problems in that case where Linux can access our special location for Fortran Platform files, but MinGW cannot. It has been reported (b

Re: [CMake] New CMake book ready for orders!

2010-03-22 Thread Bill Hoffman
Benoit Thomas wrote: Hello, I tried to order the book from Amazon but it still unavailable there; do you know when it will be possible to order it from Amazon ? It will take some time ( 3 or 4 weeks) before they get them in stock. The process is a bit slow... They have ordered 2 CMake bo

Re: [CMake] New CMake book ready for orders!

2010-03-19 Thread Bill Hoffman
le here: http://www.kitware.com/products/books/CMakeBook.html http://www.kitware.com/products/img/CMakeBook_SearchInside.pdf -Bill -- 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

Re: [CMake] New CMake book ready for orders!

2010-03-19 Thread Bill Hoffman
Eric Noulard wrote: Is there really nothing you can to to lower the price of the shipping for european people? (I did not checked whether if the price is similar for other european countries). I would suggest that you order the book from Amazon, they are able to get much better international s

Re: [CMake] [Temproraly Solution , may be bug in cmake] Re: cmake error in windows 7 , visual studio 2008

2010-03-19 Thread Bill Hoffman
Bill Hoffman wrote: Ramazan Girgin wrote: I insert SET(CMAKE_CXX_COMPILER_WORKS 1) in CMakeTestCXXCompiler.cmake file and SET(CMAKE_C_COMPILER_WORKS 1) in CMakeTestCCompiler.cmake file for disable testing of compiler. After that cmake generated make file correctly and i compiled may

Re: [CMake] [Temproraly Solution , may be bug in cmake] Re: cmake error in windows 7 , visual studio 2008

2010-03-19 Thread Bill Hoffman
Ramazan Girgin wrote: I insert SET(CMAKE_CXX_COMPILER_WORKS 1) in CMakeTestCXXCompiler.cmake file and SET(CMAKE_C_COMPILER_WORKS 1) in CMakeTestCCompiler.cmake file for disable testing of compiler. After that cmake generated make file correctly and i compiled may application. Another temp sol

[CMake] New CMake book ready for orders!

2010-03-19 Thread Bill Hoffman
ay be purchased through Kitware's secure online store or through Amazon (ISBN-13: 978-1-930934-22-1). Please contact Kitware directly at sa...@kitware.com for rates on purchases of 10 or more books. -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065

Re: [CMake] C/C++ dependency scanner

2010-03-19 Thread Bill Hoffman
Steven Wilson wrote: That's an interesting idea. Would this step attach the dependencies to the .c file or the .bc file? It would attach them to the .c file. On Thu, Mar 18, 2010 at 7:49 PM, Bill Hoffman <mailto:bill.hoff...@kitware.com>> wrote: I have a hack o

Re: [CMake] C/C++ dependency scanner

2010-03-18 Thread Bill Hoffman
Steven Wilson wrote: Hey all, I have a large project whose source files start as files with an alternate extension (.bc). Those files are mostly generic C files that have some C++ like features that are preprocessed into vanilla C files using a custom C pre-processor. My project uses an

Re: [CMake] cmake -E tar using bzip2 compression

2010-03-18 Thread Bill Hoffman
Hugh Sorby wrote: I have been hanging out for 2.8.1 because I needed this feature to provide seamless integration with our current build system. On testing yesterday no dice I couldn't decompress a bzip2 archive. I even looked through the source code but couldn't find it. I feel I have missed

Re: [CMake] cmake error in windows 7 , visual studio 2008

2010-03-18 Thread Bill Hoffman
Ramazan Girgin wrote: Hi all, I want to compile 32bit app in 64 bit windows 7. I can compile with vs2008 but when i try to configures for compile with cmake it gives. i use cmake 2.8 How can i solve that error ? C:\Users\ramazan.girgin\Desktop\ma3BuildManager\New folder\CMakeFiles\CMakeTm

Re: [CMake] CMake 2.8.1 available for download

2010-03-17 Thread Bill Hoffman
Alan W. Irwin wrote: Hi Bill: I just discovered you did not include the regression fixup below in cmake-2.8.1. I spent a fair amount of effort making a simple test case at your request, verifying that Brad's one-liner patch worked, etc. I assume you didn't include it due to an oversight or bec

Re: [CMake] set proxy with cmake file download

2010-03-17 Thread Bill Hoffman
Eric Noulard wrote: 2010/3/12 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 I don't know the default behavior of curl lib on Windows but the CTest source code do

[CMake] CMake 2.8.1 available for download

2010-03-17 Thread Bill Hoffman
On behalf of myself, Ken, Brad, Dave, Alex, Zach and the rest of the CMake team, we are pleased to announce that CMake 2.8.1 is available for download at: http://www.cmake.org/cmake/resources/software.html Here are the changes for CMake 2.8.1: Changes in CMake 2.8.1 - Fix failing test on cygwin

[CMake] ANNOUNCE - Developer Training at Kitware May 3-6

2010-03-17 Thread Bill Hoffman
A Brief Reminder from Kitware, * Developer's Training Week will be held May 3 – 6, 2010, in Albany, NY. Early Registration closes April 1. Details -- Developer's Training Week will cover our open-source projects including VTK, ITK, ParaView and CMake. This hands-on course is appropr

Re: [CMake] Include paths not being searched?

2010-03-17 Thread Bill Hoffman
Michael Wild wrote: Yes, that would be the problem. CMake assumes that .c is a C file, not C++. To override this: set(SRCS src1.c src2.c src3.c) add_executable(super ${SRCS}) set_source_files_properties(${SRCS} PROPERTIES LANGUAGE CXX) To set this globally, you can override the CMAKE_C_SOUR

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

2010-03-17 Thread Bill Hoffman
AKHRES Nader wrote: 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? Either way should work. -Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.k

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

2010-03-16 Thread Bill Hoffman
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. 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 organiz

Re: [CMake] Project Folders in Visual Studio

2010-03-16 Thread Bill Hoffman
e-developers -Bill -- 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 ope

Re: [CMake] CC, CXX, and FC environment variable regression in 2.8.1-rc4

2010-03-14 Thread Bill Hoffman
ariable approach to continue to work as previously. Perhaps adding the flags causes the compiler to be mis-identified somehow. Can you run with the gcc -g -fvisibility=hidden, and without on a very simple C only project. Then send me the binary trees from both. I am suspecting there will be s

[CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-10 Thread Bill Hoffman
CMake 2.8.1 RC 5 is ready to try: http://www.cmake.org/files/v2.8/?C=M;O=D Please try your projects with it. If you find any issues, let me know. I think this is about it. I only had two small fixes over RC 4, so this should be it. (The source trees should no longer have full git repositori

Re: [CMake] xcode project FOR cmake

2010-03-08 Thread Bill Hoffman
ha...@mac.com wrote: everyone: i am trying to make a custom cmake build on my mac. ideally, i would like to set up a xcode project for coding/debugging. i have downloaded sources from kitware and tried to follow instructions in the supplied readme.txt: You already have a version of CMake inst

Re: [CMake] Watcom Support

2010-03-08 Thread Bill Hoffman
J Decker wrote: Ooops, missed a linker line that needed added. Also, apparently, the _DEBUG_ modes of C flags dropped the -d2 for writing debug info out. Attattched modified windows-wcl386.cmake. Can you create a bug report and attach the patch? Thanks. -- Bill Hoffman Kitware, Inc. 28

Re: [CMake] CMake 2.8.1 RC 4 is ready to try

2010-03-08 Thread Bill Hoffman
Micha Renner wrote: Yes, there are no problems with this version. Did you download some other file (perhaps one with Windows line endings)? It seems so. Zip-files have Windows line endings? http://www.cmake.org/cmake/resources/software.html Windows Source (has \r\n line feeds)cmake-2

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