[CMake] OSX RPATH linker flags not added on first build

2017-02-03 Thread Doug Digglington
Hello, I am using ExternalProject to download and build a third-party library (SDL) in my project. I am running into an issue on OSX where the RPATH linker flags will not be added when my project is built and linked for the first time. As a result the built executable will not have any RPATH

Re: [CMake] Generate a file with a custom command as part of build

2017-01-26 Thread doug livesey
I'll have a play with that later. Thanks again for all your help. Doug. On 25 January 2017 at 16:02, Michael Ellery <mellery...@gmail.com> wrote: > > > On Jan 24, 2017, at 11:22 PM, doug livesey <biot...@gmail.com> wrote: > > > > Is there any way that I ca

Re: [CMake] Generate a file with a custom command as part of build

2017-01-24 Thread doug livesey
Is there any way that I can make the files webpack compiles into dependencies for the Webpack task? So that any changes to those are picked up for recompilation? No worries if not, I just thought it would be nice. On 25 January 2017 at 07:19, doug livesey <biot...@gmail.com> wrote: >

Re: [CMake] Generate a file with a custom command as part of build

2017-01-24 Thread doug livesey
they run. > > > On Jan 24, 2017, at 11:34 AM, doug livesey <biot...@gmail.com> wrote: > > > > Hi -- sorry about the really late reply, I've been away. Up to Hadrian's > Wall, and then for a Dark Skies observatory evening. > > It was ace. :) > > I've add

Re: [CMake] Generate a file with a custom command as part of build

2017-01-24 Thread doug livesey
ic/) and calling `add_subdirectory(public)` from my top-level file? I've tried this a couple of ways, but so far haven't got it working. Am I on the right sort of approach, or have I wandered far from the beaten track? Thanks again for your help, Doug. On 22 January 2017 at 00:16, Michael E

[CMake] Generate a file with a custom command as part of build

2017-01-21 Thread doug livesey
would anticipate that it would put the command I want to call in the makefile, but it hasn't. If anyone could advise me on what I'm not getting here, that would be brilliant. Cheers, Doug. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http

Re: [CMake] Setting a value in a sub-project

2016-05-20 Thread Doug Cuthbertson
cause cmake finishes configuring everything under Bar before it reads the set commands in Foo. Thanks again for all your help. Doug On Fri, May 20, 2016 at 8:14 AM, Jakob van Bethlehem < jsvanbethle...@gmail.com> wrote: > Ah, nice. Good to know. But then still that cache variable is not creat

Re: [CMake] Setting a value in a sub-project

2016-05-20 Thread Doug Cuthbertson
Hi Petr, Thank you so much. I'll try it when I get in to work this morning. Doug On Fri, May 20, 2016 at 5:37 AM, Petr Kmoch <petr.km...@gmail.com> wrote: > Hi Doug, > > your syntax for `set()` in Foo is incorrect; you're actually setting a > non-cache variable OPT1 do t

[CMake] Setting a value in a sub-project

2016-05-20 Thread Doug Cuthbertson
nce when the option controls, for example, whether a static or dynamic library will be built. Thanks, Doug -- 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 communi

[CMake] Getting a list of build link targets?

2014-03-04 Thread Doug
link correctly to all the dependent static targets for a given library... ~ Doug. -- 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 more information

Re: [CMake] Problem using VS 2012 Express and CMake

2013-10-07 Thread Doug
Oh, thank you~ I was just trying the nightly builds in the hopes that they had a fix with no luck, but you're right, generating a VS2011 project did work. The 2012 generator is still broken in the nightlies, both for pro and express though as far as I can tell. ~ Doug. On Mon, Oct 7, 2013

Re: [CMake] Problem using VS 2012 Express and CMake

2013-10-07 Thread Doug
the tools version changes from 4.0 as msbuild is moved out of the framework. However, I believe that this has mistakenly been put in the VS2012 generator, when it should go in a new VS2013 generator. ~ Doug. On Mon, Oct 7, 2013 at 9:01 PM, Michael Jackson mike.jack...@bluequartz.net wrote: I am

Re: [CMake] Problem using VS 2012 Express and CMake

