Re: [CMake] How to change default target in solution?

2011-03-11 Thread Bill Hoffman
On 3/11/2011 9:56 AM, aaron.mead...@thomsonreuters.com wrote: You can't. The default target is stored in the .suo file. That file is generated by visual studio when it loads the solution file. The rules that Visual studio uses for chosing the default target are not published and don't seem to

Re: [CMake] New book shipment / bug tracker

2011-03-24 Thread Bill Hoffman
On 3/23/2011 3:01 AM, Gour wrote: On Tue, 22 Mar 2011 18:38:16 -0400 Lisa Avilalisa.av...@kitware.com wrote: Kitware is pleased to announce that the VTK Textbook is once again in stock! You may order it directly through our online store or through amazon.com(and soon through amazon.co.uk.)

Re: [CMake] set_target_properties not setting COMPILE_DEFINITIONS?

2011-03-29 Thread Bill Hoffman
On 3/29/2011 8:25 AM, David Doria wrote: (with and without quotes around ${my_definitions} in the set_target_properties line) The message command seems to be fine: my definitions: UNIX;USE_ITK;USE_FLOAT_PIXELS;PIXEL_DIMENSION=1 but the #if defined(UNIX) still fails in the code! Did you do

Re: [CMake] set_target_properties not setting COMPILE_DEFINITIONS?

2011-03-29 Thread Bill Hoffman
it easier to debug? add_executable(foo foo.cxx) ... Thanks. -- 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

Re: [CMake] set_target_properties not setting COMPILE_DEFINITIONS?

2011-03-29 Thread Bill Hoffman
On 3/29/2011 9:22 AM, David Doria wrote: My standalone example works fine: http://pastebin.com/tGjX1AZ8 You can see that the UNIX and DAVID definitions are both passed. Maybe something is overriding the definitions in my real example? I see these definitions: D_FILE_OFFSET_BITS=64

Re: [CMake] set_target_properties not setting COMPILE_DEFINITIONS?

2011-03-29 Thread Bill Hoffman
On 3/29/2011 9:49 AM, David Doria wrote: You might want to try running cmake --trace and see if something odd is happening when it is run. -Bill Here is the output of the trace: http://pastebin.com/MfTcNHFE It looks like the definitions list is being created and applied to the target, does

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

2011-03-31 Thread Bill Hoffman
On 3/31/2011 4:19 PM, Chris Scharver wrote: EXTERNAL_OBJECT not linked using Visual Studio 2010 http://public.kitware.com/Bug/view.php?id=11891 Thanks for the pointer to that bug. It even has a fix. The thing I can not figure out is why our ExternlObj test is passing even when this is

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

2011-03-31 Thread Bill Hoffman
On 3/31/2011 6:15 PM, David Cole wrote: On Thu, Mar 31, 2011 at 6:05 PM, Bill Hoffman bill.hoff...@kitware.com mailto:bill.hoff...@kitware.com wrote: On 3/31/2011 4:19 PM, Chris Scharver wrote: EXTERNAL_OBJECT not linked using Visual Studio 2010 http://public.kitware.com

Re: [CMake] Failures on Nightly CMake Dashboard

2011-04-03 Thread Bill Hoffman
The machine cmake.org was offline. It is back up now. On Sat, Apr 2, 2011 at 10:41 PM, Richard Wackerbarth rich...@nfsnet.org wrote: All of my Nightly runs of the CMake Dashboard are failing to update with snip Determine Nightly Start Time   Specified time: 1:00:00 UTC   Use Nightly tag:

Re: [CMake] Why does XCODE_DEPEND_HELPER delete my target after it has been build?

2011-04-04 Thread Bill Hoffman
On 4/2/2011 10:48 AM, Kenny Erleben wrote: Hi, I got a cmake project that builds one static lib and one target that depends on my static lib. I have set the ARCHIVE_OUTPUT_DIRECOTRY target properties to ${PROJECT_SOURCE_DIR}/lib and the RUNTIME_OUTPUT_DIRECOTRY target properties to

Re: [CMake] Properly Detecting Win64

2011-04-12 Thread Bill Hoffman
On 4/12/2011 4:13 PM, David Cole wrote: Does somebody have reproducible steps to get to the point where CMAKE_SIZEOF_VOID_P disappears?? I've never seen that... How many times do you have to re-configure before you start seeing this behavior? That sounds like something is just really wrong

Re: [CMake] cmake not found

2011-05-03 Thread Bill Hoffman
://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 (Direct) 518 371-3971 x105 Fax (518) 371-4573

