[Cmake-commits] CMake branch, next, updated. v3.0.2-5426-g752fcae

2014-09-23 Thread Bill Hoffman
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=752fcaede3b811298a07b3326d22bd9bf1f77631 commit 752fcaede3b811298a07b3326d22bd9bf1f77631 Merge: 2e5042a 55a885d Author: Bill Hoffman bill.hoff...@kitware.com

[CMake] CMake course in Carrboro, NC October 20, 2014.

2014-09-22 Thread Bill Hoffman
Kitware is hosting a CMake training course, titled “Project Lifecycle Management with the CMake Family of Tools,” in Carrboro, NC. The course will be held on October 20, 2014. Through the course, you will learn how to create a build system for your C/C++/Fortran project using CMake, CPack,

Re: [CMake] Ninja generator fail for QNX on Windows

2014-09-22 Thread Bill Hoffman
On 9/22/2014 1:45 AM, Cristian Adam wrote: On QNX side, thins are not as good. First, in order to compile the project I had to apply this patch [1], provided by Stephen Kelly. And now the fail part for QNX, the second subsequent build doesn't say ninja: no work to do instead it starts

Re: [CMake] Ninja generator fail for QNX on Windows

2014-09-22 Thread Bill Hoffman
On 9/22/2014 11:53 AM, Cristian Adam wrote: -d explain parameter gives for lots of files (probably all) in the project (headers, source files, object files, static libraries, executables) is dirty This means that ninja's method of detecting if a file has been changed doesn't quite work for

Re: [CMake] Code Coverage Bullseye

2014-09-17 Thread Bill Hoffman
On 9/17/2014 8:47 AM, NoRulez wrote: Hello, since code coverage doesn't work very well with gcov and so on on Mac, our company decided to use bullseye for Mac OS too. If you could email the COVFILE to me I could take a look. Also it might help if you could run ctest with --debug and -VV and

Re: [CMake] ITK compiling problem with CMake

2014-09-15 Thread Bill Hoffman
: / /Build flags: / /Id flags: / / / /The output was:/ /The System cannot find the file specified./ / / The OS on my computer is Windows 8.1 with Visual Studio 2012 Pro. It seems a CMake problem, but I don't know how to solve. I'll appreciate your help. Yours, Vincent -- Bill Hoffman Kitware, Inc

Re: [CMake] Incorrect object file name on cmake compilation

2014-09-11 Thread Bill Hoffman
On 9/11/2014 7:04 AM, Ravi Raman wrote: Yes. That's correct David. I was actually looking for an explanation why the object file name is coming with the suffix .cpp.obj instead of the conventional .obj. It was kind of a problem for me because the object file comparison tool uses the object file

Re: [CMake] FW: Parallel GNU make issue

2014-09-11 Thread Bill Hoffman
On 9/11/2014 4:09 PM, Hennigan, Gary L wrote: Thanks for the reply Chuck. Do you have an external projects in this build? -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to

Re: [CMake] Ctest building with Multiple Processors

2014-09-05 Thread Bill Hoffman
On 9/5/2014 11:49 AM, Chuck Atkins wrote: Unfortunately on Windows and VS builds there's not really a simple answer. My blog might be of help: http://www.kitware.com/blog/home/post/434 -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] [PATCH 1/6] Use find on UNIX for fast executable lookup

2014-09-04 Thread Bill Hoffman
On 9/4/2014 12:49 PM, Brad King wrote: On 09/04/2014 12:43 PM, Adam Strzelecki wrote: Generally specifying UNIX mask for present/missing bits Rather than trying to do this with file(GLOB), perhaps we should consider a file(FIND) command for this purpose. It could have more options, including

Re: [cmake-developers] [PATCH 1/6] Use find on UNIX for fast executable lookup

2014-09-04 Thread Bill Hoffman
On 9/4/2014 1:43 PM, Adam Strzelecki wrote: First of all, it looks if find exists on system, otherwise it falls back to old (slow) behavior. So find is optional dependency. My main concern is that it finds a find that does not work as you expect. Also, if it were done in C++ it would

Re: [cmake-developers] Cross compile tests on open.cdash.org

2014-08-29 Thread Bill Hoffman
On 8/29/2014 9:47 AM, Bach, Pascal wrote: Hi Everybody I'm interested in cross compilation, and am already using it extensively for Linux and Embedded Linux. But now I ran into some problems cross compiling for Windows Compact Embedded 2013 using Visual Studio. After some discussion on IRC,

Re: [CMake] Generator-independent incremental CMake run