2013-10-06 Thread Doug
studio express 2012 on windows 7. ~ Doug. (PS. After reading this thread I did perform an repair, but as expected, the difficulties appear to be that 1) the path in the config file is wrong and 2) VS express doesn't have a functioning devenv.exe to perform upgrades with; it didn't fix anything

Re: [CMake] Relink to shared libs

2012-10-25 Thread Doug
I can't see why you couldn't use set(CMAKE_SKIP_RPATH ON) and post build copy your library to a path that's on your linker path; have your tests setup to use the system copy of the library instead of the local copy. ~ Doug. On Sat, Aug 4, 2012 at 2:41 AM, Leif Walsh leif.wa...@gmail.com wrote

[CMake] Incorrect link order MSYS + SDL from target_link_libraries

2012-09-25 Thread Doug
where mingw32 depends on SDL2Main. Currently (as far as I can tell) the link dependencies are basically: target_link_libraries(SDL2 ${STUFF}) where STUFF contains both SDL2Main and mingw32 Any ideas? Cheers, Doug. -- Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] How to check the operating system is MacOSX?

2012-09-19 Thread Doug
() message(Found no OSX) endif() if(OS_IPHONE) message(Found IPHONE) else() message(Found no IPHONE) endif() ~ Doug. On Wed, Sep 19, 2012 at 4:52 AM, Eric Wing ewmail...@gmail.com wrote: On 9/18/12, Stefan Reuschl stefan.reus...@gmail.com wrote: How do you crosscompile for iOS? If using

Re: [CMake] How to check the operating system is MacOSX?

2012-09-18 Thread Doug
itself. ~ Doug. On Mon, Sep 17, 2012 at 6:08 AM, Eric Wing ewmail...@gmail.com wrote: On 9/16/12, Michael Jackson mike.jack...@bluequartz.net wrote: On Sep 15, 2012, at 1:32 PM, Andreas Pakulat wrote: Hi, On Sat, Sep 15, 2012 at 12:46 PM, Loaden loa...@gmail.com wrote: http://www.cmake.org

Re: [CMake] How to check the operating system is MacOSX?

2012-09-18 Thread Doug
anyway) if(WIN32) ... elseif(APPLE) ... else ... endif worked fine. ~ Doug. On Tue, Sep 18, 2012 at 9:52 PM, Doug douglas.lin...@gmail.com wrote: As far as I'm aware the only real way to detect OSX itself is by something like: #if __APPLE__ #include TargetConditionals.h #if TARGET_OS_IPHONE

[CMake] CHECK_C_SOURCE_COMPILES for objective c?

2012-09-14 Thread Doug
the right way of handling this? ~ Doug. -- 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 FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe

Re: [CMake] how to build cmake with mingw and msys?

2012-08-15 Thread Doug
' and it runs, I would expect it to be fine. Perhaps the mingw list has some suggestions... ~ Doug. On Wed, Aug 15, 2012 at 11:36 PM, LM lme...@gmail.com wrote: On Aug 14, Doug wrote: For what it's worth, it works for me? I'm using stock mingw on windows 7, with these settings: doug@Zed e:/lib

Re: [CMake] Generator for Android.mk

2012-08-14 Thread Doug
), especially if you're using something ported from automake. Cheers, Doug. On Tue, Aug 14, 2012 at 9:02 PM, John Barnum john.bar...@sas.com wrote: I understand that you can build Android with make files and the standalone-toolchain (still in beta), but is there a generator that produces Android.mk

Re: [CMake] how to build cmake with mingw and msys?

2012-08-14 Thread Doug
For what it's worth, it works for me? I'm using stock mingw on windows 7, with these settings: doug@Zed e:/lib/cmake $ which gcc /mingw/bin/gcc.exe doug@Zed e:/lib/cmake $ which make /usr/bin/make.exe doug@Zed e:/lib/cmake $ echo $PATH .:/usr/local/bin:/mingw/bin:/usr/bin:/c/Windows/system32

Re: [cmake-developers] ReactOS: Important filed bug reports went to backlog en masse

