Re: [CMake] CPack Optional Component

2010-08-10 Thread Eric Noulard
2010/8/10 Vincent LEFORT : > Hi, > I come back to know if anyone have an idea of howto do this tricks ? I think you should have a look at this thread: http://www.cmake.org/pipermail/cmake/2010-August/038831.html which explains how to do generator specific things at CPack time. >> Hello, i use CPa

Re: [CMake] CONFIGURE_FILE, Windows and Native vs CMake Paths

2010-08-10 Thread Michael Wild
On 9. Aug, 2010, at 23:53 , Brian Davis wrote: >>> Well, I don't think there's a way around it. But you can use a loop to do > it: > > Ok good to know. > >>> Another thing, though: Never, ever, configure a file into the source > tree. Doing so is a recipe for disaster... > > Curious as to why.

Re: [CMake] 64 bit windows: rsp file not employed in build.make

2010-08-10 Thread Verweij, Arjen
Hi, >The objects1.rsp file is generated by CMake during configuration. The >start/end temp file syntax tells NMake to use response files at build >time. Why is this scheme only used for shared libs and not static libs? For static libs it works automagically somehow. >The link rule uses objects

Re: [CMake] Support for multiple components in cpack

2010-08-10 Thread Chris Wolf
On 8/9/10 2:22 PM, Eric Noulard wrote: > 2010/8/9 Chris Wolf : >> >> >> On 8/9/10 12:11 PM, Kishore wrote: >>> On Friday 06 Aug 2010 4:18:36 am Eric Noulard wrote: 2010/8/4 Kishore : > On Monday 02 Aug 2010 4:59:47 pm Eric Noulard wrote: >> Hi All, >> >> I did add a patch for

Re: [CMake] Dependency bug in cmake with a custom-command

2010-08-10 Thread Brad King
On 08/05/2010 05:33 PM, Andreas Pakulat wrote: > Sure, this is the plugin that breaks: > http://gitorious.org/kdevelop/kdevplatform/blobs/master/plugins/reviewboard/CMakeLists.txt Do you have KDE4_ENABLE_FINAL enabled? -Brad ___ Powered by www.kitware.c

Re: [CMake] Dependency bug in cmake with a custom-command

2010-08-10 Thread Andreas Pakulat
On 10.08.10 09:04:34, Brad King wrote: > On 08/05/2010 05:33 PM, Andreas Pakulat wrote: > > Sure, this is the plugin that breaks: > > http://gitorious.org/kdevelop/kdevplatform/blobs/master/plugins/reviewboard/CMakeLists.txt > > Do you have KDE4_ENABLE_FINAL enabled? No. Just running cmake ../ wi

Re: [CMake] libraryname decoration

2010-08-10 Thread Olaf van der Spek
On Fri, Jul 30, 2010 at 5:59 PM, David Cole wrote: > Here are the facts, as I see them: > - It would be possible to add automatic opt-in (not enabled by default) > library name decoration rules to CMake > > - If the CMake team were to implement such a feature: > -- it would save Olaf from having t

Re: [CMake] 64 bit windows: rsp file not employed in build.make

2010-08-10 Thread Brad King
On 08/10/2010 05:29 AM, Verweij, Arjen wrote: >> The objects1.rsp file is generated by CMake during configuration. The >> start/end temp file syntax tells NMake to use response files at build >> time. > > Why is this scheme only used for shared libs and not static libs? > For static libs it works

Re: [CMake] libraryname decoration

2010-08-10 Thread Michael Wild
On 10. Aug, 2010, at 15:15 , Olaf van der Spek wrote: > On Fri, Jul 30, 2010 at 5:59 PM, David Cole wrote: >> Here are the facts, as I see them: >> - It would be possible to add automatic opt-in (not enabled by default) >> library name decoration rules to CMake >> >> - If the CMake team were to

[CMake] findpackage.cmake vs packageconfig.cmake

2010-08-10 Thread Mathieu Malaterre
Hi there, I am trying to find a solution to find the openjpeg package. In the 1.x version, openjpeg uses a makefile based build system. In this case I need to write a custom findopenjpeg.cmake file to discover all required path. However in the current 2.x version, openjpeg now uses cmake a

Re: [CMake] Complex command

2010-08-10 Thread Magnus Therning
On Fri, Aug 6, 2010 at 20:18, Ryan Pavlik wrote: >  On 8/6/10 1:12 PM, Magnus Therning wrote: >> >> I was trying to put something like this into a CMake file: >> >> add_custom_command( ... >>     COMMAND ... >>     COMMAND ([[ -f foo ]] || ln -sf foo bar); true >>     ) >> >> But CMake won't have

Re: [CMake] findpackage.cmake vs packageconfig.cmake

2010-08-10 Thread Michael Wild
On 10. Aug, 2010, at 16:20 , Mathieu Malaterre wrote: > Hi there, > > I am trying to find a solution to find the openjpeg package. > > In the 1.x version, openjpeg uses a makefile based build system. In > this case I need to write a custom findopenjpeg.cmake file to discover > all required pa

Re: [CMake] Eliminate Debug/Release directories and name executables based on configuration

2010-08-10 Thread Ben Medina
CMake has explicit support for this, rather than using a prefix (which doesn't work in VS2010): http://www.cmake.org/Bug/view.php?id=9163 - Ben On Mon, Aug 9, 2010 at 12:50 PM, Keith Gardner wrote: > What you need to do to get rid of the Debug/Release directories is set the > prefix property fo

Re: [CMake] findpackage.cmake vs packageconfig.cmake

2010-08-10 Thread Alexander Neundorf
On Tuesday 10 August 2010, Mathieu Malaterre wrote: > Hi there, > > I am trying to find a solution to find the openjpeg package. > > In the 1.x version, openjpeg uses a makefile based build system. In > this case I need to write a custom findopenjpeg.cmake file to discover > all required path.

Re: [CMake] MinGW: running test driver fails, dll not found

2010-08-10 Thread Daniel Franke
On Tuesday 10 August 2010 01:24:13 David Cole wrote: > Or this variable prior to defining any targets: > http://cmake.org/cmake/help/cmake-2-8- docs.html#variable:CMAKE_RUNTIME_OUTPUT_DIRECTORY > > ...to put all the runtime (exe and dll) output files in the same directory > with each other... Dav

[CMake] HowTo specify Site/Buildname for Ctest->CDash submissions

2010-08-10 Thread kent williams
I think this used to go into DartConfiguration.tcl but we don't use Dart any more for dashboards. I have read through the instructions http://www.vtk.org/Wiki/CDash:Build_Management#Client_Configuration and it describes how to configure things if you're going to run ctest directly. What it does

Re: [CMake] HowTo specify Site/Buildname for Ctest->CDash submissions

2010-08-10 Thread Rolf Eike Beer
Am Tuesday 10 August 2010 schrieb kent williams: > I think this used to go into DartConfiguration.tcl but we don't use > Dart any more for dashboards. > > I have read through the instructions > > http://www.vtk.org/Wiki/CDash:Build_Management#Client_Configuration > > and it describes how to conf

Re: [CMake] HowTo specify Site/Buildname for Ctest->CDash submissions

2010-08-10 Thread kent williams
Thanks for the prompt reply. It's 'SITE' and 'BUILDNAME' On Tue, Aug 10, 2010 at 2:44 PM, Rolf Eike Beer wrote: > Am Tuesday 10 August 2010 schrieb kent williams: >> I think this used to go > into DartConfiguration.tcl but we don't use >> Dart any more for > dashboards. >> >> I have read through

[CMake] Problem with include directory ordering in wxWidgets_INCLUDE_DIRS

2010-08-10 Thread Roger James
Please can someone with access to the bug database raise this as a problem. The CMake module FindwxWidgets.cmake sets up an a variable called wxWidgets_INCLUDE_DIRS which is intended to be used as the source of additional include directories to be searched by various build tools. The code tha

[CMake] Obtaining info about the compiler command arguments

2010-08-10 Thread Óscar Fuentes
How to know the compiler arguments set by include_directories, add_definitions, etc? CMAKE__FLAGS (with and whitout the uppercase build_type suffix) doesn't contain anything that was set by the cmake commands mentioned above. ___ Powered by www.kitware.

[CMake] Using VTK with CMake: link errors

2010-08-10 Thread Nicholas Kinar
Hello, I had originally posted this question to the vtkusers mailing list. However, after receiving feedback from other VTK users it is also apparent that there is a possibility my question belongs on the cmake mailing list. I'm writing a program for a research application, and I would like