Re: [CMake] Documentation request

2011-12-20 Thread Rolf Eike Beer
Am Mittwoch 21 Dezember 2011, 06:14:03 schrieb Michael Wild: > OTOH, I think it would be very useful to mention the first version a > feature was introduced in the docs directly, similarly to what Python > does (see e.g. > http://docs.python.org/library/string.html#string-formatting). We already

Re: [CMake] shell level access to values of cmake variables

2011-12-20 Thread Johannes Zarl
Am Thursday, 10. November 2011, 18:48:06 schrieb vagn scott: > is there something like > cmake --dump-var PROJECT_NAME > that would output the string > hello_foo_baz As far as I know CMake doesn't do this out of the box. As long as you have a configured build tree and only want

Re: [CMake] Documentation request

2011-12-20 Thread Michael Wild
On 12/21/2011 02:24 AM, Tim Gallagher wrote: > Hi, > > I don't know if this will get done, but is it possible for future releases of > CMake to change the name on the website for the documentation? For example, > if you just looked at the URL: > > http://www.cmake.org/cmake/help/cmake-2-8-docs.

[CMake] Documentation request

2011-12-20 Thread Tim Gallagher
Hi, I don't know if this will get done, but is it possible for future releases of CMake to change the name on the website for the documentation? For example, if you just looked at the URL: http://www.cmake.org/cmake/help/cmake-2-8-docs.html and you didn't look at the header (which happens a lo

Re: [CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-20 Thread Clinton Stimpson
This doesn't look right: INSTALL(TARGETS ${mtargets} BUNDLE DESTINATION . RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib ) INSTALL(CODE " include(BundleUtilities) fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\") " COMPONENT Runtime) The target and fixup

Re: [CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-20 Thread David Cole
Good catch, Clinton. I did not notice the COMPONENT discrepancy. On Tue, Dec 20, 2011 at 6:26 PM, Clinton Stimpson wrote: > > This doesn't look right: > > INSTALL(TARGETS ${mtargets} >  BUNDLE DESTINATION . >  RUNTIME DESTINATION bin >  LIBRARY DESTINATION lib >  ARCHIVE DESTINATION lib > ) > >

Re: [CMake] Fwd: Fwd: cpack DragNDrop on OSX 10.7

2011-12-20 Thread David Cole
You're doing this: set(APPS "\${CMAKE_INSTALL_PREFIX}/madx${BINARY_POSTFIX}.app") # paths to executables set(DIRS "") Then this: INSTALL(CODE " include(BundleUtilities) fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\") " COMPONENT Runtime) Which means that your install code (in

Re: [CMake] CPack problem with nsis on linux

2011-12-20 Thread Hendrik Kunert
Am 20.12.2011 21:52, schrieb Eric Noulard: 2011/12/20 Hendrik Kunert: Am 20.12.2011 21:13, schrieb Eric Noulard: 2011/12/20 Hendrik Kunert: The error was the not set CPACK_TOPLEVEL_DIRECTORY. I bet it was but normally this is automatically set by CPack so why wasn't it set? I don't know,

Re: [CMake] CPack problem with nsis on linux

2011-12-20 Thread Eric Noulard
2011/12/20 Hendrik Kunert : > > Am 20.12.2011 21:13, schrieb Eric Noulard: > >> 2011/12/20 Hendrik Kunert: >>> >>> The error was the not set CPACK_TOPLEVEL_DIRECTORY. >> >> I bet it was but normally this is automatically set by CPack >> so why wasn't it set? > > I don't know, it only works if I set

Re: [CMake] CPack problem with nsis on linux

2011-12-20 Thread Hendrik Kunert
Am 20.12.2011 21:13, schrieb Eric Noulard: 2011/12/20 Hendrik Kunert: The error was the not set CPACK_TOPLEVEL_DIRECTORY. I bet it was but normally this is automatically set by CPack so why wasn't it set? I don't know, it only works if I set it by my own. But now I have another Problem, now

Re: [CMake] CPack problem with nsis on linux

2011-12-20 Thread Eric Noulard
2011/12/20 Hendrik Kunert : > The error was the not set CPACK_TOPLEVEL_DIRECTORY. I bet it was but normally this is automatically set by CPack so why wasn't it set? -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org -- Powered by www.kitware.com Vis

Re: [CMake] CPack problem with nsis on linux

2011-12-20 Thread Hendrik Kunert
The error was the not set CPACK_TOPLEVEL_DIRECTORY. Thanks for your help. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Re: [CMake] Fwd: Problem with string( FIND xxx ) in cygwin

2011-12-20 Thread Alexander Neundorf
On Tuesday 20 December 2011, Renato Utsch wrote: > Is there any substitute that could enable me to find a substring in a > determinated string? Because I need to support 2.8.4 because of > Cygwin... You can probably use regular expressions to get what you want. Alex -- Powered by www.kitware.co

[CMake] Fwd: Problem with string( FIND xxx ) in cygwin

2011-12-20 Thread Renato Utsch
Is there any substitute that could enable me to find a substring in a determinated string? Because I need to support 2.8.4 because of Cygwin... Renato 2011/12/20 Renato Utsch : > Ah, ok, thanks. > > Renato > > 2011/12/20 David Cole : >> The FIND subcommand for the string command was introduced in

Re: [CMake] hear hear

2011-12-20 Thread Alexander Neundorf
On Tuesday 20 December 2011, Benjamin Eikel wrote: > Hello Alexander, > > Am Montag, 19. Dezember 2011 um 21:19:04 schrieb Alexander Neundorf: > > On Monday 19 December 2011, Benjamin Eikel wrote: > > > Hello Alexander, > > > > > > Am Montag, 12. Dezember 2011, 21:51:54 schrieb Alexander Neundorf

[CMake] CMAKE__FLAGS also used for linking?

2011-12-20 Thread Sean McBride
Hi all, Searching the archives, I see that CMake deliberately passes the CMAKE__FLAGS for linking too: If I add -std=c++0x to CMAKE_CXX_FLAGS, then compilation is fine, but clang will warn when linking: clang-3: warning: argument un

Re: [CMake] Problem with string( FIND xxx ) in cygwin

2011-12-20 Thread David Cole
The FIND subcommand for the string command was introduced in CMake 2.8.5 as a result of this bug fix: http://public.kitware.com/Bug/view.php?id=11795 It does not exist in 2.8.4... On Tue, Dec 20, 2011 at 7:53 AM, Renato Utsch wrote: > I am using CMake 2.8.4 in cygwin (the version that comes

[CMake] Problem with string( FIND xxx ) in cygwin

2011-12-20 Thread Renato Utsch
I am using CMake 2.8.4 in cygwin (the version that comes with setup.exe), but it doesn't recognize the string( FIND <...> ) command, although it works in linux and windows very well. Is there any library I need to install in cygwin to make this work or the build from them is not working? Renato

Re: [CMake] CPack for 2.6: How to control what gets packed?

2011-12-20 Thread Eric Noulard
2011/12/19 Harelick, Matthew : > Hi: > I am using the install command to create a file organization that looks > something like this: > > Myapp: >     bin >     examples >     lib >     config > > For the lib directory I am naming specific libraries w