Re: [CMake] proper setup to create file and have it installed

2010-12-28 Thread edA-qa mort-ora-y
On 12/27/2010 09:51 PM, Michael Hertling wrote: You might use the ALL option of ADD_CUSTOM_TARGET() to incorporate the language target in CMake's all target which, in turn, is built as a prerequisite of the install target. Alternatively, if the language file should be installed only if the

[CMake] CTEST_UPDATE for clearcase

2010-12-28 Thread Wojciech Migda
Hi, CTEST_UPDATE doesn't officialy operate on ClearCase views, but would it be difficult to add support to CTEST_UPDATE just collecting config spec contents and sending it to CDash with subsequent CTEST_SUBMIT command ? Is Update.xml capable of containing such information as ClearCase config

Re: [CMake] ctest_submit() error

2010-12-28 Thread girish hilage
Hi,    Thanks for your reply.    I have now 2 different files CTestConfig.cmake and script.cmake    I am giving the command :    ctest -S script.cmake -VV    my script.cmake has following lines in it (skipped initial lines) : .. .. ctest_start(Nightly) ctest_update()

Re: [CMake] ctest_submit() error

2010-12-28 Thread David Cole
On Tue, Dec 28, 2010 at 6:00 AM, girish hilage girish_hil...@yahoo.comwrote: Hi, Thanks for your reply. I have now 2 different files CTestConfig.cmake and script.cmake I am giving the command : ctest -S script.cmake -VV my script.cmake has following lines in it (skipped

[CMake] CMAKE_SHARED_LIBRARY_PREFIX

2010-12-28 Thread Micha Renner
Hello, I always thought that CMAKE_SHARED_LIBRARY_PREFIX should have the value lib (Linux). On my system it is blank. Is there a specific reason for that? Greetings Micha ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] CMAKE_SHARED_LIBRARY_PREFIX

2010-12-28 Thread David Cole
What's the context of your question? When processing a CMakeLists file, on Linux, the typical value is lib. There could be any number of reasons why it would be blank for you: - you're running a cmake -P script, not processing a CMakeLists file - some file in your project has overridden the

Re: [CMake] CMAKE_SHARED_LIBRARY_PREFIX

2010-12-28 Thread Micha Renner
Am Dienstag, den 28.12.2010, 07:46 -0500 schrieb David Cole: What's the context of your question? When processing a CMakeLists file, on Linux, the typical value is lib. Aha. The following small script... PROJECT(T) CMAKE_MINIMUM_REQUIRED(VERSION 2.8.3) MESSAGE(STATUS

Re: [CMake] CMAKE_SHARED_LIBRARY_PREFIX

