From: Gordon K. <gk...@bw...> - 2008-10-09 03:01:08
|
hi- Thanks, and thanks James for noticing this. I'm grateful that you still have time to notice the teem-commit traffic! Gordon On Oct 8, 2008, at 6:21 PM, Steve Pieper wrote: > I guess both work the same - I agree that SET seems to be more > correct. > I checked in the change. > > -Steve > > James Bigler wrote: >> I thought OPTION was for bools? Why are you using it for paths? >> >> I would use: >> >> SET(TEEM_VTK_ZLIB_MANGLE_IPATH "" CACHE PATH "Location of >> vtk_zlib_mangle.h") >> >> James >> >>> +OPTION(TEEM_VTK_MANGLE "Build Teem using the mangled libraries >>> from VTK for ZLIB and PNG." OFF) >>> +OPTION(TEEM_VTK_ZLIB_MANGLE_IPATH "Location of >>> vtk_zlib_mangle.h" OFF) >>> +OPTION(TEEM_VTK_TOOLKITS_IPATH "Location of VTK Build directory >>> for ZLIB and PNG includes." OFF) >> >>> +IF(TEEM_VTK_MANGLE) >>> + ADD_DEFINITIONS(-DTEEM_VTK_MANGLE=1) >>> + INCLUDE_DIRECTORIES( ${TEEM_VTK_TOOLKITS_IPATH} ) >>> + INCLUDE_DIRECTORIES( ${TEEM_VTK_ZLIB_MANGLE_IPATH} ) >>> +ENDIF(TEEM_VTK_MANGLE) > > ---------------------------------------------------------------------- > --- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Teem-commit mailing list > Tee...@li... > https://lists.sourceforge.net/lists/listinfo/teem-commit |