Hi Martin, I tried to apply this patch but it gets rejected, could you please send me the whole modified CMakeLists.txt file. Once I have the file I can do a graphical diff between it and the current source, this is the most surefire way of applying changes, I'm afraid patch just isn't reliable enough nor friendly to proper peer review.
Thanks, Robert. On 5/15/07, Martin Spott <[EMAIL PROTECTED]> wrote:
"Robert Osfield" wrote: > There is a huge amount of flexibility with CMake, you just need to be > patient, you are unluckly to have found an edge case that non of those > working on the CMake build system have had access to, so rather than curse > CMake, learn about it and help get our build system working smoothly. Well, maybe one day I'll find the time to learn everyone's favourite build system. In the meantime you could go ahead and apply patches by those people who already know CMake. Luigi Calori has posted a patch early this month that solves one problem I've been mentioning several weeks ago - allow the user to override $LIB_POSTFIX: ------------------------------ snip ------------------------------------------ Index: CMakeLists.txt =================================================================== --- CMakeLists.txt (revision 6607) +++ CMakeLists.txt (working copy) @@ -172,13 +172,16 @@ SET(CMAKE_DEBUG_POSTFIX "d") -SET(LIB_POSTFIX "") IF(UNIX AND NOT WIN32 AND NOT APPLE) IF(CMAKE_SIZEOF_VOID_P MATCHES "8") - SET(LIB_POSTFIX "64") + SET(LIB_POSTFIX "64" CACHE STRING "suffix for 32/64 dir placement") + MARK_AS_ADVANCED(LIB_POSTFIX) ENDIF(CMAKE_SIZEOF_VOID_P MATCHES "8") ENDIF(UNIX AND NOT WIN32 AND NOT APPLE) - +IF(NOT DEFINED LIB_POSTFIX) + SET(LIB_POSTFIX "") +ENDIF(NOT DEFINED LIB_POSTFIX) + #SET(OUTPUT_BINDIR ${PROJECT_BINARY_DIR}/bin/${CMAKE_SYSTEM_NAME}) SET(OUTPUT_BINDIR ${PROJECT_BINARY_DIR}/bin) MAKE_DIRECTORY(${OUTPUT_BINDIR}) ------------------------------ snip ------------------------------------------ Thanks, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! -------------------------------------------------------------------------- _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/