Re: [CMake] Installing Python Modules with CMake

2011-01-03 Thread Michael Wild
On 01/03/2011 06:23 PM, Todd Gamblin wrote: > On Jan 3, 2011, at 1:34 AM, Michael Wild wrote: > >> On 01/03/2011 09:11 AM, Todd Gamblin wrote: >>> Is there some standard way in CMake to get a project-local install >>> destination for python libraries, e.g.: >>> >>> ${CMAKE_INSTALL_PREFIX}/lib

Re: [CMake] How to find the path to the currently include() or find_package file()

2011-01-03 Thread Michael Hertling
On 01/04/2011 07:41 AM, Michael Hertling wrote: > On 01/04/2011 05:47 AM, John McGehee wrote: >> I am using CMake 2.8 on Linux and Windows. >> >> When I include() or find_package() a .cmake file, is there a variable that I >> can use within the included .cmake file that will tell me its path? >> >

Re: [CMake] How to find the path to the currently include() or find_package file()

2011-01-03 Thread Michael Hertling
On 01/04/2011 05:47 AM, John McGehee wrote: > I am using CMake 2.8 on Linux and Windows. > > When I include() or find_package() a .cmake file, is there a variable that I > can use within the included .cmake file that will tell me its path? > > For example, > > # In CMakeLists.txt > include(

[CMake] How to find the path to the currently include() or find_package file()

2011-01-03 Thread John McGehee
I am using CMake 2.8 on Linux and Windows. When I include() or find_package() a .cmake file, is there a variable that I can use within the included .cmake file that will tell me its path? For example, # In CMakeLists.txt include(somePath/foo.cmake) Within somePath/foo.cmake, I want to incl

[CMake] Help building static libs w/cmake 2.8 and llvm/clang on Windows

2011-01-03 Thread Michael Maul
Build is eclipse-cdt/nmake on windows 7 "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -E cmake_link_script CMakeFiles\MathFunctions.dir\link.txt --verbose=yes CMAKE_AR-NOTFOUND cr MathFunctions.lib CMakeFiles/MathFunctions.dir/mysqrt.c.ob Error running link command: The system cannot

Re: [CMake] Installing Python Modules with CMake

2011-01-03 Thread Todd Gamblin
On Jan 3, 2011, at 1:34 AM, Michael Wild wrote: > On 01/03/2011 09:11 AM, Todd Gamblin wrote: >> Is there some standard way in CMake to get a project-local install >> destination for python libraries, e.g.: >> >> ${CMAKE_INSTALL_PREFIX}/lib/python2.6/site-packages >> >> Is this something f

Re: [CMake] Finding Python Modules with CMake

2011-01-03 Thread Mark Moll
On Jan 3, 2011, at 2:17 AM, Todd Gamblin wrote: > Is there a way in CMake, once I find the python interpreter, to query for the > availability of a particular module? e.g. say I want to make sure that the > host's python installation has PyQt4, or numy, or something like that. Do I > have to

Re: [CMake] how to submit customized test report

2011-01-03 Thread girish hilage
x27; under directory :    /home/girish/project/trunk/Testing/20110103-1027/    What I would like to know is, if there is any 'CTEST_' variable which would give me path of the Test.xml file that is generated by 'ctest'?    Or is there any variable which will give me 'Experim

[CMake] Chasing up: XCode 3.2.4 and CMake 2.8.2, setting GCC version to 4.0

2011-01-03 Thread John Clayton
Hi All,i'm still having problems getting the CMAKE_XCODE_ATTRIBUTE_GCC_VERSION flag to properly force the compiler version I want to use for my project. I'm using XCode 3.2.5, on a Mac 10.6.3 machine - trying to target a Max OS X Tiger 10.4u build.  I get compiler errors because the gcc-4.2 compile

Re: [CMake] how to submit customized test report

2011-01-03 Thread David Cole
What is the contents of ""? CDash only parses/recognizes the formats that ctest sends it. Is your file a replacement for "Test.xml"? Or do you mean to send additional data beyond what is found in Test.xml? Have you looked at the examples and schema found here? http://public.kitware.com/Wiki/CDash

Re: [CMake] problem w/ "find_package"_ makefile does not always compile

2011-01-03 Thread ny
Thank you so much! Nikos Yiotis Chat Skype: nyiotis Contact Me [image: Linkedin] On Mon, Jan 3, 2011 at 9:57 AM, Nizar Khalifa Sallem wrote: > At Sun, 2 Jan 2011 22:15:56 +0100, > ny wrote: > > > > ** Apologies f

Re: [CMake] Finding Python Modules with CMake

2011-01-03 Thread Michael Wild
On 01/03/2011 09:17 AM, Todd Gamblin wrote: > Is there a way in CMake, once I find the python interpreter, to query for the > availability of a particular module? e.g. say I want to make sure that the > host's python installation has PyQt4, or numy, or something like that. Do I > have to manua

Re: [CMake] Installing Python Modules with CMake

2011-01-03 Thread Michael Wild
On 01/03/2011 09:11 AM, Todd Gamblin wrote: > Is there some standard way in CMake to get a project-local install > destination for python libraries, e.g.: > > ${CMAKE_INSTALL_PREFIX}/lib/python2.6/site-packages > > Is this something find modules typically provide? I can construct this nam

[CMake] how to submit customized test report

2011-01-03 Thread girish hilage
Hi,    I have a query about submission of customized test report which I had posted as part of some other post to the mailing list.    For convenience I am posting only this specific query again.    ctest_submit() line in my script.cmake was as follows :    ctest_submit(FILES )    Even if this

Re: [CMake] problem w/ "find_package"_ makefile does not always compile

2011-01-03 Thread Nizar Khalifa Sallem
At Sun, 2 Jan 2011 22:15:56 +0100, ny wrote: > > ** Apologies for double-posting my earlier message got truncated ** > > greetings! > > I spent enough time trying to make the software work, > so I'd be happy to get some feedback:: > I built research code written in (templated) c++, size is appro

Re: [CMake] Sign a deb file builded by cpack

2011-01-03 Thread Eric Noulard
2011/1/3 Paolo Zaffino : > Thank you Eric...I'll use dpkg-sig. > Please let me know when the patch will be introduced. To be more clear: Adding this feature is not currently on my CMake TODO list. My previous remark was an invitation for YOU (or anyone else) to provide a patch. Then I'll be able

Re: [CMake] Sign a deb file builded by cpack

2011-01-03 Thread Paolo Zaffino
Thank you Eric...I'll use dpkg-sig. Please let me know when the patch will be introduced. Regards On 02/01/2011 13:06, Eric Noulard wrote: 2011/1/2 Paolo Zaffino: Dear all, first of all my best wishes at all for an happy new year. Do anyone know if there is a way to sign a deb package builded

[CMake] Finding Python Modules with CMake

2011-01-03 Thread Todd Gamblin
Is there a way in CMake, once I find the python interpreter, to query for the availability of a particular module? e.g. say I want to make sure that the host's python installation has PyQt4, or numy, or something like that. Do I have to manually run the interpreter, try to import it, and check

[CMake] Installing Python Modules with CMake

2011-01-03 Thread Todd Gamblin
Is there some standard way in CMake to get a project-local install destination for python libraries, e.g.: ${CMAKE_INSTALL_PREFIX}/lib/python2.6/site-packages Is this something find modules typically provide? I can construct this name easily enough myself, but it involves querying the