Re: [CMake] TCL modules

2011-11-16 Thread Clifford Yapp
FWIW, BRL-CAD has its own FindTCL.cmake module which is quite different from the current one, in case that is helpful/of interest: http://brlcad.svn.sf.net/viewvc/brlcad/brlcad/trunk/misc/CMake/FindTCL.cmake?revision=45989&view=markup We'd eventually like to fold all of our updates to various mod

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX) ?

2011-11-16 Thread Alan W. Irwin
Hi Alex: On 2011-11-15 18:07+0100 Alexander Neundorf wrote: Hi, cmake ships with a FindPkgConfig.cmake file, which is used by some Find- modules. Also in KDE, we have quite a lot of Find-modules which use FindPkgConfig.cmake. Now, some of them put a if(UNIX) find_package(PkgConfig) endif()

[CMake] TCL modules

2011-11-16 Thread Joe Brandt
I have a couple issues, that I'd like to help fix, with the current FindTCL.cmake, FindTclsh.cmake, FindWish.cmake, and FindTclStub.cmake that make them unusable for me. The first is they do not always find the various components from the same Tcl installation on the system. The second being that

Re: [CMake] problems adding opencv

2011-11-16 Thread David Cole
Looks like OpenCV is not built or installed correctly here. The string "@CMAKE_LIB_DIRS_CONFIGCMAKE@" should have been resolved into a "list of directories" value when the OpenCVConfig.cmake file was created. How did you build/install OpenCV? On Wed, Nov 16, 2011 at 4:51 PM, Javi Soler wrote:

[CMake] problems adding opencv

2011-11-16 Thread Javi Soler
Hello! I'm just adding the libraries (openCV and PCL) to my project: cmake_minimum_required(VERSION 2.8) project(grabbing) find_package(OpenCV REQUIRED) find_package(PCL 1.3.0) include_directories(${PCL_INCLUDE_DIRS}) link_directories(${PCL_LIBRARY_DIRS}) add_definitions(${PCL_DEFINITIONS}) add_exe

Re: [CMake] CMake deleting SVN directories

2011-11-16 Thread Eric Noulard
2011/11/16 Mauricio Klein : > Hello guys! > I have researched a lot about it but can't find a solution. > I have a project under SVN control and using CMake to compile the whole > code. But, when i run "make clean", the CMake clean its temporary > directories and the .svn directories too, what caus

Re: [CMake] cmake 2.8.6 On Linux , link error and added headers to ..._EXTERNAL_OBJECTS for executables

2011-11-16 Thread Michael Hertling
On 11/16/2011 06:05 PM, Bill Hoffman wrote: > On 11/16/2011 4:43 AM, Michael Hertling wrote: >> On 11/15/2011 06:04 PM, Bill Hoffman wrote: >>> On 11/15/2011 11:52 AM, Michael Hertling wrote: >>> Could you boild down this issue to a minimal and self-sufficient example - i.e. a project wor

Re: [CMake] Adding a new language

2011-11-16 Thread Alan W. Irwin
On 2011-11-15 23:35-0500 Bill Hoffman wrote: On 11/14/2011 3:24 PM, Alan W. Irwin wrote: If you are willing to make such an OCaml summary, I would be willing to do the same thing for Ada to make our joint case to the CMake developers of what kind of additional generic language support is need

[CMake] CMake deleting SVN directories

2011-11-16 Thread Mauricio Klein
Hello guys! I have researched a lot about it but can't find a solution. I have a project under SVN control and using CMake to compile the whole code. But, when i run "make clean", the CMake clean its temporary directories and the .svn directories too, what cause many troubles when commiting the c

Re: [CMake] Include Link Dependencies

2011-11-16 Thread Andreas Pakulat
On 16.11.11 17:35:22, Marcus Monaghan wrote: > Hi, > > I'm just starting to use the cpack module in cmake to put together TGZ. > > I use TARGET_LINK_LIBRARIES to specify which libs to use during linking. > > Is there a way to get a list of the libs that are found and include them in > my TGZ? >

Re: [CMake] CDash + Perforce

2011-11-16 Thread David Cole
Overall, it will be challenging. We prefer adding tests of all new features, and it's difficult to add a test that runs on a sufficient number of dashboard clients (greater than zero... :-) when the thing you're testing depends on having / simulating a commercial tool installed on the machine. But

Re: [CMake] Multiple source directory scenario and cdt generator

2011-11-16 Thread Alexander Neundorf
On Wednesday 16 November 2011, Dan Kegel wrote: > On Wed, Nov 16, 2011 at 9:43 AM, Alexander Neundorf > > wrote: > >> I suspect that the only way to make source code control > >> plugins happy is to link to dummy projects like you > >> do for the main source directory. > >> And then there's no ne