Re: [CMake] manifest version mismatch with VS 2008 and InstallRequiredSystemLibraries

2011-05-03 Thread Bill Hoffman
On 5/3/2011 11:52 AM, Tyler wrote: Yes, I verified the manifests in each binary with strings + grep. Everything is produced with a version of 9.0.21022. My blog entry might help: http://www.kitware.com/blog/home/post/4 -Bill ___ Powered by

Re: [CMake] cmake not found

2011-05-04 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

Re: [CMake] cmake package for cygwin

2011-05-18 Thread Bill Hoffman
On 5/18/2011 12:46 PM, marco atzeri wrote: Hi Bill, are you planning to release the 2.8.4 package for cygwin ? Thanks in advance Marco Yes. I will try to get that out this week. Thanks for the reminder... -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065

Re: [CMake] Fortran issue

2011-05-19 Thread Bill Hoffman
On 5/19/2011 3:05 AM, Michael Hertling wrote: Any hint in this error would be gr8 help. :) With thanks and regards Bala http://www.cmake.org/Bug/view.php?id=11517 Should be fixed: http://www.cmake.org/pipermail/cmake/2011-May/044408.html If you grab the nightly build it should work now.

[CMake] Updated: CMake 2.8.2-1

2011-05-19 Thread Bill Hoffman
command line arguments: --warn-uninitialized --warn-unused-vars --no-warn-unused-cli --check-system-vars Bill Hoffman (3): For macros make sure the FilePath points to a valid pointer in the args. Add a warning when variables are used uninitialized

[CMake] Updated: CMake 2.8.4-1

2011-05-19 Thread Bill Hoffman
command line arguments: --warn-uninitialized --warn-unused-vars --no-warn-unused-cli --check-system-vars Bill Hoffman (3): For macros make sure the FilePath points to a valid pointer in the args. Add a warning when variables are used uninitialized

Re: [CMake] Updated: CMake 2.8.4-1

2011-05-19 Thread Bill Hoffman
On 5/19/2011 2:11 PM, Alan W. Irwin wrote: On 2011-05-19 10:55-0400 Bill Hoffman wrote: CMake 2.8.4-1 is now available on Cygwin mirrors. Hi Bill: Could you give some background information about why you create a binary version of cmake for Cygwin that is separated in time and location from

Re: [CMake] Updated: CMake 2.8.4-1

2011-05-19 Thread Bill Hoffman
On 5/19/2011 2:58 PM, Alan W. Irwin wrote: My bad, I will try to be better about it in the future. I have no good excuse. :) Actually, I didn't mean to question why this Cygwin release of cmake was later than the normal release of cmake-2.8.4. (These things happen.) But the separate nature

[CMake] CMake pod cast

2011-05-26 Thread Bill Hoffman
Last week I did an interview for the High Performance Computing (HPC) and Research Computing Podcast. It can be found here: http://www.rce-cast.com/ -Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] CMake pod cast

2011-05-27 Thread Bill Hoffman
On 5/27/2011 3:11 PM, Alexander Neundorf wrote: On Friday 27 May 2011, Bill Hoffman wrote: Last week I did an interview for the High Performance Computing (HPC) and Research Computing Podcast. It can be found here: http://www.rce-cast.com/ Just found that CMake (and also VTK) is also

Re: [CMake] False.lib error while linking

2011-05-31 Thread Bill Hoffman
On 5/31/2011 7:04 AM, AMARNATH, Balachandar wrote: Hi, When i compile MPF package using CMAKE/NMAKE with Intel C and fortran as Compilers (in windows) , also with Intel MPI and MKL library, i get an error while linking, * -LIBPATH:C:\Users\BAAMARNA5617\Projects\CMAKE\mpf_build

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

2011-05-31 Thread Bill Hoffman
On 5/31/2011 12:57 PM, Bill Lorensen wrote: Steve, I'm not sure why cmake won't find mingw's make. I build with mingw every day. If I run the cmake gui from a fresh build tree, I get the same error. Then I use the gui to browse to the location of make.exe and then all runs fine. That sounds

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

2011-06-01 Thread Bill Hoffman
On 6/1/2011 10:13 AM, Bill Lorensen wrote: I can't reproduce the problem although I did recently upgrade to cmake 2.8.4. It is important to have c:/MinGW/bin (or your bin location) in the system path. If c:/MinGW/bin is in your PATH then it will always work. However, it should also work

Re: [CMake] False.lib error while linking