2014-08-14 Thread Bill Hoffman
On 8/14/2014 11:26 AM, Nagger wrote: So ZERO_CHECK is 34 times faster. Why shouldn't I take advantage of that. If CMake does not need to re-run, then ZERO_CHECK will always be faster than cmake build_dir. cmake build_dir will run a full configure and generate no matter what. That said, a

[Cmake-commits] CMake branch, next, updated. v3.0.1-4902-g427f096

2014-08-13 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=427f096751763b1b94e4303d27713e8ce3ca06ec commit 427f096751763b1b94e4303d27713e8ce3ca06ec Merge: 5c04721 e18ed03 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Wed Aug 13 13:54:14 2014 -0400 Commit: CMake Topic

[Cmake-commits] CMake branch, next, updated. v3.0.1-4908-g3a3bdd2

2014-08-13 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3a3bdd27d79a9f732a7afe90b2b705b1b0f57ea6 commit 3a3bdd27d79a9f732a7afe90b2b705b1b0f57ea6 Merge: 3b10600 e4f8f45 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Wed Aug 13 18:01:29 2014 -0400 Commit: CMake Topic

[Cmake-commits] CMake branch, next, updated. v3.0.1-4910-g1bfdb1d

2014-08-13 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1bfdb1deb286a6dd148797f4141b930847877639 commit 1bfdb1deb286a6dd148797f4141b930847877639 Merge: 3a3bdd2 1bb4b94 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Wed Aug 13 18:04:21 2014 -0400 Commit: CMake Topic

Re: [CMake] Possible bug in environment variable expansion?

2014-08-12 Thread Bill Hoffman
On 8/12/2014 12:44 PM, Chris Volpe ARA/SED wrote: That’s a good thought, but unfortunately it didn’t pan out. I tried both styles, and I even tried explicitly mixing styles like this: BOOST_LIBRARYDIR=C:/local/boost_1_55_0\lib64-msvc-12.0 Or this:

Re: [cmake-developers] Patch: Detect Fujitsu compilers

2014-08-11 Thread Bill Hoffman
On 8/11/2014 10:39 AM, Brad King wrote: The attached patch provides detection for the Fujitsu C/C++ compilers Can you run a dashboard for this compilers? It would be good to make sure it keeps working in the future. http://www.cmake.org/Wiki/CMake/Git/Dashboard Thanks. -Bill -- Powered

Re: [CMake] I have discovered a bug (probably)

2014-08-05 Thread Bill Hoffman
On 8/5/2014 3:57 PM, Ivan Hrasko wrote: 3. You can see there is a difference between Fortran version is defined (cmake 3.0.0) and Fortran version is not defined (cmake 2.8.x.x). So behaviour of CMake has changed a lot and I think it is a bug and can cause problems if someone relies on it. I

[Cmake-commits] CMake branch, next, updated. v3.0.0-4781-g9f19254

2014-08-05 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9f192548e1f7d046b25927469f351ad8542568f8 commit 9f192548e1f7d046b25927469f351ad8542568f8 Merge: ca5ec0d 2cac483 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Tue Aug 5 10:28:01 2014 -0400 Commit: CMake Topic Stage

Re: [CMake] Help cmake First project

2014-08-04 Thread Bill Hoffman
On 8/4/2014 10:26 AM, Rodrigo Faccioli wrote: protpred-Gromacs-NSGA2.c:(.text+0x1e): undefined reference to `display_msg' protpred-Gromacs-NSGA2.c:(.text+0x3e): undefined reference to `load_parameters_from_file' protpred-Gromacs-NSGA2.c:(.text+0x58): undefined reference to `ea_nsga2'

[Cmake-commits] CMake branch, next, updated. v3.0.0-4753-ge951857

2014-08-04 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e951857e6a54a6920e4ab9d198c4d6a4612285bd commit e951857e6a54a6920e4ab9d198c4d6a4612285bd Merge: f197197 7762fff Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Mon Aug 4 15:20:39 2014 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.0.0-4755-ge9a8991

2014-08-04 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e9a89912e887da393c818d0fc2a84c6798fcfe2e commit e9a89912e887da393c818d0fc2a84c6798fcfe2e Merge: e951857 b35a773 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Mon Aug 4 15:34:28 2014 -0400 Commit: CMake Topic Stage

[Cmake-commits] CMake branch, next, updated. v3.0.0-4757-gaa373eb

2014-08-04 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=aa373eb723dc596e8b129a6b2f279df27f6d3dda commit aa373eb723dc596e8b129a6b2f279df27f6d3dda Merge: e9a8991 aea40fc Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Mon Aug 4 15:39:39 2014 -0400 Commit: CMake Topic Stage

[cmake-developers] scan-build of CMake

