[CMake] Mac OSX Bundles and Frameworks

2006-03-16 Thread Andy Cedilnik
Hello, I am starting to work on a better support for bundles and frameworks in CMake. For now I am collecting information. Here is the page for my work: http://www.cmake.org/Wiki/CMake:Bundles_And_Frameworks Let me know if you have any suggestions and corrections. Thank you. -- Andy Cediln

Re: [CMake] BUG: invalid cmake_install.cmake created

2006-03-16 Thread Brad King
Alexander Neundorf wrote: Hi, in cmLocalGenerator.cxx, void cmLocalGenerator::GenerateInstallRules(), there's the following code: fout << "# Set the install prefix" << std::endl << "IF(NOT CMAKE_INSTALL_PREFIX)" << std::endl << " SET(CMAKE_INSTALL_PREFIX \"" << prefix << "\")" <<

Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

2006-03-16 Thread Alexander Neundorf
> Von: Brad King <[EMAIL PROTECTED]> ... > This is because EXPORT_LIBRARY_DEPENDENCIES is a "final pass" command > that executes after all the rest of the configuration is done. This is > necessary to make sure all library linking is done before the command > executes. We should probably

Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

2006-03-16 Thread Brad King
Alexander Neundorf wrote: FILE(WRITE ...) FILE(APPEND ...) EXPORT_...(...) works now. EXPORT_...(...) FILE(APPEND ...) still doesn't work. This is because EXPORT_LIBRARY_DEPENDENCIES is a "final pass" command that executes after all the rest of the configuration is done. This is

[CMake] BUG: invalid cmake_install.cmake created

2006-03-16 Thread Alexander Neundorf
Hi, in cmLocalGenerator.cxx, void cmLocalGenerator::GenerateInstallRules(), there's the following code: fout << "# Set the install prefix" << std::endl << "IF(NOT CMAKE_INSTALL_PREFIX)" << std::endl << " SET(CMAKE_INSTALL_PREFIX \"" << prefix << "\")" << std::endl << "ENDIF(N

Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

2006-03-16 Thread Alexander Neundorf
> --- Ursprüngliche Nachricht --- > Von: Brad King <[EMAIL PROTECTED]> > An: Alexander Neundorf <[EMAIL PROTECTED]> > Kopie: cmake@cmake.org > Betreff: Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) > ? > Datum: Thu, 16 Mar 2006 14:17:01 -0500 > > Brad King wrote: > > A

Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

2006-03-16 Thread Brad King
Brad King wrote: Alexander Neundorf wrote: Von: Brad King <[EMAIL PROTECTED]> Since the problem occurs with either command's APPEND option I wonder if there is a problem with opening files in append mode. What exact compiler did you use to build this CMake? FILE(WRITE ...) FILE(APPEND .

Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

2006-03-16 Thread Brad King
Alexander Neundorf wrote: Von: Brad King <[EMAIL PROTECTED]> ... Then the result is: SET(blub_LIB_DEPENDS "z;") Hmmm. And it really works for you ? Since the problem occurs with either command's APPEND option I wonder if there is a problem with opening files in append mode.

Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

2006-03-16 Thread Alexander Neundorf
> Von: Brad King <[EMAIL PROTECTED]> ... > > Then the result is: > > > > SET(blub_LIB_DEPENDS "z;") > > > > Hmmm. > > And it really works for you ? > > Since the problem occurs with either command's APPEND option I wonder > if > there is a problem with opening files in append m

Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

2006-03-16 Thread Brad King
Alexander Neundorf wrote: --- Ursprüngliche Nachricht --- Von: Brad King <[EMAIL PROTECTED]> I get this from your test case in LibsDependencies.cmake: # this file was generated during the build process SET(blub_LIB_DEPENDS "z;") Is that not what you expect? Strange. With current cvs I s

Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

2006-03-16 Thread Alexander Neundorf
> --- Ursprüngliche Nachricht --- > Von: Brad King <[EMAIL PROTECTED]> > An: Alexander Neundorf <[EMAIL PROTECTED]> > Kopie: cmake@cmake.org > Betreff: Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) > ? > Datum: Thu, 16 Mar 2006 11:22:41 -0500 > > Alexander Neundorf wrot

Re: [CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

2006-03-16 Thread Brad King
Alexander Neundorf wrote: Hi, I wanted to add some more information to the file created by EXPORT_LIBRARY_DEPENDENCIES() using the "APPEND" parameter. It seems this doesn't work as expected, testcase attached. The file contains: FILE(WRITE ) EXPORT_LIBRARY_DEPENDENCIES(... APPEND)

Re: [CMake] Patch to CMake 2.2.3

2006-03-16 Thread Brad King
Gary MacDonald wrote: It looks like Gavin's fix to implement SOVERSION support on Unix is incomplete (see prior thread: http://public.kitware.com/pipermail/cmake/2003-June/003930.html). The FreeBSD platform options were not updated to provide this support. I've attached a patch for this. T

Re: [CMake] FILE GLOB results...

2006-03-16 Thread Brad King
David Cole wrote: Are FILE(GLOB var "*.txt") results guaranteed to be sorted alphabetically? Or is that just happening by happy accident for me...? There is nothing in the implementation to my knowledge that guarantees any kind of order. If the files came from a CVS checkout then they are p