Re: [CMake] CDash + Perforce

2011-11-16 Thread Robert Dailey
Thanks for the info David. If I can find the time I would love to help make these changes for you. In the meantime if you find the time, give me some pointers to get me started and I'll work on this for you (class names, interface methods that are important to implement, etc) - Robert Dai

[CMake] The upcoming CMake 2.8.7 release candidate cycle

2011-11-16 Thread David Cole
Just looking at the calendar... Three short weeks from today, we are planning to schedule the build and upload of CMake 2.8.7-rc1 so all of you can give it a try. Followed by weekly rc's as needed until the final official release of CMake 2.8.7, scheduled for Wednesday Dec. 28, 2011. If you are a

Re: [CMake] Multiple source directory scenario and cdt generator

2011-11-16 Thread Dan Kegel
On Wed, Nov 16, 2011 at 9:43 AM, Alexander Neundorf wrote: >> I suspect that the only way to make source code control >> plugins happy is to link to dummy projects like you >> do for the main source directory. >> And then there's no need for those individual source file links. > > AFAIK svn etc. w

Re: [CMake] CDash + Perforce

2011-11-16 Thread David Cole
On Wed, Nov 16, 2011 at 12:28 PM, Robert Dailey wrote: > So basically because we use perforce, there is no way to use ctest? Well, you can still use ctest, you just won't be able to use the ctest_update function in your script to do the update, track the changed files, and communicate them up to

Re: [CMake] Multiple source directory scenario and cdt generator

2011-11-16 Thread Alexander Neundorf
On Wednesday 16 November 2011, Dan Kegel wrote: > On Tue, Nov 15, 2011 at 1:28 PM, Dan Kegel wrote: > > Tried it. It seems to get the linking right, though I'm not > > sure how excited my users are going to be about how > > deeply buried those source files are in the GUI. There's > > a whole lot

[CMake] Include Link Dependencies

2011-11-16 Thread Marcus Monaghan
Hi, I'm just starting to use the cpack module in cmake to put together TGZ. I use TARGET_LINK_LIBRARIES to specify which libs to use during linking. Is there a way to get a list of the libs that are found and include them in my TGZ? I can include the libs that are compiled as part of my build,

Re: [CMake] Circular dependencies because of file names?

2011-11-16 Thread Jookia
I've actually used that workaround, but it seems dirty as it shows up in IDE targets like Visual Studio or other IDEs or makefiles. In fact, I kind of like the 'generating /docs' part of the makefile. Would it just be smarter to rename the target to 'documentation'? -- Powered by www.kitwa

Re: [CMake] FindBoost.cmake not (fully) honoring BOOST_ROOT

2011-11-16 Thread Alain Leblanc
This is not a new issue, as you can see in this thread: http://www.cmake.org/pipermail/cmake/2010-March/035889.html Very frustrating. I think in the end I removed the system installation. May not be an option for everyone. On 11/16/2011 10:32 AM, Ben Boeckel wrote: Hi, Using the 'release' b

Re: [CMake] CDash + Perforce

2011-11-16 Thread Robert Dailey
So basically because we use perforce, there is no way to use ctest? I assume ctest does the following: - Check out source code - Configure CMake - Generate CMake - Initiate a build from generated targets Is this correct? If so, it's the first step that code needs to be added for to support perfor

Re: [CMake] Failure to generate correct output name in visual studio

2011-11-16 Thread J Decker
On Wed, Nov 16, 2011 at 3:46 AM, David Cole wrote: > If you end the name in a ".", or set the suffix to ".", does it > produce a file like you want? Or does it still append "dll"? > That's a good idea - if I set the project name to 'something.' I do get the right output (the static export library

Re: [CMake] cmake 2.8.6 On Linux , link error and added headers to ..._EXTERNAL_OBJECTS for executables

2011-11-16 Thread Bill Hoffman
On 11/16/2011 4:43 AM, Michael Hertling wrote: On 11/15/2011 06:04 PM, Bill Hoffman wrote: On 11/15/2011 11:52 AM, Michael Hertling wrote: Could you boild down this issue to a minimal and self-sufficient example - i.e. a project working with 2.6 (quite old) but failing with 2.8 - and post it h

Re: [CMake] CDash + Perforce

2011-11-16 Thread David Cole
And, to answer your initial question, no, perforce is not yet an officially supported version control system for use with ctest -S scripts and CDash. The ones that are include: git svn cvs hg bzr Additional code needs to be added to both ctest and CDash in order to support new version c

