/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
Has nobody else notice this particular language inconsistency?
On Tue, Nov 27, 2012 at 1:12 PM, James Bigler jamesbig...@gmail.com wrote:
I'm running into this again, and I trawled through the mailing list, and
according to Bill (4/11/2009 - managing lists with space separated
elements), I
I'm running into this again, and I trawled through the mailing list, and
according to Bill (4/11/2009 - managing lists with space separated
elements), I should be able to get a list from a string with a single
command.
If you want to convert a string to a list you can do it like this:
set(list
Is it possible to have an unbounded number of arguments to a script
processed by CMake using the -P argument?
I need to specify a variable number of arguments, so using -D isn't going
to help much.
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
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
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
On Tue, Oct 9, 2012 at 12:07 AM, Eric Noulard eric.noul...@gmail.comwrote:
2012/10/9 James Bigler jamesbig...@gmail.com:
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
-
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e8c18d5af921a39fa6e1cacf42f4f95fc7bb11a2
commit e8c18d5af921a39fa6e1cacf42f4f95fc7bb11a2
Merge: 34f9f40 db207e4
Author: James Bigler jamesbig...@gmail.com
AuthorDate: Mon Aug 20 17:43:41 2012 -0400
Commit: CMake Topic Stage
-
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2a69aedbce439d301661389748b4d383c6a57b57
commit 2a69aedbce439d301661389748b4d383c6a57b57
Merge: e8c18d5 a20c41d
Author: James Bigler jamesbig...@gmail.com
AuthorDate: Mon Aug 20 18:05:19 2012 -0400
Commit: CMake Topic Stage
Is there are particular reason why imported targets don't have global scope
(doc says current directory and below), but regular targets do (seen
everywhere)?
This seems really inconsistent to me.
I'm trying to build a custom library from other pieces using my own set of
commands. I can't use
Is it possible to change what executable is used for linking in VS targets?
I see CMAKE_LINKER, but the variable says CMAKE_LINKER-NOTFOUND, which
leads me to believe that the VS generator doesn't use this variable.
Thanks,
James
--
Powered by www.kitware.com
Visit other Kitware open-source
this:
add_custom_target(EchoEnv ${CMAKE_COMMAND} -E environment)
HTH,
David
On Wed, Jun 20, 2012 at 2:45 PM, James Bigler jamesbig...@gmail.comwrote:
Is it possible to change what executable is used for linking in VS
targets?
I see CMAKE_LINKER, but the variable says CMAKE_LINKER-NOTFOUND, which
On Mon, May 7, 2012 at 4:04 PM, Ming ymy...@wisc.edu wrote:
**
*By design, CMake should detect configuration changes and reconfigure
before the build starts. The VS plugin was designed to provide a single
dialog box that would allow for reloading of the entire solution with a
single
On Sat, May 5, 2012 at 3:32 AM, Ming ymy...@wisc.edu wrote:
*From: **James Bigler* jamesbig...@gmail.com* *
*Sent: Saturday, May 05, 2012 1:51 AM*
*To: **Ming* ymy...@wisc.edu* *
*Cc: **cmake@cmake.org* cmake@cmake.org* *
*Subject: Re: [CMake] Moving large MSVS projects to CUDA
On Mon, May 7, 2012 at 11:41 AM, Ming ymy...@wisc.edu wrote:
**
* -The code in question is the Geant4 (**
http://geant4.web.cern.ch/geant4/support/download.shtml*http://geant4.web.cern.ch/geant4/support/download.shtml
*) toolkit, which uses CMake to handle its cross-platform
On Fri, May 4, 2012 at 12:39 PM, Ming ymy...@wisc.edu wrote:
Hello CMake community,
I have experience using CMake to generate sime cuda-enabled executables
(where the cpp’s reside in one folder, etc.).
I am attempting to move a large project that utilizes CMake, from just c++
to CUDA
On Thu, Mar 15, 2012 at 6:46 AM, Bill Hoffman bill.hoff...@kitware.comwrote:
On 3/14/2012 6:39 PM, James Bigler wrote:
I have a system with several copies of Visual Studio installed.
When I set the generator for Visual Studio 9 2008 it ends up picking
up a different compiler
On Thu, Mar 15, 2012 at 1:30 PM, John Drescher dresche...@gmail.com wrote:
OK, but it does try to fill in the CMAKE_C_COMPILER value. What are you
suggesting? That this is a bug or some kind of mistake on my part
thinking
that the value in CMAKE_C_COMPILER is somehow relevant for Visual
I have a system with several copies of Visual Studio installed.
When I set the generator for Visual Studio 9 2008 it ends up picking up a
different compiler:
CMAKE_C_COMPILER:FILEPATH=C:/Program Files (x86)/SCE/Common/VSI/bin/cl.exe
I think this is because of the following code in
We use perforce for our source control, and perforce typically syncs files
as read only until you check them out for editing.
During our build process we copy a few scripts from the source tree to the
build tree using 'cmake -E copy' in an 'add_custom_command'. This works
famously until we try
On Thu, Jan 26, 2012 at 9:45 AM, Robert Dailey rcdai...@gmail.com wrote:
Hi,
I am using CMake 2.8.7 and generating for VS2010. When I build any
project, visual studio crashes. I think it might be because of ZERO_CHECK.
Any idea what this might be? Could it be the ZERO_CHECK visual studio
Dailey
On Thu, Jan 12, 2012 at 11:31 AM, James Bigler jamesbig...@gmail.comwrote:
I would be fine with that if the generation of these files would only
happen if either they weren't present or you manually forced them to be
created. Folks are just used to modifying them in the VS IDE
Is there a CMake variable for the GCC compiler version if using GCC? I
thought I remember seeing email traffic about something along these lines a
while back, but I can't find the email or documentation describing it (if
it exists).
Thanks,
James
--
Powered by www.kitware.com
Visit other
the cache variables or whatnot in CMake, so next time you generate you will
have them.
There is nothing preventing you from using the normal method of changing
debug parameters.
-
Robert Dailey
On Wed, Jan 11, 2012 at 5:53 PM, James Bigler jamesbig...@gmail.comwrote:
On Wed
On Wed, Jan 11, 2012 at 8:41 AM, David Cole david.c...@kitware.com wrote:
I'm sure there are a handful of interested parties on this topic.
One concern I would have is that if we start to generate this, we
might clobber stuff that users go in and edit by hand in the Visual
Studio UI. It's a
On Sun, Jan 8, 2012 at 7:29 AM, Renato Utsch renatout...@gmail.com wrote:
Hello, I have been experimenting some issue with visual studio and
couldn't fix them, even when searching in google for help :O
So, I have 2 main issues:
1. When CMake creates the visual studio solution, it configures
On Wed, Jan 4, 2012 at 2:30 PM, Michael Guerrero insom...@yahoo.com wrote:
Hi, I’ve been experimenting with using Visual Studio’s “Custom Build Tool”
per cpp file to perform some specialized operations. However, the property
page is not visible (not editable) when I generate a project with
-
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ff560f201e709791b7078947013e3254fc88af13
commit ff560f201e709791b7078947013e3254fc88af13
Merge: b99d72a 154f537
Author: James Bigler jamesbig...@gmail.com
AuthorDate: Tue Dec 20 16:22:28 2011 -0500
Commit: CMake Topic Stage
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
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
-
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9150657a9684191df98f222c829dcc5ca45ad305
commit 9150657a9684191df98f222c829dcc5ca45ad305
Merge: fc522a0 aa59544
Author: James Bigler jamesbig...@gmail.com
AuthorDate: Mon Dec 5 18:30:42 2011 -0500
Commit: CMake Topic Stage
-
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c7d44f4ce033ca8fa40bc18135fce938085224af
commit c7d44f4ce033ca8fa40bc18135fce938085224af
Merge: 086ee2c 83d4eea
Author: James Bigler jamesbig...@gmail.com
AuthorDate: Mon Dec 5 18:56:24 2011 -0500
Commit: CMake Topic Stage
-
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=90456d383fbd92593bf91337dd7f8e58342b6682
commit 90456d383fbd92593bf91337dd7f8e58342b6682
Merge: c7d44f4 c3c7a0c
Author: James Bigler jamesbig...@gmail.com
AuthorDate: Mon Dec 5 19:16:55 2011 -0500
Commit: CMake Topic Stage
-
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=29c74ef8b08bfe8103d1b9fe64955402cda108c7
commit 29c74ef8b08bfe8103d1b9fe64955402cda108c7
Merge: 90456d3 80e279d
Author: James Bigler jamesbig...@gmail.com
AuthorDate: Mon Dec 5 21:02:30 2011 -0500
Commit: CMake Topic Stage
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
I thought CMake knew how to not drag all the dependent libraries once you
linked an executable module.
add_library(A STATIC a.cpp)
add_library(B SHARED b.cpp)
target_link_libraries(B A)
add_library(C SHARED c.cpp)
target_link_libraries(C B)
add_executable(run run.cpp)
target_link_libraries(run
2011/11/18 Alexander Neundorf a.neundorf-w...@gmx.net
On Friday 18 November 2011, James Bigler wrote:
I thought CMake knew how to not drag all the dependent libraries once you
linked an executable module.
add_library(A STATIC a.cpp)
add_library(B SHARED b.cpp)
target_link_libraries(B
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
What is this extra chatty output from? I never remember seeing it in VS
2008, but I see it in VS 2010.
-- Build started: Project: copy_scripts, Configuration: Release x64
--
1Build started 10/5/2011 12:38:07 PM.
1InitializeBuildStatus:
1 Creating
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
On Tue, Aug 30, 2011 at 9:11 AM, Bill Hoffman bill.hoff...@kitware.comwrote:
On 8/30/2011 4:11 AM, Andrea Galeazzi wrote:
Hi,
I'd like to know if the bug 0011258
http://public.kitware.com/**Bug/view.php?id=11258http://public.kitware.com/Bug/view.php?id=11258
will be fixed or the
community
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
Does anyone know of a way to have the package target built by default? In
other words add it to the ADD_BUILD built in target? I'm guessing since
there isn't support for adding custom targets to built in CMake targets that
this would have to be controlled by some magic CMAKE_ variable.
Thanks,
arguments.
And with a custom target, you can make it part of all
HTH,
David
On Thu, Aug 25, 2011 at 4:13 PM, James Bigler jamesbig...@gmail.com
wrote:
Does anyone know of a way to have the package target built by default?
In
other words add it to the ADD_BUILD built in target
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
I've just spent several hours chasing down a problem that was related to
cmake makefiles not detecting a change in a header in /usr/local. I would
build a new version of a library, run 'make install' which would put it into
/usr/local, then rebuild my project. I mistakenly assumed that if one of
On Fri, Jun 17, 2011 at 11:12 AM, t m cm...@majchrowski.co.uk wrote:
As far as I correctly understood patch from Peter, implementation for
makefile dependency is on place.
For me makefile dependency is fine, since I'm using only makefiles.
I just tried to understand idea of LANGUAGE
On Tue, Jun 14, 2011 at 5:18 AM, Łukasz Tasz luk...@tasz.eu wrote:
Hi all,
Other than the 'more elegant' prospect of being able to just put .cu
files
into a target, is there anything else deficient about the current
FindCUDA
macros? All you have to do really is to use
On Tue, Jun 7, 2011 at 12:50 PM, t m cm...@majchrowski.co.uk wrote:
Hi
I've two topics related to the support for custom lang in cmake. I
hope you can help me.
1) Does anyone knows plan about merge the following feature related to
the CUDA: http://public.kitware.com/Bug/view.php?id=11887
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
CPack allows me to configure the basename of the package, but I would like
to be able to change the extension used. I dug around the CPack sources and
it looks like the file extension is baked into the 'virtual const char*
GetOutputExtension() { return .sh; }' function. It doesn't look like I
If I have a custom command:
add_custom_command(OUTPUT myfile.out)
Then I add that file to the target:
add_executable(mytarget main.cpp myfile.out)
If I do a 'make help' I get rules for main.o, but none for myfile.out. Is
there something I can add to create a helper makefile target?
Thanks,
On Mon, Apr 25, 2011 at 11:42 AM, Eric Noulard eric.noul...@gmail.comwrote:
2011/4/25 James Bigler jamesbig...@gmail.com:
If I have a custom command:
add_custom_command(OUTPUT myfile.out)
Then I add that file to the target:
add_executable(mytarget main.cpp myfile.out)
If I do
Cole wrote:
On Tue, Apr 19, 2011 at 5:44 PM, James Bigler jamesbig...@gmail.com
wrote:
On Tue, Apr 12, 2011 at 2:24 PM, Bill Hoffman
bill.hoff...@kitware.com wrote:
On 4/12/2011 4:13 PM, David Cole wrote:
Does somebody have reproducible steps to get to the point where
On Tue, Apr 12, 2011 at 2:24 PM, Bill Hoffman bill.hoff...@kitware.comwrote:
On 4/12/2011 4:13 PM, David Cole wrote:
Does somebody have reproducible steps to get to the point where
CMAKE_SIZEOF_VOID_P disappears??
I've never seen that...
How many times do you have to re-configure before
On Mon, Jan 17, 2011 at 11:27 AM, Michael Jackson
mike.jack...@bluequartz.net wrote:
On Jan 17, 2011, at 1:23 PM, Eric Noulard wrote:
2011/1/17 Michael Jackson mike.jack...@bluequartz.net:
I have the following code:
if ( ${CMAKE_SIZEOF_VOID_P} EQUAL 8 )
On Tue, Apr 12, 2011 at 1:27 PM, j s j.s4...@gmail.com wrote:
On Tue, Apr 12, 2011 at 2:13 PM, James Bigler jamesbig...@gmail.comwrote:
On Mon, Jan 17, 2011 at 11:27 AM, Michael Jackson
mike.jack...@bluequartz.net wrote:
On Jan 17, 2011, at 1:23 PM, Eric Noulard wrote:
2011/1/17
I'm wanting to get a path that points me to where vcvarsall.bat might live.
It's usually in the VS installation directory, and I was wondering if there
was a nice convenient CMake variable that could tell me where Visual Studio
is located.
C:\Program Files (x86)\Microsoft Visual Studio
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 Thu, Jan 20, 2011 at 10:47 AM, Rolf Eike Beer e...@sf-mail.de wrote:
On Thursday 20 January 2011, James Bigler wrote:
I'm noticing that on some systems they package the NVIDIA driver into
different directories than the driver is typically installed. In
order to make stuff link
On Fri, Jan 14, 2011 at 11:05 AM, Patrick Charrier
patrick.charr...@igd.fraunhofer.de wrote:
Hi all,
I am experiencing some (random) reloading of VS-project files and
rebuilding when using the combination of CMake, Visual Studio and CUDA.
Particularly when performing the following steps.
I'm noticing that on some systems they package the NVIDIA driver into
different directories than the driver is typically installed. In order to
make stuff link properly at run time these non-standard locations are added
to /etc/ld.so.conf.d. I'm wondering if there is a reason not to use this
On Tue, Nov 16, 2010 at 11:55 PM, Rolf Eike Beer e...@sf-mail.de wrote:
Am Mittwoch, 17. November 2010 schrieb James Bigler:
Has anyone else noticed situations where VS puts the first project (as
determined alphabetically) in a project folder as the last project?
Yes, I have seen this when
On Wed, Nov 17, 2010 at 11:30 AM, David Cole david.c...@kitware.com wrote:
On Wed, Nov 17, 2010 at 1:25 PM, James Bigler jamesbig...@gmail.com
wrote:
On Tue, Nov 16, 2010 at 11:55 PM, Rolf Eike Beer e...@sf-mail.de
wrote:
Am Mittwoch, 17. November 2010 schrieb James Bigler:
Has anyone
On Tue, Nov 16, 2010 at 12:27 AM, Rolf Eike Beer e...@sf-mail.de wrote:
Am Dienstag, 16. November 2010 schrieb Eric Noulard:
2010/11/15 James Bigler jamesbig...@gmail.com
If I set a COMPILE_FLAGS property on a header file via
set_source_files_properties, CMake decides that these header
Has anyone else noticed situations where VS puts the first project (as
determined alphabetically) in a project folder as the last project?
CMakePredefinedTargets
-- PACKAGE
-- RUN_TESTS
-- ZERO_CHECK
-- INSTALL
I'm using VS 2008 SP 1 with CMake 2.8.3.
I've verified this with a simple project
I'm trying to append a bunch of extra compile flags to a list of source
files:
set_property(SOURCE foo.cpp main.cpp APPEND PROPERTY COMPILE_FLAGS -Wall)
set( ignore_warning_flags
-Wno-unused -Wno-switch -Wno-write-strings -Wno-strict-aliasing
-Wno-strict-prototypes -Wno-sign-compare )
If I set a COMPILE_FLAGS property on a header file via
set_source_files_properties, CMake decides that these header files now need
to be compiled (i.e. not treated as header files).
Is this the intended behavior?
I'm using both 2.8.1 and 2.8.3 on Windows with VS 2008 SP 1.
Thanks,
James
Since the VS Plugin broken in 2010 bug (
http://public.kitware.com/Bug/view.php?id=11258) was added to the roadmap,
here's another bug that I noticed with the VS plugin.
VS Plugin doesn't reload the solution in VS 2008
http://public.kitware.com/Bug/view.php?id=11440
Thanks,
James
I have a build rule that copies files from the source tree to the build
tree:
foreach( script ${scripts} )
set( src ${CMAKE_CURRENT_SOURCE_DIR}/${script} )
set( dest ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${script} )
list( APPEND dest_files ${dest} )
add_custom_command(
OUTPUT ${dest}
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
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 Fri, Oct 1, 2010 at 6:22 AM, John Drescher dresche...@gmail.com wrote:
On Fri, Oct 1, 2010 at 2:21 AM, Rolf Eike Beer e...@sf-mail.de wrote:
Am Friday 01 October 2010 schrieb John Drescher:
On Thu, Sep 30, 2010 at 7:47 PM, James Bigler jamesbig...@gmail.com
wrote:
On Thu, Sep 30, 2010
I really like the new FOLDER property for targets.
I'm wondering if it could be extended to allow me to set this for a whole
directory. Something like:
set_property(DIRECTORY PROPERTY FOLDER Utilities/3rdParty)
add_executable(a ...)
add_library(b ...)
add_subdirectory(dir) # dir also get's this
On Fri, Oct 1, 2010 at 4:16 PM, James Bigler jamesbig...@gmail.com wrote:
I really like the new FOLDER property for targets.
I'm wondering if it could be extended to allow me to set this for a whole
directory. Something like:
set_property(DIRECTORY PROPERTY FOLDER Utilities/3rdParty
Is CMake supposed to stop the VS build when configure fails?
1CMake Error in samples/traversal/CMakeLists.txt:
1 Cannot find source file traversal.c. Tried extensions .c .C .c++ .cc
1 .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx
1-- Build files have been written to:
On Thu, Sep 30, 2010 at 5:42 PM, James Bigler jamesbig...@gmail.com wrote:
I'm currently using VS 2008 64 bit with CMake 2.6.3.
This also happens with 2.8.3 RC1.
James
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http
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
I tried out CMake 2.8.3 RC1 with my project today. When I modify a
CMakeLists.txt file and compile, the reload project dialog starts up and I
click No for don't start recompiling (because it calls ALL_BUILD instead
of the one project I want to build), and then I get a the build must be
stopped
On Wed, Sep 22, 2010 at 2:24 PM, John Drescher dresche...@gmail.com wrote:
On Wed, Sep 22, 2010 at 4:20 PM, James Bigler jamesbig...@gmail.com
wrote:
I tried out CMake 2.8.3 RC1 with my project today. When I modify a
CMakeLists.txt file and compile, the reload project dialog starts up
101 - 200 of 525 matches
Mail list logo