Re: [CMake] ExternalProject: avoiding rebuilds
Am Freitag, 23. September 2011, 16:26:46 schrieb Ben Medina: Hello all, I'm trying to adopt greater usage of ExternalProject in my project. One problem I'd like to resolve is spurious rebuilds of external projects. [...] This works great: building test first untars the CLAPACK source and builds it, as expected. However, if I rebuild test (i.e. in Visual Studio, right-click on test and rebuild), then the CLAPACK tarball get extracted *again*, and a full rebuild of CLAPACK happens. I'd expect that, unless the tarball is changed, a rebuild of the external project is a no-op. Is there a way to achieve my desired behavior? Yes, use the correct option. Rebuild means rebuild this target and all of it's dependencies. There is a different option, something like rebuild only this target. Just use this one. Eike signature.asc Description: This is a digitally signed message part. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] ExternalProject: avoiding rebuilds
On Sat, Sep 24, 2011 at 4:11 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Freitag, 23. September 2011, 16:26:46 schrieb Ben Medina: Hello all, I'm trying to adopt greater usage of ExternalProject in my project. One problem I'd like to resolve is spurious rebuilds of external projects. [...] This works great: building test first untars the CLAPACK source and builds it, as expected. However, if I rebuild test (i.e. in Visual Studio, right-click on test and rebuild), then the CLAPACK tarball get extracted *again*, and a full rebuild of CLAPACK happens. I'd expect that, unless the tarball is changed, a rebuild of the external project is a no-op. Is there a way to achieve my desired behavior? Yes, use the correct option. Rebuild means rebuild this target and all of it's dependencies. There is a different option, something like rebuild only this target. Just use this one. That may be difficult in practice. I mean I typically have 20 to 40 targets in my projects and sometimes I would want them all rebuilt. However I there is a batch build option in Visual Studio that can be used for that. In this case you check which targets you want built so you can click select all and then uncheck the external project. John -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[CMake] cmake_clean_${lang}.cmake
Hello. I'm adding Haskell support to the CMake and stumbled with this problem: CMAKE_Haskell_COMPILE_OBJECT rule produces two files (.o itself and .hi interface file used by haskell compiler). when i run `make clean`, all .o's are deleted, but .hi's aren't. I've found these lines in cmake_clean.cmake: # Per-language clean rules from dependency scanning. FOREACH(lang Haskell) INCLUDE(CMakeFiles/dir_test.dir/cmake_clean_${lang}.cmake OPTIONAL) ENDFOREACH(lang) Can you provide me information on how to create this cmake_clean_${lang}.cmake file? Please CC me, since i'm not subscribed to the list. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Visualizing all build-system options
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 showing a window with the list of variables, not just the ones in the name/values dialog in the GUI, that an be searched when say CMake Errors out and dumps an error to the output text field in the GUI. This way I could see what all the variables are in the active cmake file being parsed without having to message them to the screen. just going though the messages and found this recently. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
[Cmake-commits] CMake branch, master, updated. v2.8.5-504-g9584135
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 95841356744bc7b1d4290a7b8f717e689490c912 (commit) from e4bd3b0cf31d88976dbe657c68f56eb779d38cf1 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log - http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=95841356744bc7b1d4290a7b8f717e689490c912 commit 95841356744bc7b1d4290a7b8f717e689490c912 Author: KWSys Robot kwro...@kitware.com AuthorDate: Sun Sep 25 00:01:05 2011 -0400 Commit: KWSys Robot kwro...@kitware.com CommitDate: Sun Sep 25 00:09:58 2011 -0400 KWSys Nightly Date Stamp diff --git a/Source/kwsys/kwsysDateStamp.cmake b/Source/kwsys/kwsysDateStamp.cmake index c358531..3f6184d 100644 --- a/Source/kwsys/kwsysDateStamp.cmake +++ b/Source/kwsys/kwsysDateStamp.cmake @@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR 2011) SET(KWSYS_DATE_STAMP_MONTH 09) # KWSys version date day component. Format is DD. -SET(KWSYS_DATE_STAMP_DAY 24) +SET(KWSYS_DATE_STAMP_DAY 25) --- Summary of changes: Source/kwsys/kwsysDateStamp.cmake |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) hooks/post-receive -- CMake ___ Cmake-commits mailing list Cmake-commits@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits