[cmake-developers] Changes for v3.5.0

2016-02-09 Thread James Bigler
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 mo

Re: [cmake-developers] PATCH: add subcommand string(APPEND)

2015-07-06 Thread James Bigler
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 wrote: > On Mon, Jul 6, 2015 at 8:41 PM, Brad King wrote: > > On 07/04/2015 06:

Re: [cmake-developers] cmake --help-policy CMP0057 MAIN_DEPENDENCY

2015-05-11 Thread James Bigler
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::

Re: [cmake-developers] cmake --help-policy CMP0057 MAIN_DEPENDENCY

2015-04-28 Thread James Bigler
itz 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 T

Re: [cmake-developers] cmake --help-policy CMP0057 MAIN_DEPENDENCY

2015-04-27 Thread James Bigler
>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 tar

[cmake-developers] cmake --help-policy CMP0057 MAIN_DEPENDENCY

2015-04-24 Thread James Bigler
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 t

[cmake-developers] What commit message will be used when merging topics from stage to next to master

2015-04-01 Thread James Bigler
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 list

Re: [cmake-developers] CUDA as a compiler instead FindCUDA?

2015-02-03 Thread James Bigler
On Sat, Jan 17, 2015 at 8:13 AM, Adam Strzelecki 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 depende

Re: [cmake-developers] CUDA as a compiler instead FindCUDA?

2015-01-16 Thread James Bigler
On Fri, Jan 16, 2015 at 6:46 AM, Brad King 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 it yet. > > When

Re: [cmake-developers] Chaining custom commands in VS 2010

2014-10-21 Thread James Bigler
ke or makefile) just to compile these rules. On Tue, Mar 5, 2013 at 11:10 AM, Brad King 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? > > > >

Re: [cmake-developers] [PATCH] FindCUDA: Wrap keyword in if() string comparison

2014-09-18 Thread James Bigler
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

Re: [cmake-developers] Procedural question

2014-05-12 Thread James Bigler
On Mon, May 12, 2014 at 11:22 AM, Brad King wrote: > On 05/12/2014 01:16 PM, James Bigler wrote: > > What do I do if I have a patch I want to go to next, > > but origin/master is broken? > > If it was broken recently then you can start from an > older version of master.

[cmake-developers] Procedural question

2014-05-12 Thread James Bigler
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 bui

Re: [cmake-developers] Weird dependency on object files generated elsewhere

2014-05-08 Thread James Bigler
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.com" mailto:jamesbig...@gmail.com>> Date: Thursda

[cmake-developers] Weird dependency on object files generated elsewhere

2014-05-08 Thread James Bigler
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 com

Re: [cmake-developers] CMP0043 warnings everywhere

2014-04-28 Thread James Bigler
> -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

[cmake-developers] CMP0043 warnings everywhere

2014-04-23 Thread 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 i

Re: [cmake-developers] Added CUBIN&FATBIN support to FindCUDA

2014-04-22 Thread James Bigler
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 wrote: > Hello, > > I just added CUBIN & FATBIN compilation support to the Find

[cmake-developers] kwrobot changing documentation

2014-01-29 Thread James Bigler
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 .

Re: [cmake-developers] FindCUDA: Github pull requests 82 and 83

2014-01-26 Thread James Bigler
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 wrote: > James, > > Please take a look at these proposed changes: > > htt

[cmake-developers] Documentation or parse bug

2013-10-16 Thread James Bigler
The documentation for target_link_libraries has this description: target_link_libraries( [[debug|optimized|general] ] ... [ [[debug|optimized|general] ] ...]) >From my understanding I should b

Re: [cmake-developers] Linking projects with no C or CPP files

2013-09-13 Thread James Bigler
On Fri, Sep 13, 2013 at 8:21 AM, Brad King 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 Extern

Re: [cmake-developers] Linking projects with no C or CPP files

2013-09-12 Thread James Bigler
On Thu, Sep 12, 2013 at 2:49 PM, Brad King 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 fix

Re: [cmake-developers] Linking projects with no C or CPP files

2013-09-12 Thread James Bigler
On Thu, Sep 12, 2013 at 3:28 PM, James Bigler wrote: > On Thu, Sep 12, 2013 at 3:07 PM, Brad King 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 outpu

Re: [cmake-developers] Linking projects with no C or CPP files

2013-09-12 Thread James Bigler
On Thu, Sep 12, 2013 at 3:07 PM, Brad King 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? &g

