Sounds wonderful, I'd love some more dev activity in #cmake. Announce it in
good time and I'll try my best to be there.
-Johan (GMT+1)
On Wed, Aug 15, 2012 at 7:58 PM, Alexander Neundorf neund...@kde.orgwrote:
**
On Wednesday 15 August 2012, David Cole wrote:
This is a good idea.
Hi,
You can change it using a toolchain file.
We use something like this:
SET(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION com.foo.compilers.llvmgcc42
CACHE STRING FORCE)
On Fri, Feb 3, 2012 at 11:49 AM, MM finjulh...@gmail.com wrote:
Hi,
Does the xcode generator on cmake 2.8.3 allow specifying a
Hi Alfa,
We are really interested in the teamcity + CTest support. Is that available
somewhere already?
Thanks
/Johan
On Sun, Jan 22, 2012 at 7:51 PM, Alfa Omega queezythegr...@gmail.comwrote:
Hi everyone,
I'm not quite sure what the correct procedure is for becoming a CMake
contributor,
Sounds like a bug/missing feature. File a bug with a example project that
demonstrates the issue on the bugtracker, and hopefully someone will have
time to take a look at it ;)
/Johan
On Sat, Oct 8, 2011 at 4:00 PM, Daniel Dekkers d.dekk...@cthrough.nlwrote:
Hi,
I think I've asked this
You might want to try the latest cmake 2.8.6RC, it should have fixed the
symlink issues with .tar.gz packaging.
-Johan
On Thu, Sep 22, 2011 at 5:35 PM, Michael Jackson
mike.jack...@bluequartz.net wrote:
I just found that and have been playing with it but if I set it to 1 then I
get the
I don't remember when the deployment stuff is executed in xcode. How do you
package your product? If you are using cpack ,you can tell it to strip the
binary before packaging it.
/Johan
On Mon, Sep 5, 2011 at 6:47 AM, Robert Bielik robert.bie...@xponaut.sewrote:
Tack Johan,
Johan Björk
You can set it using
SET(CMAKE_XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING YES)
You might also want to enable the strip-attribute if that's what you are
aiming for (STRIP_INSTALLED_PRODUCT?)
For other settings, refer to:
Hi guys,
I just ran into the following issue, and I'm quite baffled? Is this really
expected behaviour?
cherimoya:cmake-postbuildearly phb$ cat CMakeLists
ADD_CUSTOM_COMMAND(TARGET foo POST_BUILD COMMAND ${CMAKE_COMMAND} -E echo
'hello')
TARGET_LINK_LIBRARIES(foo -lbar)
Hey,
Attached patch fixes a regression where the new ZERO_CHECK target could get
emitted twice in xcode.
/Johan
0001-xcode-Don-t-emit-ZERO_CHECK-twice.patch
Description: Binary data
___
cmake-developers mailing list
cmake-developers@cmake.org
Attached patches to the bug and on this email. (
http://public.kitware.com/Bug/**view.php?id=12284http://public.kitware.com/Bug/view.php?id=12284
.)
I did not make it an option yet, as I'm not sure exactly how it should be
done.
However
0002-kwsys: This is just broken and should be fixed.
Attached patches to the bug and on this email. (
http://public.kitware.com/Bug/**view.php?id=12284http://public.kitware.com/Bug/view.php?id=12284
.)
I did not make it an option yet, as I'm not sure exactly how it should be
done.
However
0002-kwsys: This is just broken and should be fixed.
PREBINDING has been obsoleted for a long time, and starting with Xcode 4,
having the setting is treated as a warning.
Attached patch stops writing PREBINDING if xcode version is =4.0
/Johan
0001-xcode-PREBINDING-is-obsoleted-in-XCode-4-and-is-trea.patch
Description: Binary data
If you are doing this at cmake time, simply use glob() to find the files,
then remove them using file(REMOVE).
If you are doing it as part of a target, try and create a new .cmake file
(configure_file or file(WRITE) that does glob+remove and execute it using
cmake -P script.cmake
/Johan
On Thu,
Agree on all points!
-Johan
On Wed, Aug 17, 2011 at 4:17 PM, Andreas Mohr a...@lisas.de wrote:
[cue maximally inflammatory subject ;)]
Hi,
I keep encountering template file processing where
@VAR@ replacements end up empty due to the required template
variable simply not having been set
I just wrote my own macro append_property(type name value) for this.
example:
append_property(SOURCE COMPILE_FLAGS -x objective-c++
translate.cpp stuff.cpp)
or
append_property(TARGET COMPILE_FLAGS foo mytarget)
etc
Would be nice to have that as an included macro, or at least a comment in
the
Dave, Bill? Anyone know what the difference is intended to be between
EXLUDE_FROM_ALL vs EXCLUDE_FROM_DEFAULT_BUILD?
/Johan
On Mon, Aug 1, 2011 at 6:57 PM, Johan Björk p...@spotify.com wrote:
And another update while at it.
The following cmake file illustrates the issue:
FILE(WRITE foo.c
Hey guys,
This has been discussed a billion times, so I'll keep it short.
Problem: Some parts of the build requires a environment variable to be set
Solution: Several workarounds, use custom commands, wrapper scripts etc.
While the solution works fine for basic stuff, I have several toolchains
http://public.kitware.com/Bug/view.php?id=12284 (cpack copies data in
symlinks)
On Mon, Aug 1, 2011 at 9:26 PM, Alexander Neundorf
a.neundorf-w...@gmx.netwrote:
On Saturday 30 July 2011, Alan W. Irwin wrote:
Please do a fundamental fix for
http://public.kitware.com/Bug/view.php?id=9220.
Hi all,
Anyone know anything about this? I'm seeing the same issue with MSVC 2008 +
cmake 2.8(.?)
add_library(foo .. EXCLUDE_FROM_ALL ..)
-Johan
On Tue, May 3, 2011 at 4:59 PM, Andrea Galeazzi galea...@korg.it wrote:
I've a project made up of multiple executable target:
, Johan Björk p...@spotify.com wrote:
Hi all,
Anyone know anything about this? I'm seeing the same issue with MSVC 2008 +
cmake 2.8(.?)
add_library(foo .. EXCLUDE_FROM_ALL ..)
-Johan
On Tue, May 3, 2011 at 4:59 PM, Andrea Galeazzi galea...@korg.it wrote:
I've a project made up of multiple
, 2 skipped ==
I'll file a bug.
On Mon, Aug 1, 2011 at 5:15 PM, Johan Björk p...@spotify.com wrote:
and I just found
The EXCLUDE_FROM_DEFAULT_BUILD property is used by the visual studio
generators. If it is set to 1 the target will not be part of the default
build when you select
http://www.cmake.org/Bug/view.php?id=12379 (EXCLUDE_FROM_DEFAULT_BUILD
broken)
http://www.cmake.org/Bug/view.php?id=12377 (-g0 enables debug in XCode)
http://www.cmake.org/Bug/view.php?id=12358 (ENABLE_LANGUAGE(.. OPTIONAL)
breaks configure step
http://www.cmake.org/Bug/view.php?id=11690 (XCode
Sure, attached files.
/Johan
On Mon, Jul 25, 2011 at 5:32 PM, Brad King brad.k...@kitware.com wrote:
On 07/20/2011 05:48 AM, Johan Björk wrote:
Finally got around to fix this properly. Let me know what you think.
Cool, thanks! Please split the patch into one that converts the boolean
Hi guys,
I noticed that each XCode target has an associated CMake ReRun script
phase. Is there a specific reason for this (in difference to having
one target that all others depend on that does the ReRun check?)
It causes a fair few issues, it fails when you are parallelcompiling
targets (It'll
Glenn,
An option APPEND_STRING was added, see
http://public.kitware.com/Bug/view.php?id=12342
/Johan
On Mon, Jun 27, 2011 at 4:47 PM, Glenn Coombs glenn.coo...@gmail.com wrote:
For variables like CMAKE_C_FLAGS one can append to them like this:
set(CMAKE_C_FLAGS ${CMAKE_CFLAGS}
Alex,
I'm trying to conditionally enable ASM support for my compilers that
support it (I have a project that gets crosscompiled to a whole slew
of architectures).
In an ideal situation, I would use
ENABLE_LANGUAGE(ASM OPTIONAL) and check the flag if it works or not.
For a few of the compilers,
Hi Brad,
Finally got around to fix this properly. Let me know what you think.
Cheers
/Johan
On Mon, May 16, 2011 at 6:58 PM, Brad King brad.k...@kitware.com wrote:
On 05/16/2011 10:05 AM, Johan Björk wrote:
Would it be possible to change the verbose flag to output the results
entry's type
I am afraid we'll have to do a round of fixes for Xcode 4 support if
it no longer accepts full path to the SDK as a valid value for this
property.
On Fri, May 27, 2011 at 5:54 AM, Johan Björk p...@spotify.com wrote:
Hi guys,
Attached patch that changes the type
, 2011 at 7:42 AM, Johan Björk p...@spotify.com wrote:
Hi guys,
I just discovered the --warn-uninitialized flag to cmake, and in the
process found some really nasty bugs. Is there any way to enable this
from the CMakeLists.txt files? Is there a corresponding
--error-uninitialized value
Hi guys,
I just discovered the --warn-uninitialized flag to cmake, and in the
process found some really nasty bugs. Is there any way to enable this
from the CMakeLists.txt files? Is there a corresponding
--error-uninitialized value?
Thanks
/Johan
___
Hi,
Anyone has any code to convert the ctest xml output to jUnit?
-Johan
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake
http://public.kitware.com/Bug/view.php?id=11690 XCode user settings
http://public.kitware.com/Bug/view.php?id=11692 interrupt batch build
doesn't stop visual studio
http://public.kitware.com/Bug/view.php?id=10039 Xcode gen only creates one
level of group nesting
to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
--
Johan Björk
Team Lead, Development Tools
Spotify AB
Address: Birger Jarlsgatan 6, 114 46 Stockholm, Sweden
Phone:+46 (0)709 22 59 02
This e-mail (including any attachments) may contain information that is
confidential
Hi everyone,
I'm using an SVN repository and a PATCH command. It seems to work
fine, but when I'm selecting a different build configuration, all
steps will be executed again (as expected), but it results in my patch
being applied twice.
Any ideas how to work around this?
My externalProject
the original Patch from Nick modified to work with lastest git
master + two fixes mentioned above.
/Johan
On Sun, Feb 20, 2011 at 2:43 PM, Johan Björk p...@spotify.com wrote:
Hi Nick,
Any updates on this patch?
Cheers
/Johan
On Thu, Jan 20, 2011 at 2:08 AM, Nick Kledzik kled...@apple.com wrote
and wow, the patch I just sent is broken because cmXCodeObject-Print() has
sideffects! :(
Will send a patch that fixes -Print() when I have some extra time.
/Johan
On Mon, Mar 7, 2011 at 1:33 PM, Johan Björk p...@spotify.com wrote:
Nick,
We are using a modification on your patch internally
King brad.k...@kitware.com wrote:
On 02/22/2011 04:04 PM, Johan Björk wrote:
Just for future patches, any reason you choose to use RunChild instead
of RunSingleCommand?
I'll try it this week.
Specifically inside of cmCTestGIT we use RunChild because it logs
everything
that is done during
Thanks, updated http://www.vtk.org/Wiki/CMake_Useful_Variables to list it.
/Johan
On Wed, Feb 23, 2011 at 5:17 PM, Brad King brad.k...@kitware.com wrote:
On 02/23/2011 10:22 AM, Johan Björk wrote:
Is there a way to get the version of the Nightly builds, or is it
possible to get the patch
Hi everyone,
What is the intended use for CMAKE_lang_STANDARD_LIBRARIES? Is there any
reason why it differs in behavior from TARGET_LINK_LIBRARIES() ?
I am currently using it in my toolchain files to specify platform required
libraries and been seeing a few issues, leading me to believe that I
Hi Nick,
Any updates on this patch?
Cheers
/Johan
On Thu, Jan 20, 2011 at 2:08 AM, Nick Kledzik kled...@apple.com wrote:
BTW, it might make more sense to move this to the cmake-developers
mailing list.
I've transfered this thread to the developer list. See below for
continuation..
missed the list. attached patch.
-- Forwarded message --
From: Johan Björk p...@spotify.com
Date: Sun, Feb 20, 2011 at 5:28 PM
Subject: Re: [CMake] CTest GIT support does not properly update recursive
submodules
To: Brad King brad.k...@kitware.com
Hi Brad,
Attached a small
Hey guys,
I am not quite sure if PREDEFINED_TARGETS_FOLDER is supposed to also contain
targets created by external modules (CTest). What do you guys think? Right
now there seems to be no straightforward way to move the
CTestDashboardTargets folder away from the other toplevel targets.
Should be
Hi Brad,
On Mon, Feb 7, 2011 at 7:14 PM, Brad King brad.k...@kitware.com wrote:
Hi Johan,
Let's move this over to the developers' list. I'm cc-ing the users' list
just for this transition message. Thanks.
On 02/05/2011 06:50 PM, Johan Björk wrote:
The fix is extremely simple
Hi Brad,
On Mon, Feb 7, 2011 at 7:14 PM, Brad King brad.k...@kitware.com wrote:
Hi Johan,
Let's move this over to the developers' list. I'm cc-ing the users' list
just for this transition message. Thanks.
On 02/05/2011 06:50 PM, Johan Björk wrote:
The fix is extremely simple
Thanks done.
/Johan
On Tue, Feb 15, 2011 at 3:00 PM, Brad King brad.k...@kitware.com wrote:
On 02/15/2011 08:39 AM, Johan Björk wrote:
Hi everyone,
I created a patch which adds support for multiple folders in Xcode;
http://www.vtk.org/Bug/view.php?id=10039
I wasn't able to find
Hi guys,
Any plans to add a CMAKE_STATIC_LIBRARY_FLAGS_configuration ? It seems
rather weird that I can set 'global' linking flags as well as compilation
flags, but that the static_library step flags are tied to a target. I know
this can all be 'hacked' with overriding the add_library() call,
Use FILE(GLOB) to get a list of files first.
Don't recall if you can specify multiple files with scp, but if not, you can
always use a foreach().
-Johan
On Fri, Feb 11, 2011 at 11:28 AM, Mihai Sandu voyage...@gmail.com wrote:
I want to upload multiple files and I think to do it with scp.
Hi,
Make sure you delete the builddirectory if you change the toolchain file, in
the output you sent all the compiler detection/testing results was cached.
/johan
On Feb 4, 2011 10:27 PM, Enrique Izaguirre enrique.izagui...@gmail.com
wrote:
Thanks Alexander,
Seems that it doesn't have much
Hi Guys,
I ran into a very similar issue, It seems that CMAKE_TOOLCHAIN_FILE does not
trigger the whatever mark as used code in question, so even if it actually
*does* use the variable, you still get a warning.
Example output:
Johan-Bjorks-MacBook-Pro-2:build-morpher phb$ cmake -G Xcode
Hi everyone,
It seems the submodule support in CTest does not iterate into submodules.
I'm not sure if the reason is an overlook, or that some older versions of
git maybe didn't support the --recursive command. Is the proper way to add a
CTEST_GIT_SUBMODULE_UPDATE_COMMAND, or is the following fix
Hi everyone,
It seems the FILE(STRINGS) function does not properly return a list when
there is only one item.
Example cmake file:
FILE(WRITE test hello)
FILE(STRINGS test FOO)
message(${FOO})
LIST(GET test 0 TEST)
message(${TEST})
Returns:
:~ phb$ cmake -P test.cmake
hello
NOTFOUND
This is
Hey David,
What is the intended behavior when upgrading CMake on a OSX Machine?
It seems that currently, generated projects will keep a reference to
the resolved symlink, ie
/Applications/CMake\ VERSION/Contents/bin/..., causing confusing errors such as
Hey everyone,
This will be a really, really vague question.
I'm using ctest scripts to run automated dashboards on all my
platforms. My git repository contains quite a few submodules, which I
believe is related.
At some point, ranging from almost instantly to after a few days,
files starts
Hi everyone,
Unfortunately our buildsystem is not yet entirely clean, and produces
a few files in the source directory. I would like to be able to run
git clean before building, anyone have any ideas how to do this?
(Without losing cdash update history)
To be more precise, the commands I would
Hi everyone,
Is it possible to get (or calculate) the CDash url for a certain
submission in a ctest script?
/Johan
___
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please
Hi Andrew,
I do this from a toolchain file (ie, cmake
-DCMAKE_TOOLCHAIN_FILE=mytoolchainfile.cmake)
SET(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION my.compiler.here.llvmgcc42 CACHE
STRING FORCE)
and it works OK.
/Johan
On Fri, Jan 28, 2011 at 2:39 PM, Andrew Corrigan
acorr...@lcp.nrl.navy.mil wrote:
Not sure if this is a known bug, but installing the symlinks on OSX
fails if they already exist. (..and there is no retry button :( )
/Johan
On Thu, Jan 13, 2011 at 3:15 PM, David Cole david.c...@kitware.com wrote:
I am happy to announce that CMake 2.8.4 has entered the release
candidate
Hi everyone,
I just started using the NMake generator, and ran into an issue that
is probably trivial to fix for someone who knows the generator code.
If one of the steps for the makefile contains a trailing directory
separator, it will escape the newline and result in an invalid
command.
ie
OUTPUT_STRIP_TRAILING_WHITESPACE)
Thanks a ton for the help
/Johan
On Thu, Jan 13, 2011 at 4:01 PM, Johan Björk p...@spotify.com wrote:
Attached them with some modifications.
I have one ctest_platform.cmake for each platform, that all include
ctest_base.cmake that contains a macro that allow me to run all
Hi everyone,
I'm having a strange problem with my CDash submissions, and I'm not sure
what is going on. For every submission I do, I get two builds, one that only
has a UPDATE stage, and one line that has the rest of the steps.
The row with UPDATE has a higher buildID versus the row with
for this dashboard)
What versions of CDash and CMake/CTest are you using?
On Thu, Jan 13, 2011 at 4:07 AM, Johan Björk p...@spotify.com wrote:
Hi everyone,
I'm having a strange problem with my CDash submissions, and I'm not sure
what is going on. For every submission I do, I get two builds, one
this problem?
On Thu, Jan 13, 2011 at 9:47 AM, Johan Björk p...@spotify.com wrote:
Hi David,
Not using subprojects.
CMake/CTest version 2.8.3 and CDash 1.8.2 (upgraded from the previous
release however)
/Johan
On Thu, Jan 13, 2011 at 3:27 PM, David Cole david.c...@kitware.com
wrote
Hi everyone,
The XCode generator does not properly add recursive dependencies, resulting
in that the project files won't be re-generated correctly.
The problem should be easily reproduced in any project that has at least one
add_subdirectory() command, just study the
Hi everyone,
The Makefile generation code in cmGlobalXCodeGenerator.cxx
(cmGlobalXCodeGenerator::CreateCustomRulesMakefile) does not add a
.SUFFIXES: call, resulting in make having implicit rules in place.
The fix should be trivial, simply adding
makefileStream .SUFFIXES: \n; after the first
,PBXLibraryTarget,
PBXAggregateTarget,
On Fri, Dec 17, 2010 at 9:17 AM, Johan Björk p...@spotify.com wrote:
Hi everyone,
I haven't been able to find much information on this topic, so any
suggestions would be greatly appreciated. When CMake regenerates the XCode
project files, it correctly saves
On Thu, Dec 23, 2010 at 1:43 PM, David Cole david.c...@kitware.com wrote:
On Wed, Dec 22, 2010 at 12:57 PM, KC Jones kc.jo...@skype.net wrote:
Feeling really uneasy about putting this out there, but here goes...
I have an app that I am building with cmake (2.8) on both Mac (10.6.40 and
Hi everyone,
I haven't been able to find much information on this topic, so any
suggestions would be greatly appreciated. When CMake regenerates the XCode
project files, it correctly saves the user settings (foo.pbxuser) (contains
things like executable arguments, environment variables and the
Oh, sweet, didn't know there was a bug open for this. +1! Can't wait to get
my hands dirty with 2.8.4
-Johan
On Thu, Dec 16, 2010 at 8:46 AM, Michael Wild them...@gmail.com wrote:
Thanks Brad, that's fantastic! Kind of a premature Christmas gift ;-)
Michael
On 12/15/2010 09:43 PM, Mantis
Hi Justin,
I'm very unsure if this is the correct solution, but it worked for me. I
haven't been able to find any good documentation stating how the CMakeCache
interacts with other parts of CMake.
My assumption is that since CMAKE_C{XX}_FLAGS is supposed to allow the user
to set optional
Hi everyone,
This is basically a repeat question from what was asked in 2008 [1]. Is this
possible now?
To reiterate, I have a project to which I want to give my users an option to
either install as a .deb file, or as a .tgz.
in my tgz, I would like a layout such as
foo-1.2.3.tgz:
70 matches
Mail list logo