2012-08-12 Thread Doug
discussion if they want it fixed. I've read a few articles online about doing this sort of thing to clear the 'fog' of irrelevant issues that clogs up bug trackers, esp. public ones. ~ Doug. On Sun, Aug 12, 2012 at 8:10 PM, David Cole david.c...@kitware.com wrote: I certainly did not mean to offend

Re: [CMake] Generating multiple debian packages

2012-08-08 Thread Doug
files before the relevant directories have been created, failing the install). Doesn't seem to be an issue in more recent versions though. ~ Doug. On Thu, Aug 9, 2012 at 9:51 AM, Bruce Cartland bruce.cartl...@pobox.com wrote: I've been through this and experimented with samples kindly provided

Re: [CMake] Generating multiple debian packages

2012-08-08 Thread Doug
/shadowmint/cmake-multi-install ~ Doug. On Thu, Aug 9, 2012 at 10:06 AM, Doug douglas.lin...@gmail.com wrote: Woops; didn't mean to respond off list. Anyway, basically my suggestion is as part of your build generate a folder like: ${CMAKE_CURRENT_BINARY_DIR}/deploy-package-XXX/ And copy

Re: [cmake-developers] lua bindings?

2012-08-03 Thread Doug
in pairs(files) ... or similar because this is a cached script builder, not a dynamic script evaluator. This sucks in some ways, but vastly lowers the complexity of implementing it. ~ Doug. On Sat, Aug 4, 2012 at 6:10 AM, Bill Hoffman bill.hoff...@kitware.com wrote: On 8/3/2012 5:30 PM, Óscar

[cmake-developers] Fwd: lua bindings?

2012-08-03 Thread Doug
Woops; wrong reply button. :P -- Forwarded message -- From: Doug douglas.lin...@gmail.com Date: Sat, Aug 4, 2012 at 8:07 AM Subject: Re: [cmake-developers] lua bindings? To: Brad King brad.k...@kitware.com I've found lately that I am using increasingly complex scripts to convert

[cmake-developers] lua bindings?

2012-08-02 Thread Doug
experience and suggestions? Cheers, Doug. -- 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 FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe

[CMake] Arbitrary order named arguments

2012-07-19 Thread Doug
way? ~ Doug. -- 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 FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org

Re: [CMake] Arbitrary order named arguments

2012-07-19 Thread Doug
Ah~ I saw http://www.cmake.org/Wiki/CMakeMacroParseArguments but I didn't realize it was an in-built feature now. That's great, thanks~ Cheers, Doug. On Fri, Jul 20, 2012 at 12:28 PM, Michael Jackson mike.jack...@bluequartz.net wrote: include (CMakeParseArguments) function(BuildQtAppBundle

[CMake] Inbuilt documentation -- awesome.

2012-07-16 Thread Doug
By the way guys, who ever is responsible for the idea of shifting all the documentation into the binary for cmake itself so you can just call cmake --help-command blah, you rock. Amazingly useful feature. :) ~ Doug. -- Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] Linking against exported symbols in an application (cross platform)

2012-07-15 Thread Doug
. So I need to link the shared library / dll with missing symbols and the right 'magical linker arguments' so that when the dll loads it resolves the symbols from the parent. ~ Doug. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

[CMake] Another minor docs issue; no FILE(DIFFERENT ... ) documentation?

2012-06-19 Thread Doug
(args); Just an omission from the docs? ~ Doug. -- 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 FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe

Re: [CMake] cpack DEB generator docs

2012-06-18 Thread Doug
Yeah, I really should. :) Is this ok? Or shall I create a bug and attach the patch to that? (attach patch; it's very minor; just missing 3 of the variables) doug@shadowmint:~/ext/cmake$ ./bin/cpack --help-variable-list |grep DEB -- All in there now~ CPACK_RPM_PACKAGE_DEBUG

[CMake] cpack DEB generator docs

2012-06-17 Thread Doug
control field has these two distinct purposes. ~ Doug. -- 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 FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link

Re: [CMake] More than one package source for a project.

2012-06-14 Thread Doug
get the idea. No idea why this isn't in the wiki. It keeps turning up as a question... Also, it doesn't work on all the pack builders. ~ Doug. On Fri, Jun 15, 2012 at 2:57 AM, Darryl L. Pierce dpie...@redhat.comwrote: Our project has several subprojects to it. What I would like to do is have

Re: [CMake] Generating source file one step before linking

2012-06-14 Thread Doug
${CMAKE_COMMAND} -E copy ${ITEM} . WORKING_DIRECTORY ${PROJECT_BINARY_DIR} COMMENT Copying ${ITEM} to ${PROJECT_BINARY_DIR}) endforeach() endif() You could use the PRE_LINK key and what ever your custom command is I expect. ~ Doug. On Thu, Jun 14, 2012 at 4:59 PM, Johannes Bauer dfnsonfsdu