Re: [cmake-developers] Linking projects with no C or CPP files

2013-09-12 Thread James Bigler
On Thu, Sep 12, 2013 at 1:32 PM, Brad King 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 d

[cmake-developers] Linking projects with no C or CPP files

2013-09-12 Thread James Bigler
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 betwee

Re: [cmake-developers] [CMake] CMake 2.8.12-rc3 Release.

2013-09-12 Thread James Bigler
On Thu, Sep 12, 2013 at 12:10 PM, Brad King wrote: > On 09/12/2013 01:27 PM, James Bigler wrote: > > 1. file(APPEND "${myfile}" > > "string" > > "string2"; > > "string3") > > This generates an error a

Re: [cmake-developers] CMake 2.8.12-rc3 Release.

2013-09-12 Thread James Bigler
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. O

Re: [cmake-developers] [CMake 0014201]: FindCUDA does not forward include directories assigned by target_include_directories()

2013-06-05 Thread James Bigler
On Wed, Jun 5, 2013 at 7:45 AM, Stephen Kelly 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 i

Re: [cmake-developers] [CMake 0014201]: FindCUDA does not forward include directories assigned by target_include_directories()

2013-06-04 Thread James Bigler
rary CMake 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 wrote: > On 06/04/2013 03:46 PM, James Bigler wrote: > > The $ expression i

Re: [cmake-developers] [CMake 0014201]: FindCUDA does not forward include directories assigned by target_include_directories()

2013-06-04 Thread James Bigler
On Tue, Jun 4, 2013 at 12:06 PM, Brad King 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. >

Re: [cmake-developers] [CMake 0014201]: FindCUDA does not forward include directories assigned by target_include_directories()

2013-06-04 Thread James Bigler
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 li

Re: [cmake-developers] Tests for PRE_BUILD | PRE_LINK | POST_BUILD

2012-12-12 Thread James Bigler
you? I'm going to try it locally as well. James On Wed, Dec 12, 2012 at 11:38 AM, Brad King 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

Re: [cmake-developers] Tests for PRE_BUILD | PRE_LINK | POST_BUILD

2012-12-12 Thread James Bigler
m_command(TARGET example1 POST_BUILD ./SubDirSpaces/Some Examples/example1/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, Bra

[cmake-developers] Tests for PRE_BUILD | PRE_LINK | POST_BUILD

2012-12-12 Thread James Bigler
Are there any tests for PRE_BUILD | PRE_LINK | POST_BUILD arguments to add_custom_command? I did a search in the repository, but I'm not seeing anything: $ find . -name "*.cmake" -o -name "CMakeLists.txt" -print0 | xargs -0 grep -n --color PRE_BUILD $ find . -name "*.cmake" -o -name "CMakeLists.

Re: [cmake-developers] Fwd: Chaining custom commands in VS 2010

2012-12-05 Thread James Bigler
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 requi

Re: [cmake-developers] Fwd: List from strings (CMAKE_CXX_FLAGS and friends)

2012-12-05 Thread James Bigler
Ah, yes. That is what I needed: separate_arguments. Thanks, James On Wed, Dec 5, 2012 at 6:11 AM, Brad King 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

[cmake-developers] Fwd: Chaining custom commands in VS 2010

2012-12-04 Thread James Bigler
Resending without the zip file in case folks email clients were blocking it. James -- Forwarded message -- From: James Bigler Date: Tue, Dec 4, 2012 at 5:30 PM Subject: Fwd: Chaining custom commands in VS 2010 To: "cmake-developers@cmake.org" Is there something CM

[cmake-developers] Fwd: List from strings (CMAKE_CXX_FLAGS and friends)

2012-12-04 Thread James Bigler
Is this a bug or is what I'm trying to do impossible? Thanks, James -- Forwarded message -- From: James Bigler Date: Mon, Dec 3, 2012 at 3:22 PM Subject: Re: List from strings (CMAKE_CXX_FLAGS and friends) To: "cm...@cmake.org" Has nobody else notice this part

Re: [cmake-developers] setting LINKER_LANGUAGE still adds -lstdc++

2012-10-08 Thread James Bigler
On Mon, Oct 8, 2012 at 10:40 PM, James Bigler 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, > but on

Re: [cmake-developers] Questions on staged topic branches

2012-09-11 Thread James Bigler
On Tue, Sep 4, 2012 at 11:48 AM, David Cole wrote: > If you are on the "To" line, please reply to this email, and answer > the questions below: > > Brad and I have questions on these staged topic branches before we > consider them for merging to 'master'

Re: [cmake-developers] The upcoming CMake 2.8.7 release candidate cycle

2011-12-07 Thread James Bigler
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 wrote: > During our merge session yesterday, there were a handful of topics > that we were almost ready to merge to 'master' but which cou

Re: [cmake-developers] Git fun

2011-12-05 Thread James Bigler
ll name. > > Richard > > On Dec 5, 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/jbigle

[cmake-developers] Git fun

2011-12-05 Thread James Bigler
Writing objects: 100% (7/7), 1001 bytes, done. Total 7 (delta 5), reused 0 (delta 0) ------ James Bigler may not push directly to this repository. Use the CMake Topic Stage to merge your topic: http://www.cmake.org/Wiki/CMake/

Re: [cmake-developers] slow regex implementation in RegularExpression

2011-11-29 Thread James Bigler
On Tue, Nov 29, 2011 at 1:05 PM, Bill Hoffman wrote: > 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: >> http://public.kitware.com/Bug/**view.php?id=12381#c27872

Re: [cmake-developers] slow regex implementation in RegularExpression

2011-11-23 Thread James Bigler
On Wed, Nov 23, 2011 at 8:36 AM, Bill Hoffman wrote: > 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 over time the

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 2:03 PM, James Bigler wrote: > On Mon, Nov 21, 2011 at 1:55 PM, James Bigler wrote: > >> On Mon, Nov 21, 2011 at 1:47 PM, Bill Hoffman >> wrote: >> >>> >>> On Nov 21, 2011 3:41 PM, "Brad King" wrote: &

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 1:55 PM, James Bigler wrote: > On Mon, Nov 21, 2011 at 1:47 PM, Bill Hoffman wrote: > >> >> On Nov 21, 2011 3:41 PM, "Brad King" wrote: >> > >> > On 11/21/2011 3:33 PM, James Bigler wrote: >> >> >> >&

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 1:47 PM, Bill Hoffman wrote: > > On Nov 21, 2011 3:41 PM, "Brad King" 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.com>> wrote

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 1:41 PM, Brad King 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.com>**> wrote: >> On 11/18/2011 12:50 PM, James Bigler wrote: >>What I'm envisioning

Re: [cmake-developers] rpaths on Mac

2011-11-21 Thread James Bigler
Would what you are proposing make the following easier? This is how I setup @rpath on my system. Why do you need something special? I use @rpath for the install name by doing the following: if(RELEASE_PUBLIC) set_target_properties( my_target PROPERTIES INSTALL_NAME_DIR "@rpath"

Re: [cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-21 Thread James Bigler
On Mon, Nov 21, 2011 at 9:39 AM, Brad King 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 pro

[cmake-developers] VS 2010/MSbuild's custom build tool issues and a proposal

2011-11-18 Thread James Bigler
change, but to help with #3 we could "prewarm" the state files at configure 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 CMa

Re: [cmake-developers] MSBuild dependency files

2011-10-07 Thread James Bigler
On Thu, Oct 6, 2011 at 1:21 PM, James Bigler 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 depend

[cmake-developers] MSBuild dependency files

2011-10-06 Thread James Bigler
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 dependencies from build files, since the dependencies would be external to the project

Re: [cmake-developers] Strange VS output file field

2011-10-06 Thread James Bigler
On Wed, Oct 5, 2011 at 3:45 PM, James Bigler wrote: > On Fri, Aug 19, 2011 at 10:41 AM, David Cole wrote: > >> On Thu, Aug 18, 2011 at 4:56 PM, David Cole >> wrote: >> > On Thu, Aug 18, 2011 at 1:30 PM, David Cole >> wrote: >> >> On Tue, Aug 9, 2011

Re: [cmake-developers] Strange VS output file field

2011-10-05 Thread James Bigler
On Fri, Aug 19, 2011 at 10:41 AM, David Cole wrote: > On Thu, Aug 18, 2011 at 4:56 PM, David Cole > wrote: > > On Thu, Aug 18, 2011 at 1:30 PM, David Cole > wrote: > >> On Tue, Aug 9, 2011 at 6:19 PM, James Bigler > wrote: > >>> I recently switched

Re: [cmake-developers] Some advice

2011-09-16 Thread James Bigler
On Fri, Sep 16, 2011 at 5:11 AM, Alexander Neundorf wrote: > On Thursday, September 15, 2011 10:22:52 PM James Bigler wrote: > > On Mon, Sep 12, 2011 at 3:35 PM, James Bigler > wrote: > > > I need some advice on how to fix a problem I'm having with files with > the &

Re: [cmake-developers] Some advice

2011-09-15 Thread James Bigler
On Mon, Sep 12, 2011 at 3:35 PM, James Bigler 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

[cmake-developers] Some advice

2011-09-12 Thread James Bigler
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

Re: [cmake-developers] Build rules for CMakeLists.txt files

2011-08-09 Thread James Bigler
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

[cmake-developers] Strange VS output file field

2011-08-09 Thread James Bigler
I recently switched to 2.8.5 and noticed something strange. I have several files that build into a Debug|Release agnostic place. If I build it in one then switch to the other the files don't regenerate, because the build rule has been satisfied. With CMake 2.8.5 and VS 2010 I noticed something s

Re: [cmake-developers] Build rules for CMakeLists.txt files

2011-08-09 Thread James Bigler
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 wrote: > What

[cmake-developers] Build rules for CMakeLists.txt files

2011-08-09 Thread James Bigler
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 "reconf

Re: [cmake-developers] Automoc in cmake

2011-06-08 Thread James Bigler
On Wed, Jun 8, 2011 at 1:35 PM, Brad King 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 to implement

Re: [cmake-developers] Adding argument "OPTIONAL" to find_package() and add_subdirectory

2011-06-05 Thread James Bigler
On Sun, Jun 5, 2011 at 4:44 PM, Alexander Neundorf wrote: > On Sunday, June 05, 2011 11:50:50 PM Eric Noulard wrote: > > 2011/6/4 Alexander Neundorf : > > > Hi, > > > > > > again from the KDE sprint... > > > > > > 1) We have a macro > > > macro_optional_find_package(). > > > The purpose is to be

Re: [cmake-developers] stage push?

2011-01-31 Thread James Bigler
On Mon, Jan 31, 2011 at 2:06 PM, Brad King wrote: > > >> Looks like a access right issue. > > > > Yeah... this is just a permissions issue because you're trying to push > > files outside of the "Modules" directory. > > I fixed the server's checks to allow any developer to push changes to > th

Re: [cmake-developers] stage push?

2011-01-28 Thread James Bigler
On Jan 28, 2011, at 5:21 PM, Eric Noulard wrote: 2011/1/29 James Bigler : I can't seem to be able to push to stage. I followed the directions (since I'm a total git n00b): [...] --- --- commit d570d761 n

[cmake-developers] stage push?

2011-01-28 Thread James Bigler
), reused 0 (delta 0) -- commit d570d761 not allowed: James Bigler may publish only Modules/ -- error: hook declined to update refs/heads/AddFloatingPointModelToVS7 To g...@cmake