2014-07-30 Thread Bill Hoffman
I am working on scan-build integration with ctest/CDash and did a build of CMake. The results show up in the warning section of the build: http://open.cdash.org/viewBuildError.php?type=1buildid=3429991 I excluded a few things in STL, but the rest of this might be worth looking at if anyone

[Cmake-commits] CMake branch, next, updated. v3.0.0-4488-gcefe04f

2014-07-24 Thread Bill Hoffman
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cefe04f03d6888be7a80509225f2f6f509d445a6 commit cefe04f03d6888be7a80509225f2f6f509d445a6 Merge: 6ea3b0d 5d40d88 Author: Bill Hoffman bill.hoff...@kitware.com

[Cmake-commits] CMake branch, next, updated. v3.0.0-4490-g807661b

2014-07-24 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=807661bce77368f303b4b5b95f41fd2c4e3131f2 commit 807661bce77368f303b4b5b95f41fd2c4e3131f2 Merge: cefe04f 0e88b1d Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Thu Jul 24 11:34:48 2014 -0400 Commit: CMake Topic

[Cmake-commits] CMake branch, next, updated. v3.0.0-4461-g0bf9d58

2014-07-23 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0bf9d5879e628db98995563428cd3089f4bede3b commit 0bf9d5879e628db98995563428cd3089f4bede3b Merge: c8bae9b 57a2df2 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Wed Jul 23 11:14:20 2014 -0400 Commit: CMake Topic

[Cmake-commits] CMake branch, next, updated. v3.0.0-4423-gcbd554f

2014-07-22 Thread Bill Hoffman
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=cbd554fbd01117866dd11eaac3b0d014d8f4552d commit cbd554fbd01117866dd11eaac3b0d014d8f4552d Merge: 2432d11 f7d62ca Author: Bill Hoffman bill.hoff...@kitware.com

[Cmake-commits] CMake branch, next, updated. v3.0.0-4356-g0770ae4

2014-07-17 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0770ae418e8744515adad65f0941d3594df239e1 commit 0770ae418e8744515adad65f0941d3594df239e1 Merge: 0d1ac35 a4d462d Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Thu Jul 17 11:36:20 2014 -0400 Commit: CMake Topic

[Cmake-commits] CMake branch, next, updated. v3.0.0-4270-g35318f6

2014-07-15 Thread Bill Hoffman
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=35318f60ed0af2b59a4bdb2b781b7af72bb3fc03 commit 35318f60ed0af2b59a4bdb2b781b7af72bb3fc03 Merge: 338096a 7a82885 Author: Bill Hoffman bill.hoff...@kitware.com

Re: [CMake] Changing the the current generator in CMake GUI

2014-07-14 Thread Bill Hoffman
On 7/12/2014 8:17 AM, Bill Hoffman wrote: You can use clear cache. Just to be clear. If you want to change the current generator, you can use File - Delete Cache. Then you will be able to select a new generator for that directory. I guess the GUI could be change to have a change generator

Re: [CMake] Changing the the current generator in CMake GUI

2014-07-12 Thread Bill Hoffman
You can use clear cache. On Jul 12, 2014 5:05 AM, Edward Diener eldlistmaili...@tropicsoft.com wrote: On 7/11/2014 11:01 AM, Bill Hoffman wrote: On 7/11/2014 10:33 AM, Edward Diener wrote: Shouldn't there be a way to change the current generator in the CMake GUI ? It seems like I can only

Re: [CMake] Changing the the current generator in CMake GUI

2014-07-11 Thread Bill Hoffman
On 7/11/2014 10:33 AM, Edward Diener wrote: Shouldn't there be a way to change the current generator in the CMake GUI ? It seems like I can only do this if I choose a new Where to build the binaries path. But what if I just want to change the current generator to something else using the current

[Cmake-commits] CMake branch, next, updated. v3.0.0-4144-gf2fb315

2014-07-07 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f2fb31516ac8b563c0305169a95337551b60f016 commit f2fb31516ac8b563c0305169a95337551b60f016 Merge: 1d7e20c b83fbc2 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Mon Jul 7 16:20:12 2014 -0400 Commit: CMake Topic Stage

Re: [CMake] CMake Visual Studio Configuration Single

2014-07-01 Thread Bill Hoffman
On 7/1/2014 3:38 AM, Jörg Kreuzberger wrote: As newbee to cmake i only could not understand why this single / multi configuration stuff is supported. it makes it more complicated, but i assume it is like always: historical grown. It is supported because that is the way native development

Re: [CMake] Updating files in the source tree.

2014-07-01 Thread Bill Hoffman
On 6/28/2014 1:52 PM, Rick McGuire wrote: The big question comes down to should I?. Is doing this somehow a violation of CMake rules/conventions? Are there any issues I need to consider? And, the ultimate question is whether it is somehow possible to set up dependencies where I could get