2011-06-02 Thread Bill Hoffman
On 6/1/2011 6:11 AM, AMARNATH, Balachandar wrote: Dear Bill, When i did cmake --trace, I could see at some places BLAS_LIBRARIES are set to FALSE. Particularly, here in below lines *** ... c:/Users/BAAMARNA5617/Programs/CMake

Re: [CMake] Missing libgmp-10.dll

2011-06-02 Thread Bill Hoffman
On 6/2/2011 4:01 PM, Lecourt Maxime wrote: Hi, when you install MinGW, the minGW/bin directory is not added to the PATH variable. So you need to add your minGW/bin directory to your path variable, so CMake can find the needed libraries. Seems that MinGW changed something recently... This is

Re: [CMake] Missing libgmp-10.dll

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

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

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

Re: [CMake] Windows build inconsistency...

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

Re: [CMake] Invoking CMakle outside of the build/source dir.

2011-06-06 Thread Bill Hoffman
On 6/6/2011 11:33 AM, Yuri Timenkov wrote: I guess there are cases when you can't do this. For example, on Windows you can't simply call cd - or you may have other kind of script than sh one (for example ant). Also both source dir and binary dir may be relative to current directory, therefore

Re: [CMake] Scanning dependencies of target xxx is very slow.

2011-06-06 Thread Bill Hoffman
On 6/5/2011 11:28 PM, jianhua wrote: Hi Neundorf; Thanks for your kindly response on this issue. Usually it is not that slow. Can you give us some more information ? Of how many files consists your target approximately ? Under which operating system ? Is it maybe on

Re: [CMake] Support for Custom LANG in CMAKE (CUDA and general case)

2011-06-07 Thread Bill Hoffman
On 6/7/2011 2:50 PM, t m wrote: Hi I've two topics related to the support for custom lang in cmake. I hope you can help me. 1) Does anyone knows plan about merge the following feature related to the CUDA: http://public.kitware.com/Bug/view.php?id=11887 I'm in the process of integrating the

Re: [CMake] A CMake project called Help?

2011-06-10 Thread Bill Hoffman
On 6/10/2011 10:50 AM, Alan Garny wrote: Hi, I have a CMake project with several sub-projects (plugins for my application), one of which is called “Help”. Now, everything works fine in that it compiles and builds as expected. However, I do get a couple of warnings: makefile:1227: warning:

Re: [CMake] A CMake project called Help?

2011-06-10 Thread Bill Hoffman
On 6/10/2011 1:53 PM, Alan Garny wrote: I would change the name of your target to help_something, then use OUTPUT_NAME to change it back to help. set_target_properties(MyHelp PROPERTIES OUTPUT_NAME Help) Thanks Bill. Though I don't particularly like the idea, I thought I would give it a

Re: [CMake] ccmake options organization

2011-06-13 Thread Bill Hoffman
On 6/13/2011 11:02 AM, Szilárd Páll wrote: I would also very much like to see some form of grouping to be possible in ccmake. Right now, the only way to avoid clutter is to mark the large majority of the variables as advanced and keep only the ones that would be used frequently used and this is

Re: [CMake] CMake 2.8.5-rc2 ready for testing!

2011-06-15 Thread Bill Hoffman
written by the named CMake developers. Please try this version of CMake on your projects and report any issues to the list or the bug tracker. Happy building! -Dave Changes in CMake 2.8.5-rc2 (since 2.8.5-rc1) Bill Hoffman (6): Fix a memory leak

Re: [CMake] TGZ installer following links

2011-06-22 Thread Bill Hoffman
On 6/21/2011 4:43 PM, Alan W. Irwin wrote: So it is not a regression, but in my opinion it is still a bug. More comments at http://public.kitware.com/Bug/view.php?id=12284. Please fix. Patches are welcome, please send one... It would have to be an option somehow at this point so as not

Re: [CMake] What is the VS10 .rule file generated for each ADD_CUSTOM_COMMAND?

2011-06-27 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] What is the VS10 .rule file generated for each ADD_CUSTOM_COMMAND?

2011-06-27 Thread Bill Hoffman
On 6/27/2011 11:57 AM, Gabriel Petrovay wrote: Hi Bill, I have no exception. I only know that Cmake generates a wrong Include attribute for a CustomBuild element (first in a series of cmake generated filed). This generated file also does not have a .rule file generated for it like for all the

Re: [CMake] CMake 2.8.5-rc3 ready for testing!

2011-06-28 Thread Bill Hoffman
On 6/27/2011 11:41 AM, David Cole wrote: Changes in CMake 2.8.5-rc3 (since 2.8.5-rc2) Bill Hoffman (4): Use devenv instead of msbuild for vs2010. Revert With very long file names, VS 2010 was unable to compile files. Use