Re: [CMake] Adding a new language

2011-11-16 Thread Bill Hoffman
On 11/16/2011 3:52 AM, Michael Hertling wrote: On 11/16/2011 04:13 AM, Stefan Monnier wrote: I'd still like to know how to explain to cmake that the command produces 2 files, but at least I can get rid of my hack. That (assuming just a simple object file is produced by compilation) is one of se

Re: [CMake] CDash + Perforce

2011-11-16 Thread David Cole
CDash is just a web app / server app. It does not do builds, it just collects information from clients that submit to it, and displays results. Client machines can run ctest -S scripts to submit build/test results to a CDash dashboard. Look at the notes attached to a typical CMake dashboard for a

Re: [CMake] CDash + Perforce

2011-11-16 Thread Robert Dailey
Seems like the web viewer link is optional, I created the project without it. However, I see the default build groups but how do I add a build? I suppose CDash needs to know how to do a checkout of source code from Perforce? I'm really confused on what to do next... - Robert Dailey On W

[CMake] Problem with target DLL name not matching SWIG dllimport name

2011-11-16 Thread Stephen Torri
I am using CMAKE_DEBUG_POSTFIX to attach a string to end of each DLL name being built using Visual Studio 2008. The DLLs have the name that expect which is the target name + CMAKE_DEBUG_POSTFIX. The problem I am running into is the SWIG wrapper DLL name does not match the dllimport flag when buildi

[CMake] CDash + Perforce

2011-11-16 Thread Robert Dailey
Is it possible to use CDash with perforce as our SCM? During the CDash installation, it is asking me for a "Repository ViewerURL", and from the drop down it doesn't show perforce as a valid item in the list. Can this step be skipped or is there some way to make perforce work with this? I believe p

[CMake] FindBoost.cmake not (fully) honoring BOOST_ROOT

2011-11-16 Thread Ben Boeckel
Hi, Using the 'release' branch of CMake, it seems that FindBoost.cmake got broken such that when BOOST_ROOT is set, the system copy of boost is still found, effectively ignoring whatever BOOST_ROOT sets. This doesn't work at all for projects where a newer boost than the system version is needed.

Re: [CMake] Issues with finding raptor in the soprano build

2011-11-16 Thread Laszlo Papp
> if(EXISTS ${CMAKE_ROOT}/Modules/Foo.cmake) >  include(${CMAKE_ROOT}/Modules/Foo.cmake) > else() > ... > endif() If I have 2.8.2 installed on the host, but my software has 2.8.6 module imported, the version 2.8.2 will be selected. Therefore, it will "break". I think it needs more restricted check

Re: [CMake] Installing Visual Studio PDB files with CMake

2011-11-16 Thread David Cole
On Wed, Nov 16, 2011 at 9:32 AM, Stephen Torri wrote: > On 11/4/11, Michael Hertling wrote: >> >> The problem is that PDB files are usually generated next to their binary >> in a configuration-specific directory which can not be accessed smoothly >> by INSTALL(FILES ...). However, you can use a P

Re: [CMake] Issues with finding raptor in the soprano build

2011-11-16 Thread Michael Wild
Alex recently also asked something to this effect on the list... IMHO it would be best to copy the module verbatim and then in the copy do something like this at the very top: if(EXISTS ${CMAKE_ROOT}/Modules/Foo.cmake) include(${CMAKE_ROOT}/Modules/Foo.cmake) else() ... endif() Either put the

Re: [CMake] Installing Visual Studio PDB files with CMake

2011-11-16 Thread Stephen Torri
On 11/4/11, Michael Hertling wrote: > > The problem is that PDB files are usually generated next to their binary > in a configuration-specific directory which can not be accessed smoothly > by INSTALL(FILES ...). However, you can use a POST_BUILD custom command > in conjunction with generator expr

Re: [CMake] Using cpack for custom/local deployment

2011-11-16 Thread Michael Hertling
On 11/16/2011 02:11 PM, Alexander Broekhuis wrote: > Hi all, > > I have some questions regarding the use of CPack and CMake. > > What I'd like to do is have the a target execute multiple cpack > configurations (additionally, have a possibility to execute only one > configuration). > The cpack con

[CMake] Using cpack for custom/local deployment

2011-11-16 Thread Alexander Broekhuis
Hi all, I have some questions regarding the use of CPack and CMake. What I'd like to do is have the a target execute multiple cpack configurations (additionally, have a possibility to execute only one configuration). The cpack config can use a component to do filtering on the artifacts needed for

Re: [CMake] Issues with finding raptor in the soprano build

