Will changes integrated into master automatically be slated for either
v3.5.0 RC2 or v.3.5.0 final?
--
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
list(APPEND) requires at least one element argument, right?
Can you require the same thing for string(APPEND)? That would make it
symmetric and remove your edge case.
On Mon, Jul 6, 2015 at 2:47 PM, Daniel Pfeifer dan...@pfeifer-mail.de
wrote:
On Mon, Jul 6, 2015 at 8:41 PM, Brad King
OK, thanks.
I still think that if there is a difference in behavior for Makefile
generators between MAIN_DEPENDENCY and DEPENDENCY there is a bug in CMake.
Perhaps there needs to be bug filed for that. Here's the documentation:
In makefile terms this creates a new target in the following form::
...@gmail.com wrote:
On 04/27/2015 11:48 PM, James Bigler wrote:
The problem is the current detection only barfs (unless I missed
something - please correct if I'm wrong). What we need is detection and
adaptation. Rather than telling the user, DON'T DO THAT! we should be
helping the user
From what I understand the only time this really became a problem was when
there were multiple instances of MAIN_DEPENENCY across multiple targets.
If done within a single target CMake did the right thing and only attached
the first build rule.
The issue really seems to be related to multiple
This new policy breaks a long standing feature of FindCUDA.
Basically I could add the MAIN_DEPENDENCY to all CUDA files built. If the
same CUDA file was used in multiple custom commands it would attach the
build rule to the first command, and leave the remaining ones as phantom
.rule files in
I have a topic that I pushed to stage, so someone else could take a look.
At this point, it needed some fixing, so I made some changes to my local
topic and pushed those back to the same topic. When I push the topic into
next and the testing passes, what checkin string will be used for change
On Sat, Jan 17, 2015 at 8:13 AM, Adam Strzelecki o...@java.pl wrote:
1. Support for dependency scanning. If I change a header included by
file.cu I want file.cu to be recompiled. This is easy for makefiles,
hard for anything else.
.cu is superset of C++ so it should be pretty easy to get
On Fri, Jan 16, 2015 at 6:46 AM, Brad King brad.k...@kitware.com wrote:
On 01/16/2015 06:54 AM, Adam Strzelecki wrote:
Hi. It makes me curious why CUDA support is not just implemented
as compiler via proper CMakeDetermineCUDACompiler
I don't think there is any reason besides no one doing
or makefile) just to
compile these rules.
On Tue, Mar 5, 2013 at 11:10 AM, Brad King brad.k...@kitware.com wrote:
On 03/05/2013 10:27 AM, Brad King wrote:
On 12/04/2012 07:30 PM, James Bigler wrote:
Is there something CMake can do to correct this error/bug with VS 2010?
I've narrowed this case
Could someone please explain to me why we need to change all the if
statements to look super ugly?
Expanding WIN32 to dereference the value is just a recipe for confusion.
Honestly I would prefer if there was a policy to never deference variables
in if statements and replace the if's with:
if
What do I do if I have a patch I want to go to next, but origin/master is
broken? I'm supposed to create branches off of origin/master then merge
them into next, but I can't verify that my fix works.
For details about the break see my email on May 8th regarding external
object files not being
I was planning on fixing a bug related to flags and separable compilation
for FindCUDA when I discovered something peculiar. I'm asking here in case
I missed something with how source files are processed.
I branched off of origin/master this morning.
I have a macro that generates some custom
This is also causing my CUDA separable compilation feature to break as well.
I'm adding object files to the source list of a target, and this works in
certain situations, but not all.
James
From: jamesbig...@gmail.commailto:jamesbig...@gmail.com
-Original Message-
From: cmake-developers [mailto:cmake-developers-boun...@cmake.org] On
Behalf Of Brad King
Sent: Wednesday, April 23, 2014 11:06 AM
To: cmake-developers@cmake.org
Subject: Re: [cmake-developers] CMP0043 warnings everywhere
On 04/23/2014 12:57 PM, James Bigler
I'm getting tons of CMP0043 warnings on my existing project.
I have cmake_policy(VERSION 2.6) set in my project. Why am I being
pestered by warnings? Shouldn't I get a policy value appropriate for 2.6
(so CMP0043 should be set to OLD)?
CMake Warning (dev) in src/CMakeLists.txt:
Policy CMP0043
It should already support cuda run time building by default. This is what
the OBJ target is for CUDA_WRAP_SRCS. This is what cuda_add_library and
cuda_add_executable do.
On Fri, Apr 18, 2014 at 5:18 AM, Tobias Zirr opensou...@alphanew.netwrote:
Hello,
I just added CUBIN FATBIN compilation
I noticed in the git history that the kitware robot changed the
documentation in the source files to something with :: characters between
paragraphs.
It also seemed to add them between the paragraphs of the same descriptions:
# CUDA_WRAP_SRCS ( cuda_target format generated_files file0 file1
I already have an implementation for static CUDA runtime linking that I've
been testing in OptiX production builds.
The other one needs some minor cleanups (I commented on it).
On Thu, Jan 16, 2014 at 7:19 AM, Brad King brad.k...@kitware.com wrote:
James,
Please take a look at these
On Fri, Sep 13, 2013 at 8:21 AM, Brad King brad.k...@kitware.com wrote:
On 09/12/2013 05:36 PM, James Bigler wrote:
I discovered a long time ago that VS would link the output of a custom
command.
I just ran local experiments with VS 6, 7.1, 8, and 9 by manually modifying
the ExternalOBJ
I have a couple of issues with this release.
1. file(APPEND ${myfile}
string
string2;
string3)
This generates an error at the ';' character, which never did before. So
far as I understand, a ';' character should still be legal here. Please
correct me if I'm wrong.
2. One of
On Thu, Sep 12, 2013 at 12:10 PM, Brad King brad.k...@kitware.com wrote:
On 09/12/2013 01:27 PM, James Bigler wrote:
1. file(APPEND ${myfile}
string
string2;
string3)
This generates an error at the ';' character, which never did before.
So far as I understand
In 2.8.12 and 2.8.11.2 I noticed the following problem for VS 2012 builds.
VS 2010 builds are fine. Also CMake 2.8.10.1 works just fine.
VS 2012 doesn't link the objects into a library. It fails to run the link
command at all. I'm trying to figure out why. I'm comparing the
differences
On Thu, Sep 12, 2013 at 1:32 PM, Brad King brad.k...@kitware.com wrote:
On 09/12/2013 03:08 PM, James Bigler wrote:
In 2.8.12 and 2.8.11.2 I noticed the following problem for VS 2012
builds.
VS 2010 builds are fine. Also CMake 2.8.10.1 works just fine.
VS 2012 doesn't link the objects
On Thu, Sep 12, 2013 at 3:07 PM, Brad King brad.k...@kitware.com wrote:
On 09/12/2013 04:57 PM, James Bigler wrote:
This seems kind of confusing when the default for all the other VS
generators is to link in the output of the custom command. Does
that not seem like a problem?
The goal
On Thu, Sep 12, 2013 at 3:28 PM, James Bigler jamesbig...@gmail.com wrote:
On Thu, Sep 12, 2013 at 3:07 PM, Brad King brad.k...@kitware.com wrote:
On 09/12/2013 04:57 PM, James Bigler wrote:
This seems kind of confusing when the default for all the other VS
generators is to link
On Thu, Sep 12, 2013 at 2:49 PM, Brad King brad.k...@kitware.com wrote:
On 09/12/2013 04:45 PM, James Bigler wrote:
I don't actually add the object file to the build, because VS would
link in the output of the custom command
That's the exact problem the change I linked fixes.
You should
On Wed, Jun 5, 2013 at 7:45 AM, Stephen Kelly steve...@gmail.com wrote:
James Bigler wrote:
Things get dicey when you want to pass things like include directories as
arguments. There are quotes to deal with as well as maximum argument
length issues. I'm not saying it can't be done
What is this change qt4-macros-TARGET-arg?
Things get dicey when you want to pass things like include directories as
arguments. There are quotes to deal with as well as maximum argument
length issues. I'm not saying it can't be done, but it needs to be done
*carefully*.
I would really really
On Tue, Jun 4, 2013 at 12:06 PM, Brad King brad.k...@kitware.com wrote:
On 06/04/2013 02:01 PM, James Bigler wrote:
What is this change qt4-macros-TARGET-arg?
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9ce60ff5
OK, that looks similar to how I would have written it.
I would
code), and I would still be unable to do so with this mechanism. I
guess I might be able to more of that processing into the build time
executed script
On Tue, Jun 4, 2013 at 1:51 PM, Brad King brad.k...@kitware.com wrote:
On 06/04/2013 03:46 PM, James Bigler wrote:
The $TARGET_PROPERTY
/CMakeLists.txt:5:add_custom_command(TARGET example1
POST_BUILD
[5345] Tests $ find . -name *.cmake -o -name CMakeLists.txt -print0 |
xargs -0 grep -n --color PRE_LINK
On Wed, Dec 12, 2012 at 9:32 AM, Brad King brad.k...@kitware.com wrote:
On 12/12/2012 11:02 AM, James Bigler wrote:
Are there any
12, 2012 at 11:38 AM, Brad King brad.k...@kitware.com wrote:
On 12/12/2012 01:09 PM, James Bigler wrote:
not PRE_LINK. I'm seeing problems with PRE_LINK not working in VS 2010,
so I wanted to see if it was actually being tested.
It appears PRE_LINK is not tested. However
Ah, yes. That is what I needed: separate_arguments.
Thanks,
James
On Wed, Dec 5, 2012 at 6:11 AM, Brad King brad.k...@kitware.com wrote:
On 12/04/2012 07:31 PM, James Bigler wrote:
Is this a bug or is what I'm trying to do impossible?
In the code
set(mylist a b c)
set
I just thought of another potential work around. I tried changing the
source1.obj + source2.obj - temp.obj custom command into a PRE_LINK custom
command knowing that it is probably safe to always generate temp.obj even
if its dependencies don't change (i.e. another object file gets compiled
Is this a bug or is what I'm trying to do impossible?
Thanks,
James
-- Forwarded message --
From: James Bigler jamesbig...@gmail.com
Date: Mon, Dec 3, 2012 at 3:22 PM
Subject: Re: List from strings (CMAKE_CXX_FLAGS and friends)
To: cm...@cmake.org cm...@cmake.org
Has nobody
Resending without the zip file in case folks email clients were blocking it.
James
-- Forwarded message --
From: James Bigler jamesbig...@gmail.com
Date: Tue, Dec 4, 2012 at 5:30 PM
Subject: Fwd: Chaining custom commands in VS 2010
To: cmake-developers@cmake.org cmake-developers
On Mon, Oct 8, 2012 at 10:40 PM, James Bigler jamesbig...@gmail.com wrote:
In my project I need to manually link against a special version of
libstdc++, so I manually set the target link language to C and then add my
special library to the link line. On Linux this seems to work just fine
I had two or three changes to FindCUDA that missed the cutoff by an hour.
Could they be considered as well?
James
On Wed, Dec 7, 2011 at 9:49 AM, David Cole david.c...@kitware.com wrote:
During our merge session yesterday, there were a handful of topics
that we were almost ready to merge to
: 100% (7/7), 1001 bytes, done.
Total 7 (delta 5), reused 0 (delta 0)
--
James Bigler jamesbig...@gmail.com may not push directly to this
repository.
Use the CMake Topic Stage to merge your topic:
http://www.cmake.org/Wiki/CMake/Git
, 2011, at 4:41 PM, James Bigler wrote:
I used to be able to push directly to next, because I'm a Module
maintainer. Now I get this:
$ git push origin next
Enter passphrase for key '/Users/jbigler/.ssh/id_rsa':
Counting objects: 12, done.
Delta compression using up to 2 threads
On Tue, Nov 29, 2011 at 1:05 PM, Bill Hoffman bill.hoff...@kitware.comwrote:
On 11/29/2011 2:41 PM, Alexandru Ciobanu wrote:
Hi,
We found a workaround that does not require any source code
modifications. I added the description to the bug report:
On Wed, Nov 23, 2011 at 8:36 AM, Bill Hoffman bill.hoff...@kitware.comwrote:
On 11/22/2011 4:39 PM, Brad King wrote:
It is tempting to always require explicit requests for new TRE behavior,
such as using TRE instead of REGEX in keyword locations, but one
advantage of using a policy is that
On Mon, Nov 21, 2011 at 9:39 AM, Brad King brad.k...@kitware.com wrote:
On 11/18/2011 12:50 PM, James Bigler wrote:
What I'm envisioning is developing a new custom build tool,
call it CMake Custom Command (or CCC for short)
Would the custom commands in the project files just invoke
On Mon, Nov 21, 2011 at 1:47 PM, Bill Hoffman bill.hoff...@kitware.comwrote:
On Nov 21, 2011 3:41 PM, Brad King brad.k...@kitware.com wrote:
On 11/21/2011 3:33 PM, James Bigler wrote:
On Mon, Nov 21, 2011 at 9:39 AM, Brad King brad.k...@kitware.commailto:
brad.k...@kitware.com wrote
On Mon, Nov 21, 2011 at 2:03 PM, James Bigler jamesbig...@gmail.com wrote:
On Mon, Nov 21, 2011 at 1:55 PM, James Bigler jamesbig...@gmail.comwrote:
On Mon, Nov 21, 2011 at 1:47 PM, Bill Hoffman
bill.hoff...@kitware.comwrote:
On Nov 21, 2011 3:41 PM, Brad King brad.k...@kitware.com wrote
time instead
of at build time to avoid having to run the rule to fill in these state
files saving recompilation.
What do people think? This is kind of a big hammer to fix problems with
MSbuild, but isn't CMake supposed to help work around annoying bugs in VS.
:)
James Bigler
[1]
https
On Thu, Oct 6, 2011 at 1:21 PM, James Bigler jamesbig...@gmail.com wrote:
I just noticed that MSBuild has support for dependency files. These seem
to work similarly to how you might augment a makefile with 'gcc -M'. This
would save a lot of reloading of projects that want to generate
On Wed, Oct 5, 2011 at 3:45 PM, James Bigler jamesbig...@gmail.com wrote:
On Fri, Aug 19, 2011 at 10:41 AM, David Cole david.c...@kitware.comwrote:
On Thu, Aug 18, 2011 at 4:56 PM, David Cole david.c...@kitware.com
wrote:
On Thu, Aug 18, 2011 at 1:30 PM, David Cole david.c...@kitware.com
On Fri, Sep 16, 2011 at 5:11 AM, Alexander Neundorf neund...@kde.orgwrote:
On Thursday, September 15, 2011 10:22:52 PM James Bigler wrote:
On Mon, Sep 12, 2011 at 3:35 PM, James Bigler jamesbig...@gmail.com
wrote:
I need some advice on how to fix a problem I'm having with files
On Mon, Sep 12, 2011 at 3:35 PM, James Bigler jamesbig...@gmail.com wrote:
I need some advice on how to fix a problem I'm having with files with the
same name.
I have two CUDA files with the same name in different directories:
CUDA_ADD_EXECUTABLE(test-conflict
path with spaces
I need some advice on how to fix a problem I'm having with files with the
same name.
I have two CUDA files with the same name in different directories:
CUDA_ADD_EXECUTABLE(test-conflict
path with spaces/conflict.cpp
path with spaces/conflict.cu
path with spaces/no-conflict.cpp
path with
What would it take to remove the build rules on the CMakeLists.txt files in
Visual Studio?
They are causing me no end of grief with the CUDA tools. Basically what
happens is that the CMakeLists.txt files are getting compiled after the CUDA
rules causing each and every project to trigger a
I also just noticed that if I set CMAKE_SUPPRESS_REGENERATION, then the
CMakeLists.txt files don't get added to the projects.
I wonder how hard it would be to just not add build rules to the
CMakeLists.txt files..
James
On Tue, Aug 9, 2011 at 2:48 PM, James Bigler jamesbig...@gmail.com
I guess a different question I should be asking is why is the CMakeLists.txt
build rule running after my other custom rules. It seems to me that the
CMakeLists.txt build rule should *always* be the first thing to build in a
given project.
James
On Tue, Aug 9, 2011 at 4:06 PM, James Bigler
On Wed, Jun 8, 2011 at 1:35 PM, Brad King brad.k...@kitware.com wrote:
On 6/8/2011 3:33 PM, Clinton Stimpson wrote:
It seems an extra tool is needed at build time to handle qrc files
correctly,
and I'm wondering if a generic tool could handle both this and the
autmoc.
It is not possible
On Sun, Jun 5, 2011 at 4:44 PM, Alexander Neundorf neund...@kde.org wrote:
On Sunday, June 05, 2011 11:50:50 PM Eric Noulard wrote:
2011/6/4 Alexander Neundorf neund...@kde.org:
Hi,
again from the KDE sprint...
1) We have a macro
macro_optional_find_package().
The purpose
it. If not, please let
us know.
But for prior versions, open up (for example)
cmLocalVisualStudio7Generator.cxx and search for FlagTable. Then grep the
code for the flag you're thinking of mapping to make sure its absence is not
compensated for by other code.
On Fri, Jan 28, 2011 at 4:58 PM, James
)
--
commit d570d761 not allowed: James Bigler jamesbig...@gmail.com may
publish only Modules/
--
error: hook declined to update refs/heads/AddFloatingPointModelToVS7
To g
On Jan 28, 2011, at 5:21 PM, Eric Noulard eric.noul...@gmail.com
wrote:
2011/1/29 James Bigler jamesbig...@gmail.com:
I can't seem to be able to push to stage. I followed the
directions (since
I'm a total git n00b
On Mon, Oct 11, 2010 at 2:37 PM, Brad King brad.k...@kitware.com wrote:
On 10/11/2010 02:54 PM, Brad King wrote:
I just tested it with the COnly test and VS9 x64. It now reloads even
when the project has not changed at all (touch CMakeLists.txt). I
wonder if the project solution folder
On Tue, Sep 28, 2010 at 12:26 PM, Bill Hoffman bill.hoff...@kitware.comwrote:
On 9/28/2010 2:18 PM, Alexander Neundorf wrote:
On Tuesday 28 September 2010, David Cole wrote:
When I fix a bug, I mark it as resolved.
I expect that somebody else who cares about the bug will come along
behind
On Tue, Sep 28, 2010 at 4:04 PM, Bill Hoffman bill.hoff...@kitware.comwrote:
On 9/28/2010 4:53 PM, James Bigler wrote:
I feel a bug shouldn't be closed until the fix can be found in a CMake
release. The bug should also make it clear which release the fix should
be found in. Pushing
On Fri, Sep 10, 2010 at 8:41 AM, David Cole david.c...@kitware.com wrote:
Hello CMake devs,
We are close to producing the first release candidate for CMake version
2.8.3. See the roadmap page with the bugs that have been fixed or are being
actively worked on at the
moment:
64 matches
Mail list logo