Re: [CMake] Parallel make custom command

2011-06-30 Thread Bill Hoffman
On 6/30/2011 5:23 PM, Alan W. Irwin wrote: On 2011-06-30 22:15+0200 Alexander Neundorf wrote: On Wednesday 29 June 2011, Marcel Loose wrote: ... After I had posted my question I realized that this issue has come up quite recently on the mailing list in a thread that I started -- see

Re: [CMake] External_Project_Add() and custom build configurations ?

2011-07-07 Thread Bill Hoffman
On 7/7/2011 11:37 AM, Glenn Coombs wrote: I understand where you're coming from on the resources front. There would obviously be some effort required to get this to work properly. I'm not convinced it is such a huge amount of work as you're suggesting, but then I don't know the source code

Re: [CMake] CPACK NSIS Destination Directory

2011-07-08 Thread Bill Hoffman
On 7/1/2011 3:52 AM, owen.arn...@stfc.ac.uk wrote: Hi, I’ve been using CPack to generate NSIS installers. On my Windows 7 64-bit development platform this works perfectly. When I started building the release and generating the packages on our build server (also Windows 7 64-bit) things aren’t

Re: [CMake] Disabling regexing paths?

2011-07-20 Thread Bill Hoffman
On 7/20/2011 2:18 AM, Jookia wrote: Greetings from the world of CMake problems, I've been using CMake for a while (love it!) but a while back I sent my project off to a person and he tried to generate the CMake project, but it failed. Why? Because he for some reason keeps all his data in /s .

Re: [CMake] Setting environment variable to execute_process

2011-08-01 Thread Bill Hoffman
On 8/1/2011 12:08 PM, Łukasz Tasz wrote: Hi, I would like to execute process, during cmake phase, but I need to tune LD_LIBRARY_PATH a little, I would like to get something like: execute_proccess(COMMAND LD_LIBRARY_PATH=my_path my_proccess ERROR_VARIABLE _error) Unfornately command above is

Re: [CMake] How to create a 64-bit Windows build of cmake?

2011-08-02 Thread Bill Hoffman
On 8/2/2011 9:42 AM, David Cole wrote: Try commenting out the one line that causes problems, then back up from there, either commenting chunks out or adjusting CMake options until those commands are not loaded. That said, if CMake is built with the same options as you are building VTK with,

Re: [CMake] External_Project and WIndows

2011-08-06 Thread Bill Hoffman
On 8/6/2011 11:53 AM, Richard Offer wrote: Hi, I'm trying to build Google protocol buffers as an external project on Windows and am hitting an issue with over assuming something is a path. I need to be able to call msbuild with options. (/p:Configuration=Debug), but cmake converts this to

Re: [CMake] MinGW response file problem

2011-08-11 Thread Bill Hoffman
On 8/11/2011 5:06 AM, Sascha Zelzer wrote: Hi, I am using CMake 2.8.4 and MinGW (gcc 4.4.4, from the Qt SDK 1.1.2) on a Windows 7 64bit system. For my project, I used the MinGW Makefiles CMake generator to configure it, but when issuing a mingw32-make in a cmd.exe window, I get compiler errors

Re: [CMake] ok guys, why is configure_file() so sucky?

2011-08-17 Thread Bill Hoffman
On 8/17/2011 10:17 AM, Andreas Mohr wrote: [cue maximally inflammatory subject ;)] Hi, I keep encountering template file processing where @VAR@ replacements end up empty due to the required template variable simply not having been set (or empty) [or renamed away]. Doh. I'd strongly vote for

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

2011-08-30 Thread Bill Hoffman
On 8/30/2011 4:11 AM, Andrea Galeazzi wrote: Hi, I'd like to know if the bug 0011258 http://public.kitware.com/Bug/view.php?id=11258 will be fixed or the community simply decided to give it up. Any changes for 0012294 to be assigned? I don't think we have given up, but we are certainly at a

Re: [CMake] Working with MSVC10

2011-08-30 Thread Bill Hoffman
On 8/29/2011 3:34 PM, Steve Casselman wrote: Nope. It finds part of a list of required files. For example it finds stdarg.h but not stdlib.h. If I rename stdarg.h (in the same directory as stdlib.h) then it can’t find stdarg.h (what you would expect). I’m about ready to give up. I’ve check all

Re: [CMake] Working with MSVC10

