[Cmake-commits] CMake branch, master, updated. v3.10.2-1043-g1da3f3e

2018-02-07 Thread Kitware Robot
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  1da3f3e916de5ac6e64b473575d02bb3d358fc76 (commit)
  from  5656ebc87cab02762d242326c6e5397393e671d7 (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 -
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1da3f3e916de5ac6e64b473575d02bb3d358fc76
commit 1da3f3e916de5ac6e64b473575d02bb3d358fc76
Author: Kitware Robot <kwro...@kitware.com>
AuthorDate: Thu Feb 8 00:01:12 2018 -0500
Commit: Kitware Robot <kwro...@kitware.com>
CommitDate: Thu Feb 8 00:01:12 2018 -0500

CMake Nightly Date Stamp

diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake
index 1aa1ccc..3023daa 100644
--- a/Source/CMakeVersion.cmake
+++ b/Source/CMakeVersion.cmake
@@ -1,5 +1,5 @@
 # CMake version number components.
 set(CMake_VERSION_MAJOR 3)
 set(CMake_VERSION_MINOR 11)
-set(CMake_VERSION_PATCH 20180207)
+set(CMake_VERSION_PATCH 20180208)
 #set(CMake_VERSION_RC 1)

---

Summary of changes:
 Source/CMakeVersion.cmake |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
https://cmake.org/mailman/listinfo/cmake-commits


[CMake] Question about eclipse

2018-02-07 Thread jaeho jo
Hi! I have a Question aboue eclipse.

I have a one C project in eclipse.

I have built this project only using eclipse so far.

I want to build thid C project using cmake

  Should I write the CMakeLists.txt file myself?? or Is there a way to set
CMake build environment automatically?

I can find many way to import existing cmake project to eclipse.

But, I can't find how to set cmake build configuration about existing
eclipse C project easily

Thanks
-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


Re: [CMake] Update and build child projects if a parent (dependency) is updated

2018-02-07 Thread Craig Scott
On Thu, 8 Feb 2018 at 4:52 am, Saad Khattak  wrote:

> Hi,
>
> I have a lot of projects with many dependencies. Support ProjE depends on
> ProjD which in turn depends on ProjB and ProjC where ProjB depends on ProjA.
>
> If ProjA, is updated, I would like some way to trigger the generate/build
> (or just build, assuming the projects are already generated) ProjB, ProjD
> and ProjE (not ProjC as it did not depend on ProjA).
>
> I realize this is not possible without ProjA somehow knowing about its
> dependent projects. And so I don't mind if it's a new master project or
> super build. What I would like however is for CMake to generate this master
> project for me (as it already knows the dependency hierarchy). Then, it'll
> just be a matter of building this 'superbuild' which in turn detects that
> ProjA has been updated, and updates/builds all its dependents.
>
> I can do this manually by ExternalProject_Add, but that is just error
> prone and not at all automated. If the projects go into the double or
> triple digit range, you can see why manually preparing the superbuild
> project is not a good solution.
>

An alternative to the superbuild approach is the new FetchContent module
that has been added in the upcoming 3.11 release. You can see the docs for
it here:

https://cmake.org/cmake/help/git-master/module/FetchContent.html

It may be more convenient for the situation you describe. There’s even a
somewhat similar example in those docs for inter project dependencies along
the lines of your case.



> --
Craig Scott
Melbourne, Australia
https://crascit.com
-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


Re: [cmake-developers] Adding a non-make based generator

2018-02-07 Thread Alexander Neundorf
Hi Kurram,

On 2018 M02 7, Wed 12:09:54 CET Saeed, Khurram wrote:
> Hi Neundorf,
> This generator can only be used for generating Nucleus ReadyStart IDE
> projects. It generates Eclipse CDT project files that use ReadyStart
> specific plugins and configurations.

I have the impression Brad was not overly excited.
On the other I have the impression that the Eclipse CDT team is also not 
overly excited of the cmake server mode (at least 2 years ago when I was on 
the mailing list).

Would it be hard to extend your generator so that it can also be used for 
"normal" Eclipse CDT projects ? Is it already available somewhere, e.g. github 
?

Alex

-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers


[CMake] CPack + WIX + vcredist, is it possible?

2018-02-07 Thread Alexander Shaduri
Hello,

Is it possible to use CPack with WIX (Windows Installer) generator and
run vcredist_*.exe at install time?

Some considerations:

* WIX cannot run two installers at once so something called Burn has to
be used. I'm not sure whether CPack can do it, I cannot find any
relevant documentation.

* MSM (merge modules) are usually suggested instead of vcredist, but
they are discouraged by MS and there is no UCRT MSM which is needed by
programs compiled with VS2017, so vcredist has to be used.

* I don't want to use local dll deployment since it's discouraged by
MS, plus I don't think it's a good solution for various reasons.

Thanks,
Alexander

-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[CMake] Update and build child projects if a parent (dependency) is updated

2018-02-07 Thread Saad Khattak
Hi,

I have a lot of projects with many dependencies. Support ProjE depends on
ProjD which in turn depends on ProjB and ProjC where ProjB depends on ProjA.

If ProjA, is updated, I would like some way to trigger the generate/build
(or just build, assuming the projects are already generated) ProjB, ProjD
and ProjE (not ProjC as it did not depend on ProjA).

I realize this is not possible without ProjA somehow knowing about its
dependent projects. And so I don't mind if it's a new master project or
super build. What I would like however is for CMake to generate this master
project for me (as it already knows the dependency hierarchy). Then, it'll
just be a matter of building this 'superbuild' which in turn detects that
ProjA has been updated, and updates/builds all its dependents.

I can do this manually by ExternalProject_Add, but that is just error prone
and not at all automated. If the projects go into the double or triple
digit range, you can see why manually preparing the superbuild project is
not a good solution.

Thanks,
Saad
-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


Re: [cmake-developers] cmake_format

2018-02-07 Thread Ben Boeckel
On Wed, Feb 07, 2018 at 13:27:28 +0100, Cristian Adam wrote:
> I don't remember seeing this tool advertised on the CMake mailing lists:
> 
> https://github.com/cheshirekow/cmake_format/tree/master/cmake_format

Cool! I have some feature requests, but I'll add them over there :) .

--Ben
-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers


Re: [CMake] [cmake-developers] cmake_format

2018-02-07 Thread Ben Boeckel
On Wed, Feb 07, 2018 at 13:27:28 +0100, Cristian Adam wrote:
> I don't remember seeing this tool advertised on the CMake mailing lists:
> 
> https://github.com/cheshirekow/cmake_format/tree/master/cmake_format

Cool! I have some feature requests, but I'll add them over there :) .

--Ben
-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[CMake] cmake_format

2018-02-07 Thread Cristian Adam
Hi,

I don't remember seeing this tool advertised on the CMake mailing lists:

https://github.com/cheshirekow/cmake_format/tree/master/cmake_format

*cmake-format can format your listfiles nicely so that they don't look like
crap.*

Cheers,
Cristian.
-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[cmake-developers] cmake_format

2018-02-07 Thread Cristian Adam
Hi,

I don't remember seeing this tool advertised on the CMake mailing lists:

https://github.com/cheshirekow/cmake_format/tree/master/cmake_format

*cmake-format can format your listfiles nicely so that they don't look like
crap.*

Cheers,
Cristian.
-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers


Re: [cmake-developers] Adding a non-make based generator

2018-02-07 Thread Saeed, Khurram
Hi Neundorf,
This generator can only be used for generating Nucleus ReadyStart IDE projects. 
It generates Eclipse CDT project files that use ReadyStart specific plugins and 
configurations.

Best Regards,
Khurram

-Original Message-
From: Alexander Neundorf [mailto:neund...@kde.org] 
Sent: Saturday, February 03, 2018 2:50 AM
To: cmake-developers@cmake.org
Cc: Saeed, Khurram 
Subject: Re: [cmake-developers] Adding a non-make based generator

Hi Saeed,

On 2018 M02 2, Fri 15:05:19 CET Saeed, Khurram wrote:
> Hi,
> Nucleus
> ReadyStart /> is an eclipse based IDE by Mentor 
> Embedded(tm).
> It is used for creating and building C/C++ based Nucleus 
> RTOS projects for 
> embedded devices. We have added a new generator in CMake to give the 
> option of generating Nucleus ReadyStart based projects to our 
> customers. This is not a 'make-based' generator as Nucleus ReadyStart 
> projects are built using Eclipse CDT managed build system. In this 
> generator we are generating .project and .cproject files for Nucleus 
> ReadyStart application.
> 
> Do you think we can contribute this generator to community?

does that mean it also works for "normal" Eclipse CDT, or only for ReadyStart ?
If it works for Eclipse in general, I would happily remove the current Eclipse 
CDT generator (which I wrote).
Do all tests pass using your generator ?

Alex

-- 

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 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake-developers