2011-11-16 Thread Laszlo Papp
The soprano author seems to keep a local copy of that macro: https://projects.kde.org/projects/kdesupport/soprano/repository/revisions/master/entry/cmake/modules/FindPackageHandleStandardArgs.cmake It is probably outdated since "vimdiff /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cm

Re: [CMake] Failure to generate correct output name in visual studio

2011-11-16 Thread David Cole
If you end the name in a ".", or set the suffix to ".", does it produce a file like you want? Or does it still append "dll"? On Wed, Nov 16, 2011 at 2:06 AM, J Decker wrote: > (Visual studio bug actually - as I was trying to find the actual > difference in the output, and finding none, I have to

Re: [CMake] cmake 2.8.6 On Linux , link error and added headers to ..._EXTERNAL_OBJECTS for executables

2011-11-16 Thread Michael Hertling
On 11/15/2011 06:04 PM, Bill Hoffman wrote: > On 11/15/2011 11:52 AM, Michael Hertling wrote: > >> Could you boild down this issue to a minimal and self-sufficient example >> - i.e. a project working with 2.6 (quite old) but failing with 2.8 - and >> post it here for further investigation? >> > Th

Re: [CMake] cmake 2.8.6 On Linux , link error and added

2011-11-16 Thread Michael Hertling
On 11/15/2011 06:26 PM, david_bjorn...@agilent.com wrote: > The issue has been resolved > > > http://public.kitware.com/Bug/view.php?id=12575 > > > ++David->Bjornbak; OK, thanks for the hint. Regards, Michael PS: Please drop the ML a line if there's an outside progress in a topic you initia

Re: [CMake] Issues with finding raptor in the soprano build

2011-11-16 Thread Michael Wild
On 11/16/2011 09:35 AM, Laszlo Papp wrote: >> What version of CMake are you using? The extended signature of >> find_package_handle_standard_args() you use in FindRaptor.cmake became >> only available in CMake 2.8.4. > > Sadly 2.8.2 is the available version: > http://harmattan-dev.nokia.com/pool/h

Re: [CMake] Adding a new language

2011-11-16 Thread Michael Hertling
On 11/16/2011 04:13 AM, Stefan Monnier wrote: >>> I'd still like to know how to explain to cmake that the command produces >>> 2 files, but at least I can get rid of my hack. >> That (assuming just a simple object file is produced by compilation) >> is one of several general limitations with CMake

[CMake] Clear CDash Log

2011-11-16 Thread norulez
Hi, is there a way to clear the CDash Log for a specific build/project? My problem is that i already have fixed the problem ("Got a packet bigger than 'max_allowed_packet' bytes") and now I want to remove these logs. (The orange triangle) Thanks in advance Best Regards NoRulez -- Powered by

Re: [CMake] Issues with finding raptor in the soprano build

2011-11-16 Thread Laszlo Papp
> What version of CMake are you using? The extended signature of > find_package_handle_standard_args() you use in FindRaptor.cmake became > only available in CMake 2.8.4. Sadly 2.8.2 is the available version: http://harmattan-dev.nokia.com/pool/harmattan-beta3/free/c/cmake/ I was claiming a lot i

Re: [CMake] Issues with finding raptor in the soprano build

2011-11-16 Thread Michael Wild
On 11/16/2011 09:13 AM, Laszlo Papp wrote: > I mentioned this in my first email: > > I think this is a bit closer to the issue: > -- [TEST-BEGIN] - FIND_PACKAGE RAPTOR2.0.4 > -- VERSION_VAR (missing: REQUIRED_VARS) > -- [TEST-END] - FIND_PACKAGE RAPTOR2.0.4 > > for this debugging lines in the C

Re: [CMake] Issues with finding raptor in the soprano build

2011-11-16 Thread Laszlo Papp
I mentioned this in my first email: I think this is a bit closer to the issue: -- [TEST-BEGIN] - FIND_PACKAGE RAPTOR2.0.4 -- VERSION_VAR (missing: REQUIRED_VARS) -- [TEST-END] - FIND_PACKAGE RAPTOR2.0.4 for this debugging lines in the CMakeLists.txt file: message(STATUS "[TEST-BEGIN] - FIND_PA

Re: [CMake] Issues with finding raptor in the soprano build

2011-11-16 Thread Andreas Pakulat
On 16.11.11 09:46:08, Laszlo Papp wrote: > -- RAPTOR_LIBRARIES: /usr/lib/libraptor2.so > -- RAPTOR_INCLUDE_DIR: /usr/include/raptor2 Ok, and since you didn't post that yet, what the exact error message from cmake that you get and where is it generated? Andreas -- Powered by www.kitware.com Vis