2011-08-30 Thread Bill Hoffman
On 8/30/2011 11:14 AM, Bill Hoffman wrote: Can you look in CMakeFiles/CMakeError.log and find out what the error is that is causing this not to work? CMake keeps the output of the try-compile results for failed tests in that file. Once we know why it is not compiling, we should have a better

Re: [CMake] Working with MSVC10

2011-08-30 Thread Bill Hoffman
On 8/30/2011 2:40 PM, Steve Casselman wrote: When I put MESSAGE($ENV{INCLUDE}) In the code at that point I get C:\Program Files\Microsoft Visual Studio 10.0\VC\include So why would Cmake be picking up my cygwin installation? Anyway I renamed my cygwin directory and it seems to be working

Re: [CMake] CMake --debug-trycompile option breaking tests

2011-08-30 Thread Bill Hoffman
On 8/30/2011 3:09 PM, Clifford Yapp wrote: We're seeing a problem when trying to run a cmake configuration using both the TestBigEndian.cmake macro and the --debug-trycompile command line option for CMake: Sometimes we're getting CMake Error at TestBigEndian.cmake:44 (MESSAGE): no suitable

Re: [CMake] CMake --debug-trycompile option breaking tests

2011-08-31 Thread Bill Hoffman
On 8/30/2011 4:13 PM, Clifford Yapp wrote: Hmm. What about changing that option to make one sub-directory per test instead of doing each one in the same temp directory? Or if try_compile doesn't support that, moving the generated files to a subdirectory after the try_compile proper has run?

Re: [CMake] CMake --debug-trycompile option breaking tests

2011-09-01 Thread Bill Hoffman
On 9/1/2011 12:27 AM, Clifford Yapp wrote: On Wed, Aug 31, 2011 at 2:14 PM, Bill Hoffmanbill.hoff...@kitware.com wrote: It would make a mess if you created a sub-dir per test. There would be lots and lots of sub-dirs in some projects. Personally I would expect that, and be OK with it, as

Re: [CMake] Visualizing all build-system options

2011-09-01 Thread Bill Hoffman
On 9/1/2011 8:48 PM, Alan W. Irwin wrote: Yeah, it is fun to speculate about something new like this that would be of considerable benefit to help a project's developers and users visualize the complete set of options and their dependencies for their project's build system. Unfortunately I

Re: [CMake] *.so on Mac

2011-09-07 Thread Bill Hoffman
On 9/7/2011 11:43 AM, Sean McBride wrote: Because a MODULE is normally a plugin library, and these traditionally have the extension .so on Mac. Do they? I just searched all of /System and the only .so I find are in Python.framework. I've been using Macs since the early 90s, I don't recall

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-09-09 Thread Bill Hoffman
This is very cool work Peter. How well is this generator doing with the CMake tests? Is there a nija for windows? I would be interested in testing that. -Bill ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] [SunOS] ccmake: fatal: relocation error: file ccmake: symbol _register_forkhandler: referenced symbol not found

2011-09-12 Thread Bill Hoffman
On 9/12/2011 12:56 PM, Alec Taylor wrote: Good morning, Unfortunately CMake is failing for me. uname -a SunOS 5.10 Generic_144500-19 sun4u sparc SUNW,Sun-Fire-V490 /usr/sfw/bin/wget http://www.cmake.org/files/v2.8/cmake-2.8.5-SunOS-sparc.sh chmod +x ./cmake-2.8.5-SunOS-sparc.sh

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-09-15 Thread Bill Hoffman
On 9/14/2011 5:37 AM, Clifford Yapp wrote: Looks like that's working. Running ninja again, I'm seeing another issue: BRL-CAD uses dependency assignment to make sure our build time delta calculator is the last target to be built (and hence actually times the build). With ninja, it doesn't seem

Re: [CMake] Why do jom/nmake generators require cl to build with mingw?