Re: [CMake] Updating files in the source tree.

2014-07-01 Thread Bill Hoffman
On 7/1/2014 3:37 PM, Rick McGuire wrote: The big question comes down to should I?. Is doing this somehow a violation of CMake rules/conventions? Are there any issues I need to consider? And, the ultimate question is whether it is somehow possible

[Cmake-commits] CMake branch, next, updated. v3.0.0-3887-g22cd130

2014-06-24 Thread Bill Hoffman
- http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=22cd13005088eae3fbec2cee413113f614c70c9f commit 22cd13005088eae3fbec2cee413113f614c70c9f Merge: c0508c4 9938142 Author: Bill Hoffman bill.hoff...@kitware.com AuthorDate: Tue Jun 24 13:38:12 2014 -0400 Commit: CMake Topic

Re: [CMake] combine multiple library into a single one

2014-06-23 Thread Bill Hoffman
On 6/21/2014 8:00 PM, Emanuele Cannizzaro wrote: Dear Sir/Madame, I am trying to create a library that it depends on compiler flags. I can create 4 library that will all together include all the functions required, that is You should look at Object Libraries:

Re: [CMake] Question of using cmake in Windows

2014-06-23 Thread Bill Hoffman
On 6/23/2014 12:24 PM, jici gao wrote: So why only cmake gui version works for me, not the cmake command? Use the -G option to the cmake on the command line to pick a generator. cmake --help should list the ones supported by your version of cmake. -Bill -- Powered by www.kitware.com

Re: [CMake] List-Id header changed?

2014-06-13 Thread Bill Hoffman
On 6/13/2014 2:15 PM, Hendrik Sattler wrote: Hi, why was the list id header in this last mail changed to Cross-Platform Make cmake.public.kitware.com http://cmake.public.kitware.com? I just imagine the total time for everyone to adapt their filter rules... Regards HS We upgraded mailman to

[Cmake-commits] CMake branch, next, updated. v3.0.0-3727-gf207a13

2014-06-13 Thread Bill Hoffman
, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f207a13efca9d5ecf8c188651291ff5aa18f77e7 commit f207a13efca9d5ecf8c188651291ff5aa18f77e7 Merge: 0d85199 58cc3c2 Author: Bill Hoffman bill.hoff...@kitware.com

Re: [CMake] Cygwin drive paths are killing me

2014-06-11 Thread Bill Hoffman
to generate Unix Makefiles with CMake. I provide a -C initial_cache list to try to pre-populate my dependency list since this is a cross-compile. Are you sure about that?? You can use Android without cygwin on windows http://www.kitware.com/blog/home/post/642 -- Bill Hoffman Kitware, Inc. 28

Re: [cmake-developers] Compiler features/extensions remaining/future issues

2014-06-10 Thread Bill Hoffman
On 6/10/2014 11:30 AM, Stephen Kelly wrote: I think http://sscce.org/ explains is quite well. I want to avoid having to understand all of the ParaView CMake code and that of its dependencies, and whether python bindings need to be enabled etc. The real problem is that we need to have some

Re: [CMake] Mixing GFortran and Intel Fortran on the Same windows machine?

