Anyone?
Thanks,
B.
On 09/18/2015 11:42 AM, Bill Newcomb wrote:
Suppose I add a library in my project:
add_library(foo STATIC foo.c bar.c)
Is there a way I can get the name of the generated library file at
configure time? LIBRARY_OUTPUT_NAME and OUTPUT_NAME for the target do
not seem to be
Brad King wrote:
> On 09/22/2015 09:58 AM, Robert Goulet wrote:
>> Patch attached for adding makefile to install generators.
>> This refactoring is required for install(FILES) genex support,
>> and most likely other install() signatures in the future.
>
> Thanks. I applied that and merged to
On 09/18/2015 11:42 AM, Bill Newcomb wrote:
Suppose I add a library in my project:
add_library(foo STATIC foo.c bar.c)
Is there a way I can get the name of the generated library file at
configure time? LIBRARY_OUTPUT_NAME and OUTPUT_NAME for the target
do not seem to be set:
Can you
On 09/18/2015 02:42 PM, Bill Newcomb wrote:
> Suppose I add a library in my project:
>
> add_library(foo STATIC foo.c bar.c)
>
> Is there a way I can get the name of the generated library file at
> configure time?
On multi-configuration generators like VS and Xcode there may be
more than one
> -Original Message-
> From: J Decker [mailto:d3c...@gmail.com]
> Sent: Tuesday, September 22, 2015 8:12 AM
> To: Golebiewski, Jakub
> Cc: cmake@cmake.org
> Subject: Re: [CMake] How to create a custom solution with Visual Studio
> 2010 generator?
>
> On Mon, Sep 21, 2015 at 10:39 PM,
On Mon, Sep 21, 2015 at 10:39 PM, Golebiewski, Jakub
wrote:
> This may be a solution, I will check this asap.
>
> This should be clearer, I have something like this:
>
> Main Project - PROJECT()
> \Sub Project 1 - PROJECT()
>
On 09/22/2015 09:58 AM, Robert Goulet wrote:
> Patch attached for adding makefile to install generators.
> This refactoring is required for install(FILES) genex support,
> and most likely other install() signatures in the future.
Thanks. I applied that and merged to 'next' for testing:
Thanks, once this is accepted in master I will send you my updated
install(FILES) with genex support. I removed the GetDestination() signature
since I agree it's not needed and might be confusing.
-Original Message-
From: Brad King [mailto:brad.k...@kitware.com]
Sent: Tuesday,
On 22.09.2015 17:53, Pere Mato Vila wrote:
Thanks Nils. This explains it. So, the value of CXX is not honored.
I wouldn't go that far given that /usr/bin/clang++ and cmake call the
same compiler.
If you were to use a compiler in a custom installation prefix (without
apple's tool in between)
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, next has been updated
via 5a93c936996b87d748da707058b374f2f71e25ca (commit)
via
Brad King wrote:
> On 09/16/2015 03:14 PM, Brad King wrote:
>> That eliminates my concern.
>
> This is now in 'master' as:
>
> Project: Determine default language dialect for the compiler.
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7235334a
>
> However, I just discovered that it
On 09/22/2015 04:29 PM, Stephen Kelly wrote:
> I've pushed fix-forced-toolchain-dialect to fix this. It uses an existing
> mechanism already in use to determine whether the compiler was forced.
Looks good, thanks.
> Is there any legitimate need to force the compiler?
The CMakeForceCompiler
Hi,
A few days ago I merged a commit which moves the construction of
cmLocalGenerator objects.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a3aa333d
It fails on the RunCMake.try_compile test on several dashboards in the
CMP0056 test at the end where the policy is set to NEW.
I
Disclaimer: The system I'm working on has its origins in pre cmake-2.6
days, and we'd probably make a lot of different decisions if we started
anew today. We are using only the Unix Makefiles generator.
Our system comprises a number of components, each of which is its own
cmake project, and
On 09/22/2015 04:35 PM, Robert Goulet wrote:
> Ok so that brings the question, how is 3.4 schedule looking?
The feature freeze will be Oct 1 shortly after which post-3.4 development
will open. Steve will then start his post-3.4 refactoring topic merges
and then we can come back to this feature.
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, next has been updated
via 0cea45e48783bb37d60f067c0e6a658b7ac84757 (commit)
via
On 09/22/2015 04:00 PM, Stephen Kelly wrote:
> This is going in the wrong direction.
> (Merge topic 'generators-use-cmLocalGenerator', 2015-08-24)
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9135e370
[snip]
> The patch from Robert should not undo that effort, so the branch
> should be
Ok then perhaps the refactoring can wait but we'd still like to get
install(FILES) destination genex support in 3.4 if possible, and genex
evaluation requires the cmMakefile. How should we proceed then?
-Original Message-
From: cmake-developers
Yeah I guess it could look something like this (attachment). However I just
realized that if I don't also get install(DIRECTORY) in 3.4 then this is not
worth rushing it, since as you mention I would also need to write proper test
cases.
Just let me know when I can start looking at this again
On 22.09.2015 23:17, Bill Newcomb wrote:
Disclaimer: The system I'm working on has its origins in pre cmake-2.6
days, and we'd probably make a lot of different decisions if we
started anew today. We are using only the Unix Makefiles generator.
Our system comprises a number of components,
Brad King wrote:
> On 09/22/2015 04:00 PM, Stephen Kelly wrote:
>> This is going in the wrong direction.
>> (Merge topic 'generators-use-cmLocalGenerator', 2015-08-24)
>> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9135e370
> [snip]
>> The patch from Robert should not undo that effort,
Ok so that brings the question, how is 3.4 schedule looking?
We really wanted to get install(FILES) destination genex in CMake 3.4 release
version... this is a bit disappointing because we'll have to stick with our
custom branch another round. Oh well.
Thanks.
-Original Message-
From:
James Johnston wrote:
>> > it would be useful to have Visual Studio available as an "Extra" CMake
>> > generator. For example, specification of "Visual Studio 2015 - Ninja"
>>
>> This functionality sounds reasonable but the name of the extra/generator
>> pair looks funny when spelled out that
Robert Goulet wrote:
> Ok then perhaps the refactoring can wait but we'd still like to get
> install(FILES) destination genex support in 3.4 if possible, and genex
> evaluation requires the cmMakefile. How should we proceed then?
cmLocalGenerator has a GetMakefile method (currently). Don't you
Robert Goulet wrote:
> Yeah I guess it could look something like this (attachment).
Yes, something like that (modulo the long line).
> However I
> just realized that if I don't also get install(DIRECTORY) in 3.4 then this
> is not worth rushing it, since as you mention I would also need to
_VERSION_MINOR 3)
-set(CMake_VERSION_PATCH 20150922)
+set(CMake_VERSION_PATCH 20150923)
#set(CMake_VERSION_RC 1)
---
Summary of changes:
Source/CMakeVersion.cmake |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/
Thanks for the feedback Brad,
I have rebased the changes and I think that I have the proper default
functionality properly implemented. I've extracted the
WINDOWS_TARGET_PLATFORM_VERSION changes into a separate patch.
WINDOWS_TARGET_PLATFORM_VERSION is a target property, for that will specify
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, next has been updated
via 95c39028ede8b8ba988f6d0f6964b0f7ce2bf76b (commit)
via
Thanks Nils. This explains it. So, the value of CXX is not honored.
The problem we have, is that we record the compiler that we have used to build
for runtime usage. If we make a binary distribution, this one will we used by
clients that may have the compiler somewhere else.
Cheers,
On Tue, Sep 22, 2015 at 11:19 AM, Brad King wrote:
> On 09/22/2015 11:16 AM, Tom Kacvinsky wrote:
> > having two builds (debug and release) doesn't fit our workflow
>
> Try using the RelWithDebInfo configuration.
>
> Eeeek, that won't work because we are also using Ada and
> I've tried running cmake independently for each subproject but I get errors
> about unknown
> Targets since every Sub Project depends on targets from 'earlier' one.
>
> I have about 620 targets (VS projects) so when I open Main Project.sln (with
> 620 projects) in VS it is impossible to work
On 09/22/2015 09:25 AM, Tom Kacvinsky wrote:
> I am using cmake 2.8.11.2 on Windows 7 with Visual Studio 2008
[snip]
> whether listing the object files or compiling from source, there is
> the cl option to create PDB debugging information.
Please try with CMake 3.1 or higher:
On Mon, Sep 21, 2015 at 5:37 PM, Tom Kacvinsky wrote:
> I am using cmake 2.8.11.2 on Windows 7 with Visual Studio 2008
>
> This is the snipped of my CMakeLists.txt file
>
> add_library(commoncpp_objects
> OBJECT
>
> )
>
>
Hi,
Am 22. September 2015 08:49:57 MESZ, schrieb "Golebiewski, Jakub"
:
>I have about 620 targets (VS projects) so when I open Main Project.sln
>(with 620 projects) in VS it is impossible to work with.
>Currently cmake produces .sln for each Sub Project but includes
> I was looking at this issue
> http://public.kitware.com/Bug/view.php?id=13009
>
> and apparently it is not possible to install empty directories (I just
> tested).
>
> I believe that it should be possible to do that (even if there are better
> ways like postinst).
> What is your opinion?
I
Domen Vrankar wrote:
I was looking at this issue
http://public.kitware.com/Bug/view.php?id=13009
and apparently it is not possible to install empty directories (I just
tested).
I believe that it should be possible to do that (even if there are
better
ways like postinst).
What is your
Hi,
On previous versions I was setting the variables CC and CXX to force the
compiler. This is not working anymore. Is this intended?
Cheers,
Pere
———
macitois13:test sftnight$ cmake --version
cmake version 3.3.1
CMake suite maintained and supported by Kitware
> You left a commented out line in Source/CPack/cmCPackGenerator.cxx.
Hm that should not be there. I'll delete it when I get to my PC.
Thanks,
Domen
--
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
Hi Pere,
> On 22 Sep 2015, at 11:18, Pere Mato Vila wrote:
>
> Hi,
>
> On previous versions I was setting the variables CC and CXX to force the
> compiler. This is not working anymore. Is this intended?
> Cheers,
>
I think it *is* honouring CC/CXX, but from CMake 3.2
On 09/22/2015 04:43 PM, Pere Mato Vila wrote:
Hi Ben,
Thanks, but in my case CXX is already a full path (/usr/bin/clang++). It is
set like this
export CXX=`which clang++`
I do not understand how /usr/bin/clang++ gets converted to
On Tue, Sep 22, 2015 at 9:57 AM, Tom Kacvinsky wrote:
>
>
> On Tue, Sep 22, 2015 at 9:41 AM, Brad King wrote:
>
>> On 09/22/2015 09:25 AM, Tom Kacvinsky wrote:
>> > I am using cmake 2.8.11.2 on Windows 7 with Visual Studio 2008
>> [snip]
>>
Hi Ben,
Thanks, but in my case CXX is already a full path (/usr/bin/clang++). It is
set like this
export CXX=`which clang++`
I do not understand how /usr/bin/clang++ gets converted to
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
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 da7c8a8dae10a4fd2f33798bc8aec8a3c238b2af (commit)
via
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 442d17ef6c50a3ffc83ed6a860dc05febd85f1b4 (commit)
via
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 fcd9f85660bb0de569a5a5770b98eb7d922fbd6b (commit)
via
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, next has been updated
via 84ae6a68a62b3739015dba75a785ae6b939a882a (commit)
via
On 09/16/2015 03:14 PM, Brad King wrote:
> That eliminates my concern.
This is now in 'master' as:
Project: Determine default language dialect for the compiler.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7235334a
However, I just discovered that it breaks use of toolchain files
that
On 09/21/2015 05:51 PM, Michael Scott wrote:
> Yes the -Werr-dev, -Wno-err-dev, -Werr-deprectated and
> -Wno-err-deprecated may be trickier than expected to get behaving as
> intended. I'll try and get a better idea of the users of IssueMessage
> and see if some ideas come to mind. Removing
On Tue, Sep 22, 2015 at 9:41 AM, Brad King wrote:
> On 09/22/2015 09:25 AM, Tom Kacvinsky wrote:
> > I am using cmake 2.8.11.2 on Windows 7 with Visual Studio 2008
> [snip]
> > whether listing the object files or compiling from source, there is
> > the cl option to create
> This and its related changes are also refactoring that should go in its own
> commit.
Ok let's begin with this. Patch attached for adding makefile to install
generators. This refactoring is required for install(FILES) genex support, and
most likely other install() signatures in the future.
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, next has been updated
via 096946bd49b2342a347c700947b5fdf930f6cc08 (commit)
via
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 4be709a6b715acb4100fceb4394ad5215d8b555b (commit)
via
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 f1365f32064d6e56c1cbdf27bb18b9c7a8490330 (commit)
via
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, next has been updated
via da0bdab6d9788728bf0671b22a287dd1b5517f42 (commit)
via
On 09/22/2015 11:16 AM, Tom Kacvinsky wrote:
> having two builds (debug and release) doesn't fit our workflow
Try using the RelWithDebInfo configuration.
-Brad
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
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, next has been updated
via eb99bf2d6861ba6cfc282265a5947453032c68dc (commit)
via
Just as a point of information illustrating the opposite, we like
using a CMakeList file for each target that contains a project()
command where the name of the project is the name of the target. This
is nice (for us) in that you get many .sln files generated from the
larger source tree where you
57 matches
Mail list logo