2011-09-15 Thread Bill Hoffman
On 9/15/2011 10:35 AM, John R. Cary wrote: I seem to be able to use them in a cygwin shell, but only if I have cl and all the defines in my path, even if I never use cl in the compilation (because I def'd the compilers to be mingw...) Also, jom, cl, mingw, nmake all have the same (Windows)

Re: [CMake] Visual Studio 2008 configure and build step independency

2011-09-22 Thread Bill Hoffman
On 9/22/2011 1:07 PM, Thomas Wolf wrote: Addition: if i try to fake the contents of the CTK use file, like set_found true usefile_included 1 find_package still tries to include the CTKConfig.cmake. I always thougt if the Find-variable is set to true find_package just assumes that everything

Re: [CMake] Visualizing all build-system options

2011-09-26 Thread Bill Hoffman
On 9/24/2011 1:08 PM, Brian Davis wrote: I guess at the end of the day what you are talking about is a static code analysis tool for the CMake language. Those tools look at all possible branches of code and try to detect errors. What I would like to see at a minimum is a CMake Debugger

Re: [CMake] Cannot find appropriate C++ compiler on this system ...

2011-09-29 Thread Bill Hoffman
On 9/29/2011 10:03 PM, Albretch Mueller wrote: On 9/29/11, Eric Noularderic.noul...@gmail.com wrote: gcc is a C compiler not a C++ compiler. Do you have 'g++ installed? What does g++ --version says? $ g++ --version bash: g++: command not found but I definitely have a c++ compiler

Re: [CMake] Testing Intel Fortran 12 with cmake in next git

2011-09-30 Thread Bill Hoffman
/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 -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] Testing Intel Fortran 12 with cmake in next git

2011-09-30 Thread Bill Hoffman
. All rights reserved. Invalid project Use: devenv [solutionfile | projectfile | anyfile.ext] [switches] - 2011/9/30 Bill Hoffman bill.hoff...@kitware.com mailto:bill.hoff...@kitware.com On 9/30/2011 5:50 AM, Mario Rodríguez wrote

Re: [CMake] Testing Intel Fortran 12 with cmake in next git

2011-09-30 Thread Bill Hoffman
Can you send me two things (off the list, do not cc cmake@cmake.org). Send me the files: CMAKE_TRY_COMPILE.sln cmTryCompileExec.vfproj Then use your VS IDE to create a simple fortran project that does work for you. Then send me that .sln and .vfproj file. You do have the IDE integration

Re: [CMake] Testing Intel Fortran 12 with cmake in next git

2011-09-30 Thread Bill Hoffman
On 9/30/2011 10:56 AM, Bill Hoffman wrote: Can you send me two things (off the list, do not cc cmake@cmake.org). Send me the files: CMAKE_TRY_COMPILE.sln cmTryCompileExec.vfproj Then use your VS IDE to create a simple fortran project that does work for you. Then send me that .sln and .vfproj

Re: [CMake] CMake 2.8.6 available for download

2011-10-05 Thread Bill Hoffman
On 10/5/2011 11:17 AM, Clinton Stimpson wrote: Peter, is that your problem also? Can you edit your .cbp to remove lines like that? Or copy it to a file with a .xml extension then open it in a program that can check the xml (e.g. firefox). So, what can we do to get people to try the RC's?

Re: [CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

2011-10-06 Thread Bill Hoffman
On 10/6/2011 12:07 PM, Arnaud Gelas wrote: Hi Bill, Here are some timing, I made for ITK to compare ninja vs make (made last month). See results below The difference is not much, especially when you realized that none of the data have been downloaded, and I am not sure that at the end we get

Re: [CMake] Version 2.8.6 Issues with Cmake-Gui and CTest

2011-10-06 Thread Bill Hoffman
On 10/6/2011 11:50 AM, Sheri wrote: I was previously using 2.8.0. With 2.8.6 (from zipped binaries for win32-x86) I immediately noticed a couple oddities: My Wacom mouse can't seem to activate any controls on Cmake-Gui. It still works fine with 2.8.0. Do other mice work? I can't see how there

Re: [CMake] Question about variables, cache, and scope

2011-10-10 Thread Bill Hoffman
On 10/10/2011 3:52 PM, Robert Dailey wrote: Yes, this works perfectly. It's a bit disappointing that cache variables are, for all intents and purposes, read-only in functions. The property approach is a bit more verbose but it functions! I think 'set' needs a new override specifically for cases

Re: [CMake] Windows 8 and Visual Studio 2011 Developer Preview cannot open cmake-generated vcproj files

2011-10-18 Thread Bill Hoffman
On 10/18/2011 2:42 AM, Andreas Pakulat wrote: Ideas on how to make this work? Other than ditching this experiment alltogether that is? ;) Add a VS 2011 generator to CMake which generates the correct solution files and post the patch to a corresponding bugreport in the tracker. Actually, we

Re: [CMake] always rebuild executable

2011-10-18 Thread Bill Hoffman
On 10/18/2011 8:21 AM, Anton Sibilev wrote: Hi! Looking for some help.. I use add_executable(exename) + target_link_libraries (exename staticlibname), linux OS. If 'staticlibname' is not under CMake and chagnes somehow, CMake will not rebuild executable. And so I have a problem, that I have few

Re: [CMake] CMake MFC

