[CMake] ExternalProject + Patch command

2011-03-16 Thread Johan Björk
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

Re: [CMake] ExternalProject + Patch command

2011-03-23 Thread Johan Björk
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

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

2011-04-09 Thread Johan Björk
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

[CMake] Converting ctest output to junit

2011-04-26 Thread Johan Björk
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

[CMake] Error on uninitialized vars?

2011-05-24 Thread Johan Björk
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 ___

Re: [CMake] Error on uninitialized vars?

2011-05-26 Thread Johan Björk
, 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

Re: [CMake] Appending to the LINK_FLAGS target property ?

2011-07-22 Thread Johan Björk
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}

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-07-22 Thread Johan Björk
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,

[CMake] Xcode and Cmake ReRun

2011-07-25 Thread Johan Björk
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

Re: [CMake] exclude build project from solution

2011-08-01 Thread Johan Björk
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:

Re: [CMake] exclude build project from solution

2011-08-01 Thread Johan Björk
, 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

Re: [CMake] exclude build project from solution

2011-08-01 Thread Johan Björk
, 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

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

2011-08-01 Thread Johan Björk
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

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

2011-08-08 Thread Johan Björk
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.

Re: [CMake] exclude build project from solution

2011-08-09 Thread Johan Björk
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

Re: [CMake] append command

2011-08-13 Thread Johan Björk
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

Re: [CMake] ok guys, why is configure_file() so sucky?

2011-08-17 Thread Johan Björk
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

Re: [CMake] cmake -E remove xx*, wildcards win32?

2011-08-18 Thread Johan Björk
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,

Re: [CMake] TGZ installer following links

2011-08-27 Thread Johan Björk
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.

[CMake] add_custom_command(TARGET ..) does nothing if target don't exist?

2011-08-30 Thread Johan Björk
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)

Re: [CMake] Xcode deployment postprocessing

2011-09-04 Thread 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:

Re: [CMake] Xcode deployment postprocessing

2011-09-05 Thread Johan Björk
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

Re: [CMake] dmg CPack Options

2011-09-22 Thread Johan Björk
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

Re: [CMake] Xcode resources for different projects in different directories.

2011-10-08 Thread Johan Björk
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

Re: [CMake] [New Module] Arduino CMake

2012-01-23 Thread Johan Björk
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,

Re: [CMake] different compiler for xcode

2012-02-04 Thread Johan Björk
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

[CMake] CPack: Different directory layout depending on generator

2010-11-29 Thread Johan Björk
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:

Re: [CMake] Cross-compiling, CMAKE_C_FLAGS, and configure-time compiler tests

2010-12-14 Thread Johan Björk
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

[CMake] Saving user settings with xcode generator

2010-12-17 Thread Johan Björk
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

Re: [CMake] CPack 101

2010-12-23 Thread Johan Björk
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

Re: [CMake] Saving user settings with xcode generator

2010-12-26 Thread Johan Björk
,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

[CMake] CDash submissions show up as two entries, one row for update, one for build/test etc

2011-01-13 Thread Johan Björk
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

Re: [CMake] CDash submissions show up as two entries, one row for update, one for build/test etc

2011-01-13 Thread Johan Björk
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

Re: [CMake] CDash submissions show up as two entries, one row for update, one for build/test etc

2011-01-13 Thread Johan Björk
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

Re: [CMake] CDash submissions show up as two entries, one row for update, one for build/test etc

2011-01-24 Thread Johan Björk
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

Re: [CMake] CMake 2.8.4-rc1 ready for testing!

2011-01-27 Thread Johan Björk
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

Re: [CMake] XCode compiler selection

2011-01-28 Thread Johan Björk
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:

Re: [CMake] CMake 2.8.4-rc2 ready for testing!

2011-02-01 Thread Johan Björk
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

[CMake] cmake, git and submodules

2011-02-01 Thread Johan Björk
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

[CMake] [ctest]: Running git clean before building?

2011-02-01 Thread Johan Björk
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

[CMake] Ability to get cdash submission URL in ctest script?

2011-02-01 Thread Johan Björk
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

Re: [CMake] CMake Error: Error required internal CMake variable not set

2011-02-05 Thread Johan Björk
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

Re: [CMake] New warnings in CMake 2.8.4-rc2

2011-02-05 Thread Johan Björk
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

[CMake] CTest GIT support does not properly update recursive submodules

2011-02-05 Thread Johan Björk
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

Re: [CMake] upload multiple files

2011-02-11 Thread Johan Björk
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.

[CMake] Global STATIC_LIBRARY_FLAGS_configuration ?

2011-02-15 Thread Johan Björk
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,

Re: [CMake] CTest GIT support does not properly update recursive submodules

2011-02-18 Thread Johan Björk
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

[CMake] CTestDashboardTargets targets should be captured under PREDEFINED_TARGETS_FOLDER?

2011-02-20 Thread Johan Björk
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

[CMake] Intended use of CMAKE_lang_STANDARD_LIBRARIES

2011-02-23 Thread Johan Björk
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

Re: [cmake-developers] [CMake 0011209]: Support generator expression everywhere they make sense

2010-12-16 Thread Johan Björk
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

[cmake-developers] .SUFFIXES: not used in Xcode CreateCustomRulesMakefile

2011-01-11 Thread Johan Björk
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

[cmake-developers] XCodeGenerator bug; ReRunCMake.make only includes toplevel dependencies

2011-01-12 Thread Johan Björk
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

[cmake-developers] NMake and trailing directory separators in custom commands?

2011-01-25 Thread Johan Björk
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

[cmake-developers] Bug in FILE(STRINGS)?

2011-02-04 Thread Johan Björk
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

Re: [cmake-developers] XCode recursive folders support

2011-02-15 Thread Johan Björk
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

Re: [cmake-developers] [CMake] CTest GIT support does not properly update recursive submodules

2011-02-18 Thread Johan Björk
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

Re: [cmake-developers] [CMake] xcode project and static library dependencies

2011-02-20 Thread Johan Björk
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..

[cmake-developers] Fwd: [CMake] CTest GIT support does not properly update recursive submodules

2011-02-20 Thread Johan Björk
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

Re: [cmake-developers] Fwd: [CMake] CTest GIT support does not properly update recursive submodules

2011-02-23 Thread Johan Björk
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

Re: [cmake-developers] Fwd: [CMake] CTest GIT support does not properly update recursive submodules

2011-02-23 Thread Johan Björk
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

Re: [cmake-developers] [CMake] xcode project and static library dependencies

2011-03-07 Thread Johan Björk
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

Re: [cmake-developers] [CMake] xcode project and static library dependencies

2011-03-07 Thread Johan Björk
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

Re: [cmake-developers] Change type of CMAKE_OSX_SYSROOT to STRING instead of PATH

2011-05-27 Thread Johan Björk
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

Re: [cmake-developers] Avoid merging stderr/stdout in RunSingleCommand

2011-07-20 Thread Johan Björk
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

Re: [cmake-developers] Avoid merging stderr/stdout in RunSingleCommand

2011-07-26 Thread Johan Björk
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

[cmake-developers] Setting environment variables for builds

2011-08-08 Thread Johan Björk
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

[cmake-developers] Disable prebinding flag on Xcode = 4.0

2011-08-18 Thread Johan Björk
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

Re: [cmake-developers] [CMake] TGZ installer following links

2011-08-27 Thread Johan Björk
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.

[cmake-developers] xcode, ZERO_CHECK regression

2011-08-28 Thread Johan Björk
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

Re: [cmake-developers] Proposal: An IRC dev meeting to chat about CMake stuff

2012-08-17 Thread Johan Björk
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.