[CMake] cleaning extra files with XCode

2008-09-01 Thread Antoine PREVOT
Hi, Still toying with cmake and swig, I now have troubles getting a consistent "clean" process. Does anyone tried the ADDITIONAL_MAKE_CLEAN_FILES property with XCode ? Environnement : - Mac OSX Tiger up to date. - CMake 2.6-1 - SWIG 1.3.36 - XCode 2.4.1 I cannot find anything about this on t

Re: [CMake] cmake 2.6-1 : no more GLEW support ? [closed

2008-08-08 Thread Antoine PREVOT
> That module was never part of CMake: Hi Bill, thanks for your reply. > $ cvs log FindGLEW.cmake > cvs log: nothing known about FindGLEW.cmake That leaves no doubt about it ! > It might have been part of your project, and you used > CMAKE_MODULE_PATH to find it? Googling it (code.google is my

[CMake] SWIG support throughts : naming conventions

2008-08-08 Thread Antoine PREVOT
Hi again, I am still struggling with SWIG, and tested various things. Since UseSWIG.cmake seems quite similar from 2.4 to 2.6-1, here are some throughts I had while using it. I don't know if my patches are relevant or not, I am probably using cmake the wrong way, but I'll give it a try ... Oh

[CMake] cmake 2.6-1 : no more GLEW support ?

2008-08-08 Thread Antoine PREVOT
Hi, I am actually testing cmake 2.6-1, and I can't find FindGLEW.cmake anymore in the Modules folder of both darwin sources and binary archives (cmake-2.6.1.tar & cmake-2.6.1-Darwin-universal.tar). Nothing about this in the ChangeLog. Bug or Feature ? :) Tonio _

[CMake] Re : Where does cmake look for include files?

2008-08-08 Thread Antoine PREVOT
> Apparently CMake cannot find the headers for openGL and/or GLU > ... > I would expect cmake to be smart enough to find the glu > header file, since it finds the VCExpress.exe. Hi Marianne, Did you do anything to make cm guess that you want to inclulde GLU headers ? Dunno the detais of your pro

[CMake] Re : GET_TARGET_PROPERTY issue

2008-08-08 Thread Antoine PREVOT
oops, sent off list :) > but the GET_TARGET_PROPERTY can't give me the PREFIX of > the library file. Is there a way for doing that properly ? Hi Alex, SET_TARGET_PROPERTIES is what you are looking for. Just after your ADD_LIBRARY statement, try : SET_TARGET_PROPERTIES(hello PROPE

Re: [CMake] python wrappers through xcode

2008-07-31 Thread Antoine PREVOT
> I now have to deal with a "Fatal Python error: > Interpreter not initialized (version mismatch?)" while > trying to import the generated _example.so . Ok, last problem solved, "If it's not your code, it's probably the way you test it" :) Some tip for those using osx (tiger) : the default pytho

Re: [CMake] python wrappers through xcode

2008-07-31 Thread Antoine PREVOT
> [Alan] > > Hi Tonio: > > See CMakeLists.txt at > http://plplot.svn.sourceforge.net/viewvc/plplot/trunk/bindings/python/ [Tonio] Hi Alan, Thanks again for your help ! I somehow managed to get a good-looking behavior in XCode, but I now have to deal with a "Fatal Python error: Interpreter not

[CMake] python wrappers through xcode

2008-07-30 Thread Antoine PREVOT
Hi, First of all, english is not my native language, so I hope i'll be understandable. Don't hesitate to correct me (it's the only way to progress), or ask for rephrasing if it's not. And since it's my first post here, i'll be happy to produce some personal introduction if needed ! - Environ