[cmake-developers] [CMake 0014080]: add_custom_command does not allow for std* connection
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=14080 == Reported By:manday Assigned To: == Project:CMake Issue ID: 14080 Category: CMake Reproducibility:always Severity: minor Priority: normal Status: new == Date Submitted: 2013-04-13 05:51 EDT Last Modified: 2013-04-13 05:51 EDT == Summary:add_custom_command does not allow for std* connection Description: add_custom_command overlaps with execute_process, however, does not allow for the same operations as execute_process. Most notably, it does not allow for connection of stdin, stdout and stderr (and writing them into files). Bug: add_custom_command should be as least as powerful as execute_process. Note: It would be preferable if execute_process and add_custom_command were unified, as in their redundancy removed. == Issue History Date ModifiedUsername FieldChange == 2013-04-13 05:51 manday New Issue == -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
Re: [CMake] TARGET_LINK_LIBRARIES got a link error
On Sat, Apr 13, 2013 at 1:04 AM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Friday 12 April 2013, Lloyd wrote: Hi, I am new to Cmake and at present exploring its features for migrating our projects build system to use it. I have main source folder inside that another folder contains the source for our custom library. I understand that the problem is with my cmake file. Through that the generated project cannot locate the location of my library build location. What is the right way to solve this kind of problem? Thanks, Lloyd As a sample I am including my Cmake code #Cmake file of library source code #Path- Myproject/src/lib/reverse cmake_minimum_required (VERSION 2.6) if(WIN32) SET (REV_SRC reverse.cpp reverse.h) else(WIN32) SET (REV_SRC reverse.cpp) endif(WIN32) ADD_DEFINITIONS(-DREVERSE_EXPORTS) Just some nitpicking: I'd recommend to start writing also the cmake files in good style, i.e. with proper indentation and consistent upper- or lower casing. Also, if there are no strong reasons against it, I'd recommend to require a higher version of cmake, at least 2.8.0, better 2.8.3 or newer. This will give you more features and bug fixes, braces in if()-conditions. Then this code would look like: cmake_minimum_required (VERSION 2.8) if(WIN32) set(REV_SRC reverse.cpp reverse.h) else() set (REV_SRC reverse.cpp) endif() add_definitions(-DREVERSE_EXPORTS) Alex Thank you Alex, My system already had cmake 2.6, that is why I chose that. And again thanks for your style guide. Lloyd -- 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] is it possible to download CMake modules at configure time?
Hi Radovan, Did you manage to make use and/or generalize the code I pointed you? Thanks Jc -- Sent from my mobile device On Apr 6, 2013 10:29 AM, radovan bast rado...@bast.fr wrote: dear Jean-Christophe, wonderful! thank you very much. i will test it out. best regards, radovan On Fri, 05 Apr 2013 18:13:52 +0200, Jean-Christophe Fillion-Robin jchris.filli...@kitware.com wrote: Hi Radovan, This is possible. You could look at the approach we consider in CTK. See https://github.com/commontk/**CTK/compare/** 00694c9f8a0da6ee28fb079902e6a8**c3ec428058...** 891aa5443b110cc7e6aa0ec1339aad**4b2c83ef9dhttps://github.com/commontk/CTK/compare/00694c9f8a0da6ee28fb079902e6a8c3ec428058...891aa5443b110cc7e6aa0ec1339aad4b2c83ef9d Hth Jc On Fri, Apr 5, 2013 at 12:03 PM, radovan bast radovan.b...@irsamc.ups-tlse.**fr radovan.b...@irsamc.ups-tlse.fr wrote: dear CMake developers and users, first of all, a big thanks for the CMake developers for a great product! we like CMake a lot. we are extensively using CMake external project support in combination with Git submodules in a number of larger projects and that works nicely. my question is: could i do something similar with CMake modules? is it possible to start with a minimal core CMakeLists.txt which would fetch other CMake modules from an external public (Git) repository and use them to configure the project? the motivation for this is that we have several projects with rather complex CMake infrastructures. the projects are independent, live on different repositories, but the CMake infrastructures are to a large extent overlapping. currently we synchronize the CMake code between these projects manually but this is not great and there is the risk that the codes will diverge, that wheels will be reinvented, and that improvements are not communicated between the projects. this could be avoided if the CMake code was not explicitly present but fetched from a repository which would also enforce (or encourage) communicating all improvements to the same place. everything that is generic and not project specific would go into that external repo, only project specific things would be kept in the minimal core CMakeLists.txt. i will appreciate any pointers and suggestions on how i could implement such a scheme. thanks and best regards, radovan -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/** opensource/opensource.htmlhtt**p://www.kitware.com/** opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQhttp://www.cmake.org/Wiki/**CMake_FAQ http://www.cmake.**org/Wiki/CMake_FAQhttp://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmakehttp://www.cmake.org/mailman/**listinfo/cmake http://www.**cmake.org/mailman/listinfo/**cmakehttp://www.cmake.org/mailman/listinfo/cmake -- 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.10.2-988-gee62ac4
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 ee62ac4f1a3b79a62f4f1887c8e384f78164a455 (commit) from edd90f9911bc543871463425f76e38e710ceb276 (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=ee62ac4f1a3b79a62f4f1887c8e384f78164a455 commit ee62ac4f1a3b79a62f4f1887c8e384f78164a455 Author: Kitware Robot kwro...@kitware.com AuthorDate: Sun Apr 14 00:01:03 2013 -0400 Commit: Kitware Robot kwro...@kitware.com CommitDate: Sun Apr 14 00:01:03 2013 -0400 CMake Nightly Date Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index ff88cd7..3b26f3b 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ set(CMake_VERSION_MAJOR 2) set(CMake_VERSION_MINOR 8) set(CMake_VERSION_PATCH 10) -set(CMake_VERSION_TWEAK 20130413) +set(CMake_VERSION_TWEAK 20130414) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.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