2014-05-30 Thread Bill Hoffman
On 5/30/2014 12:53 PM, Michael Jackson wrote: Is it possible to install both a GFortran and Intel Fortran on the same machine? I have a window 7 x64 machine where I have Visual Studio 2013 Pro installed in addition to Intel Fortran (What ever the latest is) and I also downloaded GFortran (From

Re: [CMake] Mixing GFortran and Intel Fortran on the Same windows machine?

2014-05-30 Thread Bill Hoffman
On 5/30/2014 2:44 PM, Michael Jackson wrote: How is CMake determining if the Intel Compiler is available? Registry query or Path query? I tried to export the FC variable but that did not work either. I guess I'll have to fire up yet-another virtual machine. was just hoping to bounce back and

[CMake] Boston CMake Course (Early registrations ends May 16)

2014-05-13 Thread Bill Hoffman
There is still room in the Project Lifecycle Management with CMake Family of Tools course in Boston on June 4, 2014. The early registration deadline has been extended to May 16! Sign up now at http://training.kitware.fr/browse/69. Hope to see you there. -Bill -- Powered by www.kitware.com

[CMake] Boston CMake Training Course

2014-05-07 Thread Bill Hoffman
Kitware is hosting a CMake training course, titled “Project Lifecycle Management with the CMake Family of Tools,” in Boston, MA. The course will be held on June 4, 2014, and taught by Bill Hoffman, one of the original developers of CMake. Through the course, you will learn how to create

Re: [CMake] CMake for Android projects

2014-05-06 Thread Bill Hoffman
You can look at what we did for VES: http://www.kitware.com/blog/home/post/642 -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more

Re: [CMake] cmake 2.8.12.2 fails on AIX 6.1 with ld: target noipath not found

2014-05-01 Thread Bill Hoffman
On 5/1/2014 12:30 PM, Graham Russell wrote: Hello I installed cmake 2.8.12.2 on AIX 6.1 with the intention of building MySQL. The build fails so I tried to cmake the simplest test program, and I get the same failure. The error is “ld: target noipath not found” It seems to me that “noipath”

Re: [CMake] cmake 2.8.12.2 fails on AIX 6.1 with ld: target noipath not found

2014-05-01 Thread Bill Hoffman
On 5/1/2014 4:04 PM, Graham Russell wrote: Thanks for the response, Bill. I confirmed that the compiler install works fine: pvm-vangogh-94:grussell [625] /usr/local/bin/gcc hello.c -o hello pvm-vangogh-94:grussell [626] ./hello Hello World! I also tested it with your simple program and it

Re: [CMake] cmake 2.8.12.2 fails on AIX 6.1 with ld: target noipath not found

2014-05-01 Thread Bill Hoffman
...@cmake.org] On Behalf Of Bill Hoffman Sent: Thursday, May 01, 2014 1:33 PM To: cmake@cmake.org Subject: Re: [CMake] cmake 2.8.12.2 fails on AIX 6.1 with ld: target noipath not found On 5/1/2014 4:04 PM, Graham Russell wrote: Thanks for the response, Bill. I confirmed that the compiler install

Re: [cmake-developers] cmake --find-package

2014-04-23 Thread Bill Hoffman
On 4/23/2014 12:22 PM, Alan W. Irwin wrote: However, if you discover the problem is a general one for --find-package and Qt5, then it appears that Qt5 might be a good illustrative example to use for your renewed effort at developing a reliable --find-package capability. I recently ran into a

Re: [cmake-developers] Building executables as libraries

2014-03-26 Thread Bill Hoffman
On 3/26/2014 10:18 AM, J Decker wrote: and (sorry for double reply) having add_executable always build as a library means I can't build real executables... if it did it based on the WIN32 flag (or equivalent0 it would be better Maybe that is a good analogy. Instead of WIN32, we add an ANDROID

Re: [cmake-developers] Who does CMake contract work?

2014-03-06 Thread Bill Hoffman
-- Vince Harron | Technical Lead Manager | vhar...@google.com mailto:vhar...@google.com | 858-442-0868 -- 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] Force configure step to build and install depends before completing.

2014-02-25 Thread Bill Hoffman
On 2/20/2014 5:54 PM, Jack Smith wrote: I think I've have an epiphany. I've been really struggling to understand how to get my build to work, and it seems the problem is with the configure step of cmake. I would like to see some mechanism whereby I can delay the completion of the configure

Re: [CMake] Run clean before automatically re-running cmake?

2014-02-14 Thread Bill Hoffman
On 2/14/2014 11:00 AM, Abe Bachrach wrote: I'd only want to do a full build if one of the CMakeLists.txt has changed (cmake needs to get re-run). Otherwise, I'd like to do a normal build. That seems a bit over kill to me. I would rather have a few extra files than having a complete clean done

Re: [CMake] CMake/CPack /w BundleUtilities on Windows with NSIS fails

2014-02-13 Thread Bill Hoffman
On 2/13/2014 2:23 PM, Bill Somerville wrote: I would really like to know why it is going wrong with dumpbin in package generation because using objtool is too slow! Sounds like a PATH issue. Try getting dumpbin to work from the command line that you are using. -Bill -- Powered by

[cmake-developers] ninja parallelism and LLVM cmake builds