Re: [CMake] Mastering CMake: which cmake version?

2012-06-14 Thread Doug
Idly, I can't find anything in the book referencing 2.8.1, the closest I've noticed is some talk about 2.8.0-rc2. I haven't exhaustively searched or anything, just flicked through. ~ Doug. On Thu, Jun 7, 2012 at 11:19 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On 6/7/2012 10:24 AM

[CMake] How to handle dependencies for custom cmake builder?

2012-06-12 Thread Doug
(GLOB_RECURSE SOURCES ${PROJECT_SOURCE_DIR}/sample1/*.cs) add_mono_library(mono_sample1 ${SOURCES}) file(GLOB_RECURSE SOURCES ${PROJECT_SOURCE_DIR}/sample2/*.cs) add_mono_executable(mono_sample2 ${SOURCES}) Cheers, Doug. -- Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] CMake generation for Android iPhone development

2012-02-04 Thread Doug
http://code.google.com/p/android-cmake/ Have a look at the opencv for android example; it's a quickstart guide for android~ ~ Doug. On Sun, Feb 5, 2012 at 9:07 AM, Robert Dailey rcdai...@gmail.com wrote: Can someone briefly go over the possibility of using CMake to generate projects

[CMake] Optional submodules best practice?

2012-02-03 Thread Doug
of #ifdefs in a single code group we've split it into a common header file and separate submodules for different people to look after independently). Cheers, Doug. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

[CMake] custom compiler: remove space after CMAKE_LINK_LIBRARY_FILE_FLAG

2011-10-20 Thread Doug Crawford
I am creating a platform file for the Radisys OS9 embedded cross compiler.  The executable link line needs to look like: xcc source.o -fd=target -lmylib/mylib.l   I figured out that I needed to add this to my Generic_XCC.cmake platform file SET(CMAKE_LINK_LIBRARY_FILE_FLAG -l)   but the problem

Re: [CMake] Sub dependencies?

2011-08-12 Thread Doug
sorry, I can't see it. Can you point to a specific point in the page?) ~ Doug. On Fri, Aug 12, 2011 at 2:34 PM, Michael Wild them...@gmail.com wrote: If the projects are independent, you might want to take a look at this Wiki page: http://www.cmake.org/Wiki/CMake/Tutorials

Re: [CMake] Sub dependencies?

2011-08-12 Thread Doug
I see. I've tried this approach and I get the error: -- Found LIBPNG CMake Error at CMakeLists.txt:49 (export): export given target /usr/lib/libpng.so which is not built by this project. -- Configuring incomplete, errors occurred! ~ Doug. On Fri, Aug 12, 2011 at 4:57 PM, Michael Wild them

[CMake] Sub dependencies?

2011-08-11 Thread Doug
LIBNW_INCLUDE_DIR) set(LIBNW_PROCESS_LIBS LIBNW_LIBRARY LIBNW_LIBRARIES) libfind_process(LIBNW) I know I can use ADD_SUBDIRECTORY to include stuff for a sub dir, but that isn't really appropriate in this case. ~ Doug. ___ Powered by www.kitware.com Visit other

Re: [CMake] Sub dependencies?

2011-08-11 Thread Doug
solution. Edit: woops; ment that to go to the list. ~ Doug. On Thu, Aug 11, 2011 at 7:39 PM, Glenn Coombs glenn.coo...@gmail.comwrote: Add the sub dependencies that library A has with target_link_libraries(): target_link_libraries(A png) -- Glenn On 11 August 2011 10:02, Doug douglas.lin

Re: [CMake] Sub dependencies?

2011-08-11 Thread Doug
specific case libpng and libpng-android are not the same project; they are completely split and do not even use the same files. Neither of them are 'child' projects of my library (libnw) via add_subdirectory or some other weird thing like that. ~ Doug. On Thu, Aug 11, 2011 at 9:30 PM, Glenn Coombs

Re: [CMake] Sub dependencies?

2011-08-11 Thread Doug
/libzip.so;/usr/lib/libpng.so In exec/CMakelists.txt I invoke: find_package(libna REQUIRED) message(na depend? ${LIBNA_LIBRARY}) target_link_libraries(exec ${LIBNA_LIBRARY}) Yielding: -- Found LIBNA B depend? /home/doug/projects/Natives/libcommon-android/build/libna.a However, on compile verbose

[CMake] How does cmake find libraries?

2011-06-15 Thread Doug
is broken, but I'm not sure exactly how to fix it. Cheers, Doug. ___ 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 FAQ at: http

[CMake] How do you put specific files in the build directory?

2011-06-01 Thread Doug
into the tests folder. Current the test zip file lives in src/tests/test.zip What's the right way to do this? I see some libraries use configure_file to generate headers in the build directory, but that doesn't seem useful in this case... Cheers, Doug

[CMake] Alternative toolchains? (alchemy, android ndk)

2011-05-05 Thread Doug
to cutout the root /usr/include and pass a new one in, as well as a specific alternative version of gcc; but I can't figure out how to do that in the cmake directives... ~ Doug. ___ Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] shared directory with subdirs and custom command

2010-06-02 Thread Doug Reiland
I am porting a library over to cmake. This library is built both shared and static AND has several composite objects that get linked in. For example, subdir-a had makefile that compiled and linked a1.c a2.c into ../a.o top directory linked in a.o into it's libs (shared and static) I have

[CMake] Extending a target??

2010-06-02 Thread Doug Reiland
Is there anything to add to a target after it is declared? For example, add_library(foo STATIC foo1.c foo2.c) add_some_more(foo foo3.c) or add_some_more(foo foo3.o) If not, feasibility on how it could be implemented? Thanks, Doug ___ Powered

[CMake] list of lists -possible?

2010-06-02 Thread Doug Reiland
Is it possible to implement a list of lists. The following example shows cmake ending up with a list with 6 elements instead of a list with 2 elements with each element being a list with 3 elements set(fooa 1 2 3) set(foob a b c) message(${fooa}) message(${fooa}) message(${foob}) list(APPEND foos

Re: [CMake] list of lists -possible?

2010-06-02 Thread Doug Reiland
perfect, thankyou! On Wed, Jun 2, 2010 at 12:34 PM, Clinton Stimpson clin...@elemtech.com wrote: On Wednesday, June 02, 2010 10:24:44 am Doug Reiland wrote: Is it possible to implement a list of lists. The following example shows cmake ending up with a list with 6 elements instead of a list

Re: [CMake] Extending a target??

2010-06-02 Thread Doug Reiland
generate a .o and both the shared and static library include it (link, archive). This all still works ok in cmake for shared library because you can just get the sub-directory to generate a share libray and have main library link it in. For static library, ... it is a pain. Doug On Wed, Jun 2

[CMake] cmake - escape/delay variable expansion

2010-06-02 Thread Doug Reiland
Sorry for another newbie question. Say, to setup a variable as follow so ${build-dir} doesn't get expanded set(foo \${build-dir}/foo.c) How would a expand foo so ${build-dir} gets expanded? The following don't seem to do it. message(${foo}) message(${${foo}})

Re: [CMake] newbie question - what targets are supported?

2010-05-28 Thread Doug Reiland
] newbie question - what targets are supported? On 05/28/2010 12:14 AM, Doug Reiland wrote: okay, I have ordered the book. But, in the meantime. I am continuing to port a large library from in-house build to cmake for evaluation. What builtin targets are supported? On *nix, run CMake on a directory

[CMake] cmake - library help

2010-05-27 Thread Doug Reiland
First, I am new to cmake and exploring converting our home grown build system. How would I code this up in cmake I have composite objects that need to be added to a share library add_library(foo a.c b.c c.c) I also need x.o in the library AND x.o linked from: subdir-a/aa.c subdir-a/bb.c

[CMake] cmake - library help

2010-05-27 Thread Doug Reiland
SOURCES-static ${SOURCES} file(GLOB subdira-sources subdira/*.c) list(APPEND SOURCES-static ${subdira-sources}) then add_library(foo-static STATIC ${SOURCES-static}) I have several composite objects like this.Is there a better way? Doug On Thu, May 27, 2010 at 11:32 AM, Torri, Stephen CIV

[CMake] newbie question - what targets are supported?

2010-05-27 Thread Doug Reiland
okay, I have ordered the book. But, in the meantime. I am continuing to port a large library from in-house build to cmake for evaluation. What builtin targets are supported? I got lex, gperf, and other kinds of stuff. A (pseudo code) didn't work: add_library(foo *.c *.gpref) thanks!

[CMake] Deprecated commands -- replacements?

2009-09-04 Thread Doug Hackworth
if this is a clueless or RTFM question. Hopefully it's a fairly simple thing which someone can answer off the top of their head. Btw this is on Ubuntu, I built CMake from source, and here's the version I'm using: $ cmake --version cmake version 2.6-patch 4 All assistance very much appreciated. Thanks, Doug

Re: [CMake] Generator for Xcode 3.0+?

2009-06-28 Thread Doug Gregor
Xcode users could give it a spin. (Yes, it makes sure that Build independent targets in parallel is set). - Doug On Thu, Jun 18, 2009 at 12:25 PM, David Coledavid.c...@kitware.com wrote: Nope. Feel free to have a go at it... (Or maybe a volunteer from Apple's Xcode development team would

[CMake] Generator for Xcode 3.0+?

2009-06-18 Thread Doug Gregor
When I build an Xcode project using CMake, Xcode loads and builds the project fine but claims that the project is Xcode 2.4 compatible. Has anyone looked into what it would take to generate Xcode 3.0+ projects? - Doug ___ Powered by www.kitware.com

Re: [CMake] Generator for Xcode 3.0+?

2009-06-18 Thread Doug Gregor
by several magnitudes. That's exactly the option that triggered my question :) - Doug ___ 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

[CMake] Deriving version number from a header (safely)

2009-05-14 Thread Doug Gregor
could imagine that there could exist a cmake-cache target, such that we could add add_dependencies(cmake-cache ${CMAKE_CURRENT_SOURCE_DIR}/boost/version.hpp) and then CMake would be re-run if boost/version.hpp changes. Does something like this exist? - Doug

Re: [CMake] Deriving version number from a header (safely)

2009-05-14 Thread Doug Gregor
On Thu, May 14, 2009 at 8:25 AM, Brad King brad.k...@kitware.com wrote: Doug Gregor wrote: However, we'd also like to force CMake to reconfigure when boost/version.hpp changes. Is there some top-level target that we can attach such a dependency to? This has come up several times recently

[CMake] xcode generator

2009-03-24 Thread Doug Henry
Quick question about the cmake xcode project generator. I can run cmake and build my project just fine using cmake under Leopard from the terminal and from xcode, so there is no build problem. I was wondering if anyone has code completion working for their project? To be more specific, when

[CMake] Qt find package location

2009-03-11 Thread Doug Henry
I have multiple Qt installations and would like to know how I guide the find_package(Qt4) command to find the correct one. I assume there is a variable I can set which defines the search path, which will allow me to change the path to find a different installed version. Thanks. :doug

Re: [CMake] Qt find package location

2009-03-11 Thread Doug Henry
, 11 Mar 2009, Doug Henry wrote: I have multiple Qt installations and would like to know how I guide the find_package(Qt4) command to find the correct one. I assume there is a variable I can set which defines the search path, which will allow me to change the path to find a different

Re: [CMake] Qt find package location

2009-03-11 Thread Doug Henry
Looks like QTDIR is checked last, so it will always use the one found in my path. I was (incorrectly) expecting QTDIR to be an override, but it functions more like a safety net. -thanks On Wed, Mar 11, 2009 at 1:34 PM, Doug Henry doug.henry+cm...@brilligent.comdoug.henry%2bcm...@brilligent.com

Re: [CMake] MPI Module

2008-09-08 Thread Doug Gregor
to mpicxx -mpe=mpianim without regenerating the Makefiles. Make mpicxx your compiler, then just change the CMAKE_CXX_FLAGS to include --mpe=mpanim (?) - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Component group specific installation with Makefile

2008-08-07 Thread Doug Gregor
installed. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Component group specific installation with Makefile

2008-08-07 Thread Doug Gregor
to the CMake community! - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Component group specific installation with Makefile

2008-08-06 Thread Doug Gregor
cmake_install.cmake actions. It means that cpack_add_* is somewhat of a misnomer (CPack doesn't even come into play with the install targets in the makefile), but I think it's useful behavior. Bonus points if you make targets like install-help and install-help-componentname provide useful documentation. - Doug

Re: [CMake] What's the point for making component-specific directory for CPack?

2008-07-29 Thread Doug Gregor
On Tue, Jul 29, 2008 at 4:44 AM, Yuri Timenkov [EMAIL PROTECTED] wrote: On Monday 28 July 2008 22:04:57 Doug Gregor wrote: On Mon, Jul 28, 2008 at 1:48 PM, Yuri Timenkov [EMAIL PROTECTED] wrote: On Monday 28 July 2008 21:16:25 Doug Gregor wrote: On Mon, Jul 28, 2008 at 12:45 PM, Yuri

Re: [CMake] CMake CVS + CPack + NSIS - Installing files with spaces

2008-07-28 Thread Doug Gregor
that tracking down the actual problem was quite a challenge.) Do I just not properly understand how to quote strings in CMake, or is this a bug in the NSIS generator? That's definitely a bug in the generator. Would you file a bug report at http://public.kitware.com/Bug/ ? - Doug

Re: [CMake] CPack Components with NSIS and using InstallRequiredSystemLibraries

2008-07-28 Thread Doug Gregor
me whether that works? - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CPack Components with NSIS and using InstallRequiredSystemLibraries

2008-07-28 Thread Doug Gregor
components completely. It has almost nothing to do with the NSIS generator. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CPack Components with NSIS and using InstallRequiredSystemLibraries

2008-07-28 Thread Doug Gregor
. The cpack_add_* commands will take care of CPACK_COMPONENTS_ALL for you. Are you deprecating the old SET(...) way of doing components? Yeah. The commands are so much easier to use. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org

Re: [CMake] Linking with MSVC against Boost lib fails to find library

2008-07-11 Thread Doug Gregor
(-DBOOST_ALL_DYN_LINK) - Doug -- Regards Steve Collyer Netspinner Ltd ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake ___ CMake mailing list CMake@cmake.org http://www.cmake.org

Re: [CMake] MSI Support

2008-07-10 Thread Doug Gregor
directly. There might be some advantages to using MSI for these installers, but as far as I know nobody is working on CPack support for this system. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FindBoost.cmake from 2.6

2008-07-03 Thread Doug Gregor
versions of CMake? I don't know, but I'm concerned about the maintenance burden there, particularly for a complicated module like this one. Anyway, I'm working on a bunch of issues with FindBoost, and will ping the list when I think I have it right. - Doug

Re: [CMake] FindBoost.cmake from 2.6

2008-07-03 Thread Doug Gregor
On Thu, Jul 3, 2008 at 12:23 PM, Doug Gregor [EMAIL PROTECTED] wrote: Anyway, I'm working on a bunch of issues with FindBoost, and will ping the list when I think I have it right. There's a much-improved FindBoost module now in CMake CVS. Hopefully it will get merge in to the next RC for 2.6.1

Re: [CMake] Component specific installation

2008-06-30 Thread Doug Gregor
/CMake:Component_Install_With_CPack for more information. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Creating multiple (deb) packages from one source tree using CPack

2008-06-27 Thread Doug Gregor
installations is available in CMake CVS for NSIS (Windows) and PackageMaker (Mac OS X). Mathieu has started work on support for multiple .debs using the same input mechanism. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman

Re: [CMake] Fwd: Generating debian package using cmake (take 2)

2008-06-24 Thread Doug Gregor
this model. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Why is there no install(DIRECTORY dirs... COMPONENT component OPTIONAL)?

2008-05-22 Thread Doug Gregor
as good. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] [ctest] junit xml output

2008-05-22 Thread Doug Gregor
On Thu, May 22, 2008 at 9:46 AM, Mike Arthur [EMAIL PROTECTED] wrote: On Thursday 22 May 2008 13:55:19 Doug Gregor wrote: We've been discussing exactly the same sort of thing for Boost, but with output from CTest going to Bitten (http://bitten.edgewall.org/). XSLT seems like an easy way

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-22 Thread Doug Gregor
are the changes. Sorry, but I don't have a decent diff generator on this windows box so you will have to merge stuff in: Thanks! All of these changes are in CMake CVS now. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo

Re: [CMake] CPack/NSIS installation of specific components

2008-04-19 Thread Doug Gregor
On Fri, Apr 18, 2008 at 11:06 AM, Doug Gregor [EMAIL PROTECTED] wrote: On Thu, Apr 17, 2008 at 9:33 PM, Doug Gregor [EMAIL PROTECTED] wrote: Okay, the bug report is here: http://public.kitware.com/Bug/view.php?id=6847 The archive attached to it contains the patch

Re: [CMake] CPack/NSIS installation of specific components

2008-04-19 Thread Doug Gregor
On Sat, Apr 19, 2008 at 2:32 PM, Doug Gregor [EMAIL PROTECTED] wrote: On Fri, Apr 18, 2008 at 11:06 AM, Doug Gregor [EMAIL PROTECTED] wrote: On Thu, Apr 17, 2008 at 9:33 PM, Doug Gregor [EMAIL PROTECTED] wrote: Okay, the bug report is here: http://public.kitware.com/Bug

Re: [CMake] CPack/NSIS installation of specific components

2008-04-18 Thread Doug Gregor
On Thu, Apr 17, 2008 at 9:33 PM, Doug Gregor [EMAIL PROTECTED] wrote: Okay, the bug report is here: http://public.kitware.com/Bug/view.php?id=6847 The archive attached to it contains the patch (*with* the additional header) and an example with a few components. I also went ahead

Re: [CMake] CPack/NSIS installation of specific components

2008-04-17 Thread Doug Gregor
On Thu, Apr 17, 2008 at 4:21 PM, Alexander Neundorf [EMAIL PROTECTED] wrote: On Thursday 17 April 2008, Doug Gregor wrote: Hello all, ... Comments? Ideas? Rotten tomatoes? - Doug Could this in some way be related with this one ? http://www.cmake.org/pipermail/cmake/2008-April

Re: [CMake] CPack/NSIS installation of specific components

2008-04-17 Thread Doug Gregor
report is here: http://public.kitware.com/Bug/view.php?id=6847 The archive attached to it contains the patch (*with* the additional header) and an example with a few components. I also went ahead and implemented the component groups feature. - Doug

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-12 Thread Doug Gregor
://svn.boost.org/trac/boost/wiki/CMake - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-11 Thread Doug Gregor
works with MinGW, but we don't put much effort into testing or maintaining it. Frankly, I think we should put this new FindBoost into 2.6.0, assuming there's another RC. I'm attaching the latest version (only typo fixes from the diff Andreas sent out). - Doug FindBoost.cmake Description: Binary

[CMake] FindMPI.cmake updated in CVS trunk

2008-04-11 Thread Doug Gregor
for this change. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FindBoost.cmake updated on the bugtracker

2008-04-08 Thread Doug Gregor
I'd like to take it for a spin on Windows as well. - Doug --- /u/dgregor/Downloads/FindBoost_v9.cmake.txt 2008-04-08 05:49:48.0 -0 400 +++ FindBoost.cmake 2008-04-08 16:37:34.0 -0400 @@ -9,7 +9,7 @@ # boost version numbers that should be taken into account when searching

Re: [CMake] CMake 2.6.0 Beta ready for testing!

2008-04-02 Thread Doug Gregor
that can used from the command line. - Doug ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

  1   2   >