2011-10-20 Thread Bill Hoffman
On 10/20/2011 12:35 PM, Robert Dailey wrote: I just tried with VS2008 and I get the same: fatal error LNK1104: cannot open file 'mfc40.lib' Also I created a default MFC application using the new project wizard in VS2008 and it compiled linked just fine, so it seems like maybe this is a

Re: [CMake] CMAKE_MFC_FLAG not working in functions

2011-10-20 Thread Bill Hoffman
On 10/20/2011 5:11 PM, Robert Dailey wrote: So I created a small project to attempt to reproduce this problem on a much smaller scale, but it functioned as designed in that case. It's only in my large, corporate project that this happens. Is there any way to dump a scope stack or call stack of

Re: [CMake] Windows 8 and Visual Studio 2011 Developer Preview cannot open cmake-generated vcproj files

2011-10-21 Thread Bill Hoffman
On 10/20/2011 6:56 PM, David Cole wrote: It's not a Windows 8 thing at all... Same symptom occurs on Windows 7. It's CMake generating this incorrectly: # Visual Studio 2011 When it should be generating: # Visual Studio 11 Since the comment there does not start with the expected

Re: [CMake] CMake still broken post-2.8.1

2011-10-24 Thread Bill Hoffman
On 10/24/2011 5:42 PM, Phil Smith wrote: Attached. ZTOOL is a wrapper for CMake, because we’re cross-compiling with a two-stage compiler and have various other requirements. We do a bunch of CMAKE –E commands before the cmake -DCMAKE_TOOLCHAIN_FILE:string=%~dp0\zosport.cmake -GUnix Makefiles .\

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

2011-10-25 Thread Bill Hoffman
On 10/25/2011 2:46 PM, Thomas Sondergaard wrote: The VS2010 bug! http://public.kitware.com/Bug/view.php?id=11258 Would love to fix that if we knew how :( -Bill -- Powered by www.kitware.com Visit other Kitware open-source projects at

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

2011-10-25 Thread Bill Hoffman
On 10/25/2011 2:46 PM, Thomas Sondergaard wrote: On 2011-10-21 20:20, David Cole wrote: As an esteemed colleague has pointed out, those with reporter level account in Mantis may not edit bugs other than their own directly. So. if you are in that boat, but would like to vote for a bug fix to

Re: [CMake] Setting Platform (Win32 or x64) for Visual Studio in CMake

2011-10-26 Thread Bill Hoffman
On 10/26/2011 9:18 AM, Ludovic Hoyet wrote: Hi, I am trying to generate VCproj for Visual Studio 32 and 64bit, and I would like to have the possibility to have both the 32bit version and the 64bit version in a single sln file. For this in Visual studio I can set the platform to x^$ for the

Re: [CMake] CMake still broken post-2.8.1

2011-10-26 Thread Bill Hoffman
So, since this is a cross compile situation, there is really no need to run the compiler id code. You should be able to put the following into your toolchain file and avoid the compiler id check code altogether: SET(CMAKE_C_COMPILER_ID_RUN 1) SET(CMAKE_C_PLATFORM_ID MyPlatform)

Re: [CMake] question about combining cmake builds

2011-11-03 Thread Bill Hoffman
On 11/3/2011 1:19 PM, Paul Whelan wrote: Hi guys, I have a possibly naive question about cmake. I've got three applications that build with cmake. Normally they build and run independently. However, for a particular release I have to combine them in a source distribution. I wanted to create a

Re: [CMake] Generating for cygwin

2011-11-10 Thread Bill Hoffman
On 11/10/2011 3:12 PM, David Cole wrote: This dashboard build of CMake is run from a cygwin bash script using gmake and the VS 2008 compiler: http://cdash.org/CDash/buildSummary.php?buildid=1711851 See the script that drives it here: http://cdash.org/CDash/viewNotes.php?buildid=1711851

Re: [CMake] Generating for cygwin

2011-11-10 Thread Bill Hoffman
On 11/10/2011 4:32 PM, Robert Dailey wrote: Thanks for the info guys but none of this really helps me out, especially the links to the CDash stuff. I don't even really know what I'm looking for. What generator do I need to use when I run cmake in cygwin? Isn't that all I need? Won't CMake

Re: [CMake] Generating for cygwin

2011-11-10 Thread Bill Hoffman
On 11/10/2011 5:14 PM, Robert Dailey wrote: I think my incorrect subject is symbolic of the fact that I don't know what I'm looking for ;) So you're basically saying that from cmake-gui on Windows, point C and CXX to cl.exe? I did this but got a big fat error message: I also said in my