2014-02-10 Thread Bill Hoffman
Someone just posted this comment to one of my blogs: (http://www.kitware.com/blog/home/post/434) I don’t know if CMake or Ninja (or LLVM’s build rules) are at fault here, but when I build Clang and LLVM under CMake and Ninja, parallelism often drops to zero when a static library is being

[CMake] Early registration ends soon for CMake Santa Fe course

2014-02-06 Thread Bill Hoffman
Don't forget to register for Kitware's CMake course in Santa Fe. Early registration ends February 12, 2014. http://training.kitware.fr/browse/52 -Bill -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers

Re: [cmake-developers] WG: [CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1

2014-01-29 Thread Bill Hoffman
On 1/29/2014 8:35 AM, Dominik Bernhardt wrote: I just tested it again with the latest master from today. For my particular project the configure step with the current master takes 290s. If I only replace the UseQt4.cmake in the master with the version from 2.8.12.1 the configure time goes down

Re: [cmake-developers] WG: [CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1

2014-01-29 Thread Bill Hoffman
On 1/29/2014 11:54 AM, Dominik Bernhardt wrote: Unfortunately it did not help. Approximately same results as before. Have you run --trace to see why UseQt4 is being parsed so many times? -Bill -- Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Does a ctested build work with make -j

2014-01-28 Thread Bill Hoffman
in the file that CTest reads to get the build command. If you set that make Experimental will work. If you note the change in the Sliicer github link you sent, you can see it sets MAKECOMMAND=${CMAKE_MAKE_COMMAND} -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065

Re: [CMake] Does a ctested build work with make -j

2014-01-28 Thread Bill Hoffman
On 1/28/2014 10:46 AM, Bill Hoffman wrote: MAKECOMMAND is set by CTest.cmake and gets put in the file that CTest reads to get the build command. If you set that make Experimental will work. If you note the change in the Sliicer github link you sent, you can see it sets MAKECOMMAND

Re: [CMake] Does a ctested build work with make -j

2014-01-27 Thread Bill Hoffman
On 1/27/2014 1:42 PM, John Cary wrote: It seems that after configuring with ctest enabled, make -j4 does 4 builds at once make ExperimentalStart ExperimentalBUild -j4 does only one build at a time. Is this behavior expected? Is there a way to get back to parallel builds when

Re: [cmake-developers] [CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1

2014-01-16 Thread Bill Hoffman
Moving this to cmake-developers list: On 1/16/2014 9:55 AM, Clinton Stimpson wrote: On one of my projects, I see ~3.0 seconds for CMake 2.8.12 and ~3.8 seconds for CMake master. I don't have an idea why, but with my test, it doesn't see like much slower. 3.8 from 3.0 is much slower in my

Re: [CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1

2014-01-16 Thread Bill Hoffman
On 1/16/2014 10:10 AM, Dominik Bernhardt wrote: On one of my projects, I see ~3.0 seconds for CMake 2.8.12 and ~3.8 seconds for CMake master. I don't have an idea why, but with my test, it doesn't see like much slower. In one of my projects it's unfortunately ~5s versus ~45s :( . The most

Re: [CMake] patch on Windows

2014-01-14 Thread Bill Hoffman
On 1/12/2014 7:46 AM, Rob McDonald wrote: It doesn't. It would be great if CMake implemented a cmake -E patch. Agreed. Yes, it would. However, there does not seem to exist a good BSD licensed patch implementation that we can use. I think it would be quite a bit of work to implement

Re: [CMake] patch on Windows

2014-01-14 Thread Bill Hoffman
On 1/14/2014 10:48 AM, Nils Gladitz wrote: I don't know about good but perhaps: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/patch/patch.c?rev=1.51;content-type=text%2Fplain https://github.com/freebsd/freebsd/blob/master/usr.bin/patch/patch.c It would take a bit to port it to

[CMake] Announce: CMake course March 4, 2014 in Santa Fe

2014-01-14 Thread Bill Hoffman
). The price of the course via early registration is $650. Early registration is available through February 12th. The price of the course via regular registration is $815. Hope to see you there. -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com

Re: [cmake-developers] Better QNX QCC handling

2014-01-10 Thread Bill Hoffman
On 1/10/2014 9:12 AM, Brad King wrote: On 01/09/2014 06:08 PM, Stephen Kelly wrote: The solution would seem to be to create a new compiler id 'QCC' If the compiler has its own command-line front-end that uses different flags than the currently detected compiler id, then yes a new id makes

Re: [CMake] Fwd: Visual Studio command line from CMake

2014-01-09 Thread Bill Hoffman
On 1/9/2014 1:48 PM, Rob McDonald wrote: Correct, this is one of the concerns that makes it more complex than just searching for the first vcvarsall.bat you come to. I'd like to match up the vcvarsall to the version of visual studio currently in use by CMake. I think there are now enough

Re: [CMake] Provide 64bit Linux binaries

2014-01-08 Thread Bill Hoffman
On 1/8/2014 4:07 PM, Magnus Therning wrote: What 64-bit Linux distribution, that doesn't package CMake, do you use? Still it is not a bad idea to provide them since 32 bit is now mostly a compatibility thing. It maybe that a distro does not provide the most recent version or a user does not

Re: [CMake] Backslash instead of slashes in *.vcxproj files

2014-01-07 Thread Bill Hoffman
/VisualStudio/feedback/details/778367/vc-2012-mistakes-include-path-for-compiler-switch-and-runs-a-full-rebuild Can you create a bug for this? -- 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

Re: [CMake] ExternalProjects_Add limitations

2014-01-06 Thread Bill Hoffman
On 1/5/2014 12:14 PM, Rob McDonald wrote: I have since tried moving to a two-class system, where my main project is not ExternalProject_Add'ed, but the big dependencies are. This of course runs into the problem where the libraries are not built when the FindXXX.cmake modules go looking for

Re: [CMake] ExternalProjects_Add limitations

2014-01-06 Thread Bill Hoffman
On 1/6/2014 10:05 AM, Bill Hoffman wrote: There is not a good way to make this work. Everything HAS to be external project including your project. You have a couple of options: 1. leave it with your project as an external project along with the other depends. Then instruct your developers

Re: [cmake-developers] cmake build does too much work

2013-12-12 Thread Bill Hoffman
On 12/12/2013 11:46 AM, Matthew Woehlke wrote: Where template.hpp changes (testing with 2.8.12.1 shows that touching template.hpp triggers a rebuild with Ninja, but not Unix Makefiles), That sounds like a bug :-). Yes, this is a bug. ninja and make should be the same. -- Powered by

Re: [CMake] depend.make

2013-12-12 Thread Bill Hoffman
On 12/12/2013 8:17 AM, Lars wrote: Here is the link: http://www.itk.org/Bug/print_bug_page.php?bug_id=8561 Is this causing you a problem?If there are some extra depends on boost files what is the harm? I am assuming that you are not changing them that much... You could also try the

Re: [CMake] depend.make

2013-12-12 Thread Bill Hoffman
On 12/12/2013 1:07 PM, Lars wrote: Building our software using CMake and VS2005 on Windows platform is very slow. Debugging this issue I discovered the several of the depent.make files are huge. One example is a depent.make file that is roughly 10 MB. In this file most of the object files

Re: [cmake-developers] cmake build does too much work

2013-12-11 Thread Bill Hoffman
On 12/11/2013 5:13 PM, Matthew Woehlke wrote: I've been working on a project lately that isn't *that* massively large, but has an unusually high number of library and executable targets. One thing that's been bugging me is that any trivial change in a lower level library causes more than a

Re: [cmake-developers] cmake build does too much work

2013-12-11 Thread Bill Hoffman
On 12/11/2013 6:00 PM, Stephen Kelly wrote: You opposed a sensible default for CMAKE_LINK_DEPENDS_NO_SHARED: https://www.mail-archive.com/cmake-developers@cmake.org/msg06169.html I continue to consider the default value of that to be a mistake. I am on the fence with this one. It is always

Re: [CMake] Making cmake automatically pick up changes to directory contents.

2013-12-03 Thread Bill Hoffman
On 12/3/2013 8:58 AM, bi...@billw.mail1.co.uk wrote: reasonable to expect them to manage enormous (1800+) file lists when we already have a directory structure in place the designates project file lists. Hence the GLOBing (my various Googlings for the issue shows that I'm definitely not the

Re: [CMake] Making cmake automatically pick up changes to directory contents.

2013-12-02 Thread Bill Hoffman
On 12/2/2013 12:58 PM, bi...@billw.mail1.co.uk wrote: I just finished converting a large project from VC project files to Cmake generated ones and am using file GLOBing to generate the file lists for builds. This is working fine and I don't see the benefit to explicitly specifying every file.

[cmake-developers] Fwd: [Bug 375012] Re: Cmake is screwed building KDE Application

2013-11-25 Thread Bill Hoffman
FYI. Original Message Subject: [Bug 375012] Re: Cmake is screwed building KDE Application Date: Mon, 25 Nov 2013 20:38:35 - From: Launchpad Bug Tracker 375...@bugs.launchpad.net Reply-To: Bug 375012 375...@bugs.launchpad.net To: cm...@packages.qa.debian.org Status

Re: [CMake] Difference between CMake and CVS CMake when using Bullseye

2013-11-21 Thread Bill Hoffman
On 11/21/2013 11:44 AM, NoRulez wrote: Hi, i want to try Bullseye on Windows and have CMake 2.8.12 installed. Bullseye get called, creates the CMake.cov file in the binary folder but doesn't produce output in CDash. I then read that this does only work when CVS CMake is used. What is the

Re: [CMake] Difference between CMake and CVS CMake when using Bullseye

2013-11-21 Thread Bill Hoffman
On 11/21/2013 3:16 PM, NoRulez wrote: I followed the following article in the Wiki to extend my CTestScript: http://www.cmake.org/Wiki/CTest/Coverage#C.2FC.2B.2B_Coverage_with_Bullseye And i read about CVS CMake in the mailing list:

Re: [CMake] simple ctest question: how to run test by number ?

2013-11-15 Thread Bill Hoffman
Start 319: CMake.EndStuff 1/1 Test #319: CMake.EndStuff ... Passed0.44 sec -- 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] can non cmake projects be added by externalproject_add?

2013-11-12 Thread Bill Hoffman
On 11/12/2013 1:21 PM, Jean-Christophe Fillion-Robin wrote: And also: https://github.com/Slicer/Slicer/tree/master/SuperBuild Hth Jc You may also want to look here: http://www.kitware.com/media/html/BuildingExternalProjectsWithCMake2.8.html -Bill -- Powered by www.kitware.com Please keep

Re: [CMake] Unicode path wrecks havoc with VS2013 generator

2013-11-08 Thread Bill Hoffman
On 11/8/2013 4:48 AM, Nagy-Egri Máté Ferenc wrote: Hi! I have the following issue, which I do not know whether it is an issue of CMake or Visual Studio. When I try to generate a Visual Studio project under a path that contains unicode characters, VS fails to compile the simple test file and

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread Bill Hoffman
On 11/4/2013 10:21 AM, Mateusz Loskot wrote: I don't care about MinGW/Cygwin myself, but AFAIR, there is no detection mechanism for those, only -m64 flag juggling. You could look at the compiler id and related variables:

Re: [CMake] Forwarding parameters to cmake through cmake-gui

2013-11-01 Thread Bill Hoffman
On 11/1/2013 10:47 AM, physhh . wrote: If cmake is used directly from the command line, it's possible to pass a bunch of options (http://www.cmake.org/cmake/help/v2.8.12/cmake.html#section_Options). This is nice because with this it's possible to use default settings - even if the cache get

Re: [CMake] CTest - Speed Optimization

2013-10-31 Thread Bill Hoffman
On 10/31/2013 1:17 PM, Stephen Kelly wrote: There is a -j flag for ctest, which at enables parallel testing. Not sure whether it enables also parallel building. I don't know, but I hope not. That wouldn't be a good idea because it would try to do N*N things at once instead of N things at once,

Re: [CMake] Error when bootstrapping CMake (v. 2.8.12)

2013-10-30 Thread Bill Hoffman
/include;;-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//libtool/2.4.2/include;;-I/afs/enea.it/project/sysbiolab/soft/generic-dev/gcc/4.5.2//readline/6.2/include; -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065 bill.hoff...@kitware.com http://www.kitware.com 518

[cmake-developers] Fwd: Re: Ninja keeps starting cmake

2013-10-29 Thread Bill Hoffman
An issue came up on the ninja list. Seems that the most recent version of cmake in some cases re-runs cmake every time in some cases on the Mac. It seems to be related to app bundle creation. Here is the information so far: Original Message Subject: Re: Ninja keeps

Re: [CMake] /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.5' not found

2013-10-29 Thread Bill Hoffman
On 10/29/2013 2:33 PM, Izaak Beekman wrote: I am having a similar problem to Chandan, except I am trying to establish a dashboard for the intel compilers on RHEL5 x86_64 Linux. I can't seem to successfully point the CMake build to the version of libstdc++ that has the correct interface. Any

Re: [CMake] Visual Studio and /STACK

2013-10-25 Thread Bill Hoffman
On 10/25/2013 4:36 PM, James Bigler wrote: My experience mirrored Clint's. Our version of CMake on the farm was at 2.8.12, but locally developers were at differing versions. What made matters worse is that it is a lot harder to diagnose problems from farm built binaries, so it wasn't until one

Re: [cmake-developers] CTest: Request review of topic ctest-fix-run-serial

2013-10-23 Thread Bill Hoffman
On 10/23/2013 3:53 AM, Nils Gladitz wrote: Hello Bill, Would you approve a merge of the topic into next? Who else should I be asking for approval? e.g. is there a CTest specific maintainer? Thanks in advance. I am traveling right now at our NC Kitware office. There is someone there that has

Re: [CMake] Mixed Fortran and C sources with Visual Studio 10

2013-10-22 Thread Bill Hoffman
On 10/22/2013 11:04 AM, Brian Wainscott wrote: Arjen, Thanks -- that was more or less what I understood also. And I was thinking about that approach, but frankly just expected that if that was a limitation of VS, and cmake builds for VS, then cmake should do that for me. I'm just surprised

Re: [cmake-developers] CTest: Request review of topic ctest-fix-run-serial

2013-10-21 Thread Bill Hoffman
On 10/21/2013 2:39 PM, Nils Gladitz wrote: I haven't see that fail on my local test runs. Is it sporadic or does it fail for you consistently? Never mind on this one. Looks like it fails for me without your changes. -Bill -- Powered by www.kitware.com Visit other Kitware open-source

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