Re: [cmake-developers] GUI hooks for VS variables

2011-01-28 Thread James Bigler
lease 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 Fr

[cmake-developers] GUI hooks for VS variables

2011-01-28 Thread James Bigler
If I wanted to teach CMake about a particular flag (i.e. to make it's setting show up in the properties dialog instead of in the Command Line extra flags section), what part of the code do I need to modify to accomplish this? Thanks, James ___ cmake-deve

Re: [cmake-developers] Bug fix requests for the *next* release of CMake...

2010-11-04 Thread James Bigler
VS 2010 CMake plugin is broken http://www.vtk.org/Bug/view.php?id=11258 This is a problem for projects such as mine where I have dozens of projects in my solution and they can change rather frequently, especially with my FindCUDA.cmake script that computes dependencies and then changes the VS proj

Re: [cmake-developers] VS Plugin in 2.8.3

2010-10-11 Thread James Bigler
On Mon, Oct 11, 2010 at 2:37 PM, Brad King 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 feature affected

Re: [cmake-developers] VS Plugin in 2.8.3

2010-10-11 Thread James Bigler
On Mon, Oct 11, 2010 at 12:38 PM, Brad King wrote: > On 10/11/2010 02:23 PM, James Bigler wrote: > > It seems to me that the plugin behaves slightly differently than it used > to. > > > > It used to load all the projects and the solution at the same time, now > > it

[cmake-developers] VS Plugin in 2.8.3

2010-10-11 Thread James Bigler
It seems to me that the plugin behaves slightly differently than it used to. It used to load all the projects and the solution at the same time, now it re-loads all the projects and then VS asks me to reload the solution. Is this the desired behavior? James __

Re: [cmake-developers] User vs CMake include mismatch handling

2010-10-05 Thread James Bigler
On Tue, Oct 5, 2010 at 2:08 PM, Alexander Neundorf wrote: > On Tuesday 05 October 2010, Brad King wrote: > > On 09/30/2010 04:25 PM, Alexander Neundorf wrote: > > > New behaviour: the file from shared/cmake/Modules/ is loaded, i.e. the > > > file with which file A was developed and tested, and no

Re: [cmake-developers] What to do with the RESOLVED issues ?

2010-09-28 Thread James Bigler
On Tue, Sep 28, 2010 at 4:04 PM, Bill Hoffman wrote: > 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 fou

Re: [cmake-developers] [CMake] CMake 2.8.3-rc1 ready for testing!

2010-09-28 Thread James Bigler
On Tue, Sep 28, 2010 at 1:32 PM, Brad King wrote: > On 09/28/2010 03:24 PM, Alexander Neundorf wrote: > > Currently there are CMAKE_CURRENT_LIST_FILE and CMAKE_CURRENT_LIST_LINE. > > > > Should it be CMAKE_CURRENT_LIST_FILE_DIR or CMAKE_CURRENT_LIST_DIR ? > > Let's use the latter, CMAKE_CURRENT_L

Re: [cmake-developers] What to do with the RESOLVED issues ?

2010-09-28 Thread James Bigler
On Tue, Sep 28, 2010 at 12:26 PM, Bill Hoffman wrote: > 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 >>>

Re: [cmake-developers] Creating cdash subprojects: create_cdash_subprojects()

2010-09-28 Thread James Bigler
On Tue, Sep 28, 2010 at 12:22 PM, Alexander Neundorf wrote: > On Tuesday 28 September 2010, David Cole wrote: > > Ambitious. I like it. > > > > I would prefer seeing this implemented as a CMake-language function. And > > You mean to implement this as a cmake script, and not as a built-in > functio

Re: [cmake-developers] git equivalent to 'svn cat'

2010-09-14 Thread James Bigler
On Tue, Sep 14, 2010 at 12:23 PM, Brad King wrote: > On 09/14/2010 01:22 PM, James Bigler wrote: > > I'm trying to produce the equivalent command of 'svn cat' in git. > > According to some documentation I'm supposed to be able to use git show: > > > &g

[cmake-developers] git equivalent to 'svn cat'

2010-09-14 Thread James Bigler
I'm trying to produce the equivalent command of 'svn cat' in git. According to some documentation I'm supposed to be able to use git show: http://git.or.cz/course/svn.html You can see the contents of a file, the listing of a directory or a commit with: git show *rev*:*path/to/file* svn

Re: [cmake-developers] Upcoming CMake 2.8.3 release candidate

2010-09-10 Thread James Bigler
On Fri, Sep 10, 2010 at 8:41 AM, David Cole 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: http://public.kitware.com/Bug/roadmap

Re: [cmake-developers] git help and bug fixes

2010-06-18 Thread James Bigler
On Tue, Jun 15, 2010 at 5:27 AM, Brad King wrote: > Mathieu Malaterre wrote: > > On Tue, Jun 15, 2010 at 8:23 AM, James Bigler > wrote: > >> Now, according to the wiki, I should also push this change into master, > >> right? > > > > Same question for m

Re: [cmake-developers] git help and bug fixes

2010-06-14 Thread James Bigler
On Fri, Jun 4, 2010 at 11:12 AM, Brad King wrote: > James Bigler wrote: > > CMake devs, could you comment on my last two questions? > > > > * Question: Do I need to push this change to "next"? > > > > * Question: If this is a bug fix, will the release m

Re: [cmake-developers] git help and bug fixes

2010-06-04 Thread James Bigler
On Tue, Jun 1, 2010 at 11:37 PM, Michael Wild wrote: > > On 2. Jun, 2010, at 6:47 , James Bigler wrote: > > > I have a change I made to master that I didn't push before we changed to > the > > New World Order: > > > > $ git branch > > * master

[cmake-developers] git help and bug fixes

2010-06-01 Thread James Bigler
I have a change I made to master that I didn't push before we changed to the New World Order: $ git branch * master $ git log origin/master..master commit fcd7a1edcb414a6050dbbcefc0f786143b7fba8a Merge: 0d30e3f 7f61960 Author: James Bigler Date: Tue Jun 1 21:27:19 2010 -0600 Merge b