Re: [CMake] CMake + Cygwin + MSVC Toolchain problems

2011-11-11 Thread Bill Hoffman
On 11/11/2011 2:25 PM, Robert Dailey wrote: Based on this URL: http://cygwin.com/ml/cygwin/2006-07/msg00376.html Seems like this happens because I am using windows-style paths in Cygwin. I don't know how to make it use different paths though. It is because the cygwin make is broken. Did you

Re: [CMake] Workflow of a collaborative project in Visual Studio+CMake

2011-11-12 Thread Bill Hoffman
On 11/12/2011 10:51 AM, John Drescher wrote: It basically comes down to the inconvenience of having to do that with Visual Studio being outweighed (considerably!) by the cross-platform benefits of CMake. (It does help that none of our developers use Windows as their primary development

Re: [CMake] cmake 2.8.6 On Linux , link error and added headers to ..._EXTERNAL_OBJECTS for executables

2011-11-15 Thread Bill Hoffman
On 11/15/2011 11:52 AM, Michael Hertling wrote: Could you boild down this issue to a minimal and self-sufficient example - i.e. a project working with 2.6 (quite old) but failing with 2.8 - and post it here for further investigation? There was a bug created for this, and the problem found.

Re: [CMake] How to build ccmake.exe on Windows?

2011-11-15 Thread Bill Hoffman
On 11/11/2011 3:21 PM, Robert Dailey wrote: I'm using Cygwin with the MSVC toolchain and I need ccmake.exe. I can't use the one from the Cygwin package manager because it's older than the version I'm using. I'd like to build it myself through Visual Studio like I did with cmake and cmake-gui if

Re: [CMake] How to build ccmake.exe on Windows?

2011-11-15 Thread Bill Hoffman
On 11/15/2011 12:59 PM, Robert Dailey wrote: The windows binaries unfortunately do not contain ccmake.exe. You have to use cmake-gui. There is no version of ccmake that will work for what you want to do, sorry... -Bill -- Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Adding a new language

2011-11-15 Thread Bill Hoffman
On 11/14/2011 3:24 PM, Alan W. Irwin wrote: If you are willing to make such an OCaml summary, I would be willing to do the same thing for Ada to make our joint case to the CMake developers of what kind of additional generic language support is needed by CMake to deal with the complicated build

Re: [CMake] Adding a new language

2011-11-15 Thread Bill Hoffman
On 11/15/2011 10:13 PM, Stefan Monnier wrote: I'm trying to use CMake for a new project here. This project (a new programming language, whose first implementation is in OCaml) is currently in the very first stages (I have barely more than the lexer written) and doesn't require anything

Re: [CMake] Adding a new language

2011-11-16 Thread Bill Hoffman
On 11/16/2011 3:52 AM, Michael Hertling wrote: On 11/16/2011 04:13 AM, Stefan Monnier wrote: I'd still like to know how to explain to cmake that the command produces 2 files, but at least I can get rid of my hack. That (assuming just a simple object file is produced by compilation) is one of

Re: [CMake] cmake 2.8.6 On Linux , link error and added headers to ..._EXTERNAL_OBJECTS for executables

2011-11-16 Thread Bill Hoffman
On 11/16/2011 4:43 AM, Michael Hertling wrote: On 11/15/2011 06:04 PM, Bill Hoffman wrote: On 11/15/2011 11:52 AM, Michael Hertling wrote: Could you boild down this issue to a minimal and self-sufficient example - i.e. a project working with 2.6 (quite old) but failing with 2.8 - and post

Re: [CMake] Adding a new language

2011-11-17 Thread Bill Hoffman
On 11/16/2011 4:03 PM, Alan W. Irwin wrote: Hi Bill: Your summary shows you misunderstood what I said so I have to correct that. The basic issue I have with your interpretation is additional generic language support != Creating a generic way to add new languages OK, let me try again.

Re: [CMake] VC2010 Express + CMake = fails

2011-11-18 Thread Bill Hoffman
, and not 2010. What IDE comes up if you run this: C:\PROGRA~2\MICROS~2.NET\Common7\IDE\devenv.com -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

Re: [CMake] VC2010 Express + CMake = fails

2011-11-18 Thread Bill Hoffman
On 11/18/2011 6:58 PM, Robert Dailey wrote: Well since this is VC Express, I don't have a devenv.com http://devenv.com file in my Common7 folder, so I guess that explains it? Shouldn't CMake support VC2010 express? - It does, it is just confused because you have two compilers... See

  1   2   3   4   5   6   7   8   9   10   >