Re: [CMake] Printing the detailed link command call

2011-12-27 Thread Rolf Eike Beer
Am Dienstag, 27. Dezember 2011, 00:35:41 schrieb Aaron Ten Clay: On 12/26/2011 6:18 AM, Ceylow wrote: Hello, I'm having some troubles with a linking step and I would like to see exactly which parameters are given to my compiler when running the Makefile generated by CMake.

Re: [CMake] link_directories, MSVC and $(Configuration)

2011-12-27 Thread Rolf Eike Beer
Am Dienstag, 27. Dezember 2011, 16:07:46 schrieb Hauke Heibel: Hi all, I am wondering whether it is intended that the link_directories is appending the $(Configuration) sub-directory only to the last directory when a list of directories is passed to it? I had to write something like

[CMake] __FILE__ relative path

2011-12-27 Thread vivek goel
How can I make cmake to compile source with relative path ? So that __FILE__ belongs to relative path of the file or there is another way I can replace __FILE__ with some other variable ? -- regards Vivek Goel -- Powered by www.kitware.com Visit other Kitware open-source projects at

[CMake] link_directories, MSVC and $(Configuration)

2011-12-27 Thread Hauke Heibel
Hi all, I am wondering whether it is intended that the link_directories is appending the $(Configuration) sub-directory only to the last directory when a list of directories is passed to it? I had to write something like foreach(link_dir ${LIBRARY_DIRS}) link_directories(${link_dir})

Re: [CMake] Printing the detailed link command call

2011-12-27 Thread Aaron Ten Clay
On 12/26/2011 6:18 AM, Ceylow wrote: Hello, I'm having some troubles with a linking step and I would like to see exactly which parameters are given to my compiler when running the Makefile generated by CMake. Currently it only shows: Linking CXX shared library xxx which isn't enough for me

Re: [CMake] __FILE__ relative path

2011-12-27 Thread J Decker
On Tue, Dec 27, 2011 at 1:42 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Dienstag, 27. Dezember 2011, 14:58:32 schrieb vivek goel: How can I make cmake to compile source with relative path ? So that __FILE__ belongs to relative path of the file or there is another way I can replace __FILE__

Re: [CMake] __FILE__ relative path

2011-12-27 Thread Rolf Eike Beer
Am Dienstag, 27. Dezember 2011, 09:18:15 schrieb J Decker: On Tue, Dec 27, 2011 at 1:42 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Dienstag, 27. Dezember 2011, 14:58:32 schrieb vivek goel: How can I make cmake to compile source with relative path ? So that __FILE__ belongs to relative

Re: [CMake] __FILE__ relative path

2011-12-27 Thread J Decker
On Tue, Dec 27, 2011 at 9:32 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Dienstag, 27. Dezember 2011, 09:18:15 schrieb J Decker: On Tue, Dec 27, 2011 at 1:42 AM, Rolf Eike Beer e...@sf-mail.de wrote: Am Dienstag, 27. Dezember 2011, 14:58:32 schrieb vivek goel: How can I make cmake to

Re: [CMake] CMake 2.8.7-rc2 ready for testing!

2011-12-27 Thread Alan W. Irwin
On 2011-12-21 20:42-0500 David Cole wrote: The CMake 2.8.7 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D This will become the final build of CMake 2.8.7 next Wednesday unless somebody finds and reports a showstopping

[CMake] execute_process appending redirected output

2011-12-27 Thread Belcourt, Kenneth
Hi, I'm trying to get CMake to execute this command INSTALL(CODE EXECUTE_PROCESS (COMMAND cat \${CMAKE_CURRENT_SOURCE_DIR}/onejar_classpath.txt ${CMAKE_INSTALL_PREFIX}/onejar/boot-manifest.mf\) ) but this doesn't work, here's the error I get when I run the install. cat:

Re: [CMake] execute_process appending redirected output

2011-12-27 Thread Aaron Ten Clay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/27/11 16:16, Belcourt, Kenneth wrote: Hi, I'm trying to get CMake to execute this command INSTALL(CODE EXECUTE_PROCESS (COMMAND cat \${CMAKE_CURRENT_SOURCE_DIR}/onejar_classpath.txt ${CMAKE_INSTALL_PREFIX}/onejar/boot-manifest.mf\) )

Re: [CMake] __FILE__ relative path

2011-12-27 Thread vivek goel
Is there any way to define custom macro as given in following answer http://stackoverflow.com/questions/237542/learning-the-source-codes-filename-at-compile-time with cmake regards Vivek Goel On Tue, Dec 27, 2011 at 11:02 PM, Rolf Eike Beer e...@sf-mail.de wrote: Am Dienstag, 27. Dezember

[Cmake-commits] CMake branch, next, updated. v2.8.6-2315-g1f5d914

2011-12-27 Thread Bill Hoffman
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 1f5d9142fe572d63aaf96391e08e671642c6994c (commit) via