Re: [CMake] CPack: Building Multiple Packages

2008-04-04 Thread Stuart Herring
On Fri, Apr 4, 2008 at 6:14 AM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > I think you can create a CPackConfig.cmake file for each and run cpack on > them directly and it should work. make package won't do the right thing, but > you should be able to create cpack input files for as many parts of a

Re: [CMake] Why SET() not support regular expression ?

2008-01-18 Thread Stuart Herring
On Jan 18, 2008 11:43 PM, Yang, Y. <[EMAIL PROTECTED]> wrote: > For example, SET( MY_SRCS mydir/*.c) > > if CMake can do this, I don't have to modify the CMakeLists.txt every > time when I add new files to mydir. > > That's not exactly a regular expression - it's a glob. In any case, FILE(GLOB ...

Re: [CMake] Linking several executables to the same object files

2007-06-29 Thread Stuart Herring
On 6/30/07, Daniel Gruen <[EMAIL PROTECTED]> wrote: Just one question: I have a project including several executables that all link to a set of common .o files (and I don't want to make a library out of it). Is there a way to prevent cmake from compiling them over and over again? Currently, it do

Re: [CMake] Can two executables share one object file?

2007-06-08 Thread Stuart Herring
On 6/9/07, Clark J. Wang <[EMAIL PROTECTED]> wrote: but it failed to cmake. So how can I let two executables share one single object file? You don't really want to. The cost of compiling the same source file twice is minimal, and it's much safer to compile them separately - it means that if yo

Re: [CMake] CPack Questions and Issues

2007-05-20 Thread Stuart Herring
On 5/21/07, Eric Noulard <[EMAIL PROTECTED]> wrote: 2007/5/20, Stuart Herring <[EMAIL PROTECTED]>: > * The NSIS generator ignores most of the variables you'd think it > would use, and instead appears to use the > CPACK_PACKAGE_INSTALL_DIRECTORY variable for everythin

[CMake] CPack Questions and Issues

2007-05-20 Thread Stuart Herring
I've been experimenting with CPack, and I've come up with the following questions and issues - * Is there a way of producing multiple packages (one for each Component specified in INSTALL) in a single project? I ended up having to write a custom target that ran cpack directly, and not bother wi

[CMake] Accessing targets at test time on MSVC

2007-04-01 Thread Stuart Herring
Hi, I have a situation where I want to add a test that runs a target built in another directory - so I used GET_TARGET_PROPERTY to get the LOCATION property of the target, and it works fine with non MS build systems. However, with VS6, building the RUN_TESTS project gives the following error: CMa

RE: [CMake] Building CMake on Digtal Unix

2006-07-20 Thread Stuart . Herring
> I think this is the first time anyone has tried building CMake on > Digital Unix. Officially supported platforms have dashboard submissions: Ahh, I was afraid of that. > If you want to try to port the code to that platform we accept patches > in the bug tracker: > > http://www.cmake.org/Bug >

[CMake] Building CMake on Digtal Unix

2006-07-19 Thread Stuart . Herring
ingle gcc version 3.3 Any suggestions would be greatly appreciated. Thanks, Stuart Herring R&D Development Engineer HPA www.hpa.com.au [EMAIL PROTECTED] ** IMPORTANT The contents of this e-mail and its attachments are confid