Re: [CMake] /MACHINE:x64

2007-12-28 Thread George Neill
Hi Bill, Thanks for responding. > What version of the compiler do you have? > With vs 2005, which was the first one we supported 64 bit builds, I get > this: Windows Server 2003 SP1 Platform SDK and the Visual C++ toolkit 2003. The following link appears to be similar to issue(s) I am having ..

Re: [CMake] /MACHINE:x64

2007-12-28 Thread Bill Hoffman
George Neill wrote: Hi CMakers! I am trying to compile on a 64 bit windows machine (AMD64). It seems CMake only outputs /MACHINE:X64 for the link flags. However, link.exe reports that flag doesn't exist. Is this a bug? I am using, cmake version 2.4-patch 7 cl.exe Microsoft (R) C/C++ Optim

[CMake] Find* and cross compiling

2007-12-28 Thread Rodolfo Lima
Hi all, I've been exercising cmake-cvs's cross-compiling capabilities and I've noticed that the way several Find* scripts work doesn't behave well with cross-compiling. Usually when doing this kind of builds (at least in linux), one have a place (for instance /usr/i686-mingw32-pc) where all binari

Re: [CMake] Re: Install of pattern matched files

2007-12-28 Thread Brandon Van Every
On Dec 28, 2007 4:54 PM, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > > So, pattern/regex are only used to specify which files you want to > exclude or set permissions. The docs do not say that. [PERMISSIONS permissions ...] are optional. > Nothing is said about only allowing matching > files to be

[CMake] Re: Install of pattern matched files

2007-12-28 Thread Rodolfo Lima
Brandon Van Every escreveu: > What version of CMake are you using? CMake 2.4.7 documentation says > plenty about this. INCLUDE(DIRECTORY ... PATTERN blah ...) should > work fine without an EXCLUDE I think you've meant INSTALL(...). Documentation says: "The PATTERN and REGEX options specify a g

[CMake] Re: Install of pattern matched files

2007-12-28 Thread Rodolfo Lima
Brandon Van Every escreveu: > Do the REGEX and/or REGEX ... EXCLUDE signatures work? If so, then > this is a low priority feature request. A PATTERN spares the > programmer from having to learn how regexes work, but specifying these > kinds of inclusions and exclusions with regexes is trivial.

[CMake] Re: Install of pattern matched files

2007-12-28 Thread Rodolfo Lima
Mike Jackson escreveu: > INSTALL(DIRECTORY src/ > DESTINATION include/MXADataModel > REGEX ".*\\.h$" > ) > > which I think should work. So what am I doing wrong? I think that the regex must also match the directories that contain the header files. If a directory doesn't match, its files aren't

[CMake] Re: Install of pattern matched files

2007-12-28 Thread Brandon Van Every
On Dec 28, 2007 4:55 PM, Mike Jackson <[EMAIL PROTECTED]> wrote: > > I used the following: > INSTALL(DIRECTORY src DESTINATION include/MXADataModel >REGEX ".*\\.h$" > ) > > and I get EVERY file located in the src directory, including all > subdirectories. By all files I mean EVERYTHING. CVS fi

[CMake] /MACHINE:x64

2007-12-28 Thread George Neill
Hi CMakers! I am trying to compile on a 64 bit windows machine (AMD64). It seems CMake only outputs /MACHINE:X64 for the link flags. However, link.exe reports that flag doesn't exist. Is this a bug? I am using, cmake version 2.4-patch 7 cl.exe Microsoft (R) C/C++ Optimizing Compiler Version

Re: [CMake] Re: Install of pattern matched files

2007-12-28 Thread Mike Jackson
On Dec 28, 2007, at 4:51 PM, Brandon Van Every wrote: On Dec 28, 2007 4:33 PM, Mike Jackson <[EMAIL PROTECTED]> wrote: INSTALL(DIRECTORY src/ DESTINATION include/MXADataModel REGEX ".*\\.h$" ) which I think should work. So what am I doing wrong? The regex is correct. What happens if y

Re: [CMake] Re: Install of pattern matched files

2007-12-28 Thread Mike Jackson
On Dec 28, 2007, at 4:51 PM, Brandon Van Every wrote: On Dec 28, 2007 4:33 PM, Mike Jackson <[EMAIL PROTECTED]> wrote: INSTALL(DIRECTORY src/ DESTINATION include/MXADataModel REGEX ".*\\.h$" ) which I think should work. So what am I doing wrong? The regex is correct. What happens if yo

Re: [CMake] Re: Install of pattern matched files

2007-12-28 Thread Brandon Van Every
On Dec 28, 2007 4:33 PM, Mike Jackson <[EMAIL PROTECTED]> wrote: > > INSTALL(DIRECTORY src/ > DESTINATION include/MXADataModel > REGEX ".*\\.h$" > ) > > which I think should work. So what am I doing wrong? The regex is correct. What happens if you use "src" instead of "src/" ? Cheers, Brand

Re: [CMake] Re: Install of pattern matched files

