[CMake] Checking for compatible compiler flags

2011-08-07 Thread Hans Johnson
Hello, I'm trying to use the cmake feature for testing if compiler flags are valid, but I am running into trouble with these two complier flags. I can not figure out how to proper escape the "+" or the "%" that I believe are causing the failures. cat CMakeLists.txt =

Re: [CMake] CPACK installation path configuration

2008-07-23 Thread Hans Johnson
L PROTECTED]> > Organization: Parallels > Date: Wed, 23 Jul 2008 15:59:52 +0400 > To: Johnson Hans <[EMAIL PROTECTED]> > Cc: Hans Johnson <[EMAIL PROTECTED]>, > Subject: Re: [CMake] CPACK installation path configuration > > On Wednesday 23 July 2008 15:38:52 Johns

Re: [CMake] CPACK installation path configuration

2008-07-22 Thread Hans Johnson
Hello, I¹ve been trying to figure out how to use CPACK to distribute my package as a dmg, rpm, and tar.gz files. I¹ve been able to successfully create the files, but the locations where the resulting files are being put are not as desired. I¹d like the resulting binary to be installed in /opt/BR

[CMake] CPACK Installation problems.

2008-07-19 Thread Hans Johnson
Hello, I am trying to use cpack to create distributions of a project available on NITRC: svn checkout https://www.nitrc.org/svn/multimodereg BRAINSFit I¹d like the resulting binary to be installed in /opt/BRAINSFit/bin/BRAINSFit Currently PackageMaker installs in /opt/BRAINSFit/usr/bin/BRAINSFit

Re: [CMake] Cmake MacOSX Question

2006-06-26 Thread Hans Johnson
Bill, If Cmake orders items based on this expected behavior, then the compiler should also match the same convention, and the -search_paths_first flag should definitely be used. Thanks, Hans On 6/26/06 10:04 AM, "William A. Hoffman" <[EMAIL PROTECTED]> wrote: > At 10:57

Re: [CMake] Cmake MacOSX Question

2006-06-26 Thread Hans Johnson
it out once before, and talked > about making this flag the default on OSX. Does that sound like a good idea? > > > -Bill > > At 11:09 PM 6/24/2006, Hans Johnson wrote: >> Brad, >> >> Thanks for all your suggestions. They put me onto the correct path to >

Re: [CMake] Cmake MacOSX Question

2006-06-24 Thread Hans Johnson
Brad, Thanks for all your suggestions. They put me onto the correct path to figuring out what was going on. Close inspection of the man page for ld on MacOSX indicates why the strange behavior was occuring. -search_paths_first By default when the -dynamic flag is in effect, the