2010-12-28 Thread David Cole
CMAKE_SHARED_LIBRARY_PREFIX only has one F (i.e., it's not CMAKE_SHARED_LIBRARY_PREFFIX) On Tue, Dec 28, 2010 at 8:28 AM, Micha Renner micha.ren...@t-online.dewrote: Am Dienstag, den 28.12.2010, 07:46 -0500 schrieb David Cole: What's the context of your question? When processing a

[CMake] add_executable created file path

2010-12-28 Thread Mika . Rajala
Hello I'm using add_executable to create an executable file. I'd like to extract the filepath of the created executable for a custom command. This causes some trouble for me because I use and must use visual studio. The familiar problem with the build type being added as a subfolder. However,

[CMake] add_executable created file name

2010-12-28 Thread Mika . Rajala
Hello I'd need to get the filepath of a created executable file, so that i can use the filepath on a custom command. add_executable(Program ...) add_custom_command(TARGET Program POST_BUILD COMMAND ${ProgramToRun} ${Program} ...) To clarify, i'd like to run the executable ProgramToRun with a

Re: [CMake] add_executable created file name

2010-12-28 Thread Michael Wild
On 12/28/2010 02:39 PM, mika.raj...@patria.fi wrote: Hello I'd need to get the filepath of a created executable file, so that i can use the filepath on a custom command. add_executable(Program ...) add_custom_command(TARGET Program POST_BUILD COMMAND ${ProgramToRun} ${Program} ...)

Re: [CMake] CMAKE_SHARED_LIBRARY_PREFIX

2010-12-28 Thread Micha Renner
Am Dienstag, den 28.12.2010, 08:51 -0500 schrieb David Cole: CMAKE_SHARED_LIBRARY_PREFIX only has one F Shame on me. Nevertheless, thank you. Greetings Micha ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Visual Studio 2010 Generator Missing?

2010-12-28 Thread Michael Jackson
On Dec 27, 2010, at 6:04 PM, Bill Hoffman wrote: On 12/27/2010 5:46 PM, Michael Jackson wrote: I have CMake 2.8.3 installed on a Windows 7 x64 system. I finally got around to installing VS2010 in order to try it out and when I run CMake-GUI there is no option for Visual Studio 2010? I was

Re: [CMake] Visual Studio 2010 Generator Missing?

2010-12-28 Thread John Drescher
Just a small piece of feedback. All the other Visual Studio generators are in order, ie, VS 6, VS 7, VS 8, VS 9 so it made sense to look for VS 10 below VS 9. Was there a specific reason for putting VS 10 above VS 6 and thus out of order? Maybe the combo box is sorted? John

Re: [CMake] Visual Studio 2010 Generator Missing?

2010-12-28 Thread Micha Renner
Just a small piece of feedback. All the other Visual Studio generators are in order, ie, VS 6, VS 7, VS 8, VS 9 so it made sense to look for VS 10 below VS 9. Was there a specific reason for putting VS 10 above VS 6 and thus out of order? The only reason I can think is that VS 10 starts

Re: [CMake] Visual Studio 2010 Generator Missing?

2010-12-28 Thread Michael Jackson
On Dec 28, 2010, at 9:29 AM, John Drescher wrote: Just a small piece of feedback. All the other Visual Studio generators are in order, ie, VS 6, VS 7, VS 8, VS 9 so it made sense to look for VS 10 below VS 9. Was there a specific reason for putting VS 10 above VS 6 and thus out of order?

Re: [CMake] CMAKE_SHARED_LIBRARY_PREFIX

2010-12-28 Thread Bill Hoffman
On 12/28/2010 9:25 AM, Micha Renner wrote: Am Dienstag, den 28.12.2010, 08:51 -0500 schrieb David Cole: CMAKE_SHARED_LIBRARY_PREFIX only has one F Shame on me. Nevertheless, thank you. Useful hint... cmake --trace That will show all the commands including set commands for stuff like

Re: [CMake] Visual Studio 2010 Generator Missing?

2010-12-28 Thread Michael Jackson
On Dec 28, 2010, at 9:45 AM, Micha Renner wrote: Just a small piece of feedback. All the other Visual Studio generators are in order, ie, VS 6, VS 7, VS 8, VS 9 so it made sense to look for VS 10 below VS 9. Was there a specific reason for putting VS 10 above VS 6 and thus out of order?

Re: [CMake] echo in execute_process

2010-12-28 Thread Tyler Roscoe
On Fri, Dec 24, 2010 at 04:19:16AM +, luxInteg wrote: in an execute_process() function with ${ECHO} (/bin/echo)what does one set for WORKING_DIRECTORY? 1. I would use ${CMAKE_COMMAND} -E echo rather than /bin/echo. 2. I would not set WORKING_DIRECTORY unless I needed it for some

Re: [CMake] MSB4051

2010-12-28 Thread Bill Hoffman
On 12/27/2010 10:25 AM, Bill Hoffman wrote: On 12/27/2010 10:03 AM, Anders Backman wrote: Seems to be bug in CMake! I reduce the solution down to 1 project. Still fails. So I copied the generated .sln file into agx.cmake.sln More helpful would be a minimal CMakeLists.txt and instructions on

Re: [CMake] MSB4051

2010-12-28 Thread Anders Backman
Yep. It works with the nightly build. Great. /A On Tue, Dec 28, 2010 at 6:14 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On 12/27/2010 10:25 AM, Bill Hoffman wrote: On 12/27/2010 10:03 AM, Anders Backman wrote: Seems to be bug in CMake! I reduce the solution down to 1 project. Still

Re: [CMake] Most convenient way to pass information from dashboard script to cmake script

2010-12-28 Thread Tyler Roscoe
On Mon, Dec 27, 2010 at 03:56:20PM +0100, Wojciech Migda wrote: I'm trying to pass information from a script executed for dashboard submission (ctest -S) to the underlying CMakeLists.txt which is to be parsed by (internally called by ctest) cmake. In other words, I'd like to have a system

Re: [CMake] add_executable created file name

2010-12-28 Thread Mika . Rajala
Thanks, this works nicely Sorry for the double posting. I waited for 30 minutes and the mail didn't appear on the list, so I assumed it failed somehow. -mika Michael Wild them...@gmail.com Sent by: cmake-boun...@cmake.org 28.12.2010 16:23 To cmake@cmake.org cc Subject Re: [CMake]

Re: [CMake] proper setup to create file and have it installed

2010-12-28 Thread Michael Hertling
On 12/28/2010 09:10 AM, edA-qa mort-ora-y wrote: On 12/27/2010 09:51 PM, Michael Hertling wrote: You might use the ALL option of ADD_CUSTOM_TARGET() to incorporate the language target in CMake's all target which, in turn, is built as a prerequisite of the install target. Alternatively, if the

[Cmake-commits] CMake branch, next, updated. v2.8.3-1101-g9cdbb40

2010-12-28 Thread Brad King
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 9cdbb403f8832f97f1895ce109923b3a631a1021 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1105-gf106a8f

2010-12-28 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 f106a8f529319a08451bf4abc84903be528a119f (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1108-gb44a0b6

2010-12-28 Thread David Cole
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 b44a0b6b2c5e1ee9d2f144a4c0f68fadd250811c (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1110-g49ecd0d

2010-12-28 Thread Brad King
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 49ecd0db51101d1cba67d84c93a1b5cc92f10a7d (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-360-g9ffe22b

2010-12-28 Thread Brad King
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, master has been updated via 9ffe22b2eb4ac0126e643a83288a0aecac5c0b50 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-362-g726861c

2010-12-28 Thread Brad King
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, master has been updated via 726861ce691db9e2228bdf5fca08fb48f048083a (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-366-g96d0203

2010-12-28 Thread Brad King
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, master has been updated via 96d0203bc0a497695aa204e69b6d7e0bebcb1df3 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-368-g93460cc

2010-12-28 Thread Brad King
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, master has been updated via 93460cc1d5f2859917a77ecf8279816cf964342b (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-369-g5e9d8a2

2010-12-28 Thread KWSys Robot
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, master has been updated via 5e9d8a295295ac77dd8984f256420a6a6e4d5465 (commit) from