2007-12-28 Thread Brandon Van Every
On Dec 28, 2007 4:38 PM, Brandon Van Every <[EMAIL PROTECTED]> wrote: > On Dec 28, 2007 2:51 PM, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > > David Cole escreveu: > > > Can't you use "PATTERN" without the "EXCLUDE" to achieve this? > > > > Unfortunately no. Documentation doesn't say anything about i

Re: [CMake] Re: Install of pattern matched files

2007-12-28 Thread Brandon Van Every
On Dec 28, 2007 2:51 PM, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > David Cole escreveu: > > Can't you use "PATTERN" without the "EXCLUDE" to achieve this? > > Unfortunately no. Documentation doesn't say anything about it What version of CMake are you using? CMake 2.4.7 documentation says plenty a

Re: [CMake] Re: Install of pattern matched files

2007-12-28 Thread Brandon Van Every
On Dec 28, 2007 1:33 PM, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > Brandon Van Every escreveu: > > > "Too" cumbersome? Surely you jest. What's a long-winded list of > > patterns in terms of your development time? Two minutes tops? > > Oh well... thanks for teaching me another word: jest, and I'm

Re: [CMake] Re: Install of pattern matched files

2007-12-28 Thread Mike Jackson
Just adding to this, I thought I had it figured out also but I can't do this either. My project is laid out like the following: Project CMakeLists.txt src lib test and I would like to "install" all the header files from Project/src/ lib/*.h into ${CMAKE_INSTALL_PREFI

[CMake] Re: Install of pattern matched files

2007-12-28 Thread Rodolfo Lima
David Cole escreveu: > Can't you use "PATTERN" without the "EXCLUDE" to achieve this? Unfortunately no. Documentation doesn't say anything about it and I've already tried without success. Thanks, rod ___ CMake mailing list CMake@cmake.org http://www.cm

Re: [CMake] Re: Install of pattern matched files

2007-12-28 Thread David Cole
Can't you use "PATTERN" without the "EXCLUDE" to achieve this? On 12/28/07, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > > Brandon Van Every escreveu: > > > "Too" cumbersome? Surely you jest. What's a long-winded list of > > patterns in terms of your development time? Two minutes tops? > > Oh wel

[CMake] Re: Install of pattern matched files

2007-12-28 Thread Rodolfo Lima
Brandon Van Every escreveu: > "Too" cumbersome? Surely you jest. What's a long-winded list of > patterns in terms of your development time? Two minutes tops? Oh well... thanks for teaching me another word: jest, and I'm not being ironic. Back to business... imagine the following use case: a p

Re: [CMake] Eclipse

2007-12-28 Thread Mike Jackson
http://www.cmake.org/Wiki/CMake:Eclipse CMake and Eclipse are not the most integrated set but very workable and usable on an everyday basis. I am on OS X 10.4 and I use Eclipse/ CMake for all my C++ development. The code completion is generally better with Eclipse than Xcode for C/C++ althou

[CMake] Eclipse

2007-12-28 Thread Moe Alkhafaji
I have another question... I did notice that eclipse 3.3 has become extremely impressive on C/C++ development front. I am more inclined now to give it a shot to see if it can provide me with more than what xcode 3.0 can for C/C++ programming. Especially since I am a Java eclipse user. Now, I know

Re: [CMake] Install of pattern matched files

2007-12-28 Thread Brandon Van Every
On Dec 28, 2007 11:59 AM, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > Hi, I've been using the install command and I'm missing a feature to > only install files matching a certain pattern. There's a way to exclude > files, but it's too cumbersome to specify all patterns that I don't want > to be insta

[CMake] cmake and xcode question

2007-12-28 Thread Moe Alkhafaji
Hi all, I was able to generate an xcode project from a cmake file. I was wondering, is there any way that we can encapsulate svn configurations in a cmake file so when I generate xcode project and import it into xcode, the project is automatically configured to work with the svn configuration? I

[CMake] Install of pattern matched files

2007-12-28 Thread Rodolfo Lima
Hi, I've been using the install command and I'm missing a feature to only install files matching a certain pattern. There's a way to exclude files, but it's too cumbersome to specify all patterns that I don't want to be installed, it's easier to specify patterns of files to be installed. Regards,

Re: [CMake] function and raise_scope commands

2007-12-28 Thread Miguel A. Figueroa-Villanueva
On Dec 28, 2007 11:36 AM, Ken Martin wrote: > > > > 1. CMake crashes if I use the same variable name as the argument and > > > > raise the scope later. That is, for the following function: > Specifically > > Variable value > > is_changed is_changed > set(${is_changed} "s

RE: [CMake] function and raise_scope commands

2007-12-28 Thread Ken Martin
> > > 1. CMake crashes if I use the same variable name as the argument and > > > raise the scope later. That is, for the following function: > > > > > > function(track_find_variable cache_variable is_changed) > > > raise_scope(${is_changed}) > > > endfunction(track_find_variable) > > > > > > I ca