[CMake] Dynamic targets

2010-09-16 Thread Johny
cmake ?? Cheers, Johny ___ 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 Follow

[CMake] Setting environment variables

2010-09-14 Thread Johny
, when the script runs it set the values and outputs it correctly, however after the script finishes execution the environment is still unchanged. I want to set the environment variables permanently. Is there some way to do this ? Cheers Johny

[CMake] SubProjects

2010-08-30 Thread Johny
same as the subprojects to get it working right ? Whats wrong here ? I have also a set a ctest variable called CTEST_PROJECT_SUBPROJECTS which is basically a list of my sub-projects. Cheers, Johny ___ Powered by www.kitware.com Visit other Kitware

Re: [CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread Johny
I figured out the problem. It was the custom command, some of its arguments had " which was messing up with the arguments to the ctest launcher i guess, I corrected it and now it builds without any issues. Thanks for the help :) Cheers, Johny On 08/30/2010 03:22 PM, David Cole wrote:

Re: [CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread Johny
I did what you said but now I have a different problem. I see this command being run and it has its output as G__CDB.cxx "/home/johny/opt/cmake/bin/ctest" --launch --target-name CDB --build-dir /home/johny/opt/alice/AliRootInstall/STEER --output G__CDB.cxx however this file is not

Re: [CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread Johny
variables CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS, CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS, CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE , CTEST_USE_LAUNCHERS so that when i run ctest -D Experimental those values will be used and my build results get labeled ? Cheers, Johny On 08/30/2010 01:35 PM, David Cole wrote:

[CMake] Ctest not configuring properly due to DartConfiguration.tcl ?

2010-08-30 Thread Johny
Experimental i get this message : UpdateCTestConfiguration from :_/home/johny/opt/alice/AliRootInstall/DartConfiguration.tcl_ Parse Config file:_/home/johny/opt/alice/AliRootInstall/DartConfiguration.tcl_ Is this supposed to happen? Where is this DartConfiguration.tcl file coming from ? I&#

Re: [CMake] Running a command after generation of Makefile

2010-08-26 Thread Johny
I do not want all the include flags to be isystem, only one. I'm using cmake version 2.8.2 Cheers, Johny On 08/25/2010 09:46 PM, Bill Hoffman wrote: On Wed, Aug 25, 2010 at 3:01 PM, Michael Wild wrote: On 25. Aug, 2010, at 18:57 , Johny wrote: Hey, I was trying to us

[CMake] Running a command after generation of Makefile

2010-08-25 Thread Johny
makefiles are generated and i wud like to not have the user execute another cmake script before running make. Is it possible? Cheers, Johny ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] Warnings and error

2010-08-20 Thread Johny
On 08/19/2010 09:20 PM, Alexander Neundorf wrote: On Thursday 19 August 2010, Johny wrote: Hey, Is there any way to increase the number of warnings and errors displayed on CDash ? Also can we somehow suppress certain warnings and errors ? Yes, you have to create a CTestCustom.cmake

[CMake] Warnings and error

2010-08-19 Thread Johny
Hey, Is there any way to increase the number of warnings and errors displayed on CDash ? Also can we somehow suppress certain warnings and errors ? Cheers, Johny ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

[CMake] Build logging

2010-08-18 Thread Johny
f the makefile that gets generated to another file ? maybe by modifying something in the CMakeLists ?? Cheers, Johny ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep mes

[CMake] Weird ctest behaviour

2010-08-17 Thread Johny
hings from running the script directly from the shell and also through ctest as a part of more tests but i still get the same error. The script does not call cmake at any point of time or do anything with the source and binary directories. Whats going wrong? Cheers,

Re: [CMake] FILE command working

2010-07-09 Thread Johny
at 5:24 AM, Johny <mailto:johny.j...@cern.ch>> wrote: Hi, I was working with the FILE(STRINGS filename lineList) and i discovered that i end up getting a list which has a lesser number of strings than the actual lines in the file. However this happens with only some

Re: [CMake] FILE command working

2010-07-09 Thread Johny
On 07/09/2010 11:31 AM, Michael Wild wrote: On 9. Jul, 2010, at 11:24 , Johny wrote: Hi, I was working with the FILE(STRINGS filename lineList) and i discovered that i end up getting a list which has a lesser number of strings than the actual lines in the file. However this happens with

[CMake] FILE command working

2010-07-09 Thread Johny
no of new lines in the files i get the correct no of lines for the file. This has led me to believe that the FILE strings command is at fault somehow. How does it work? Cheers! Johny ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Passing Function Arguments

2010-07-08 Thread Johny
On 07/08/2010 10:44 AM, Michael Wild wrote: On 8. Jul, 2010, at 10:35 , Johny wrote: I am trying to write a cmake function which imitates the functionality of wc -l for unix. However i can't seem to be able to figure out how to store the result into the variable which is passed t

[CMake] Passing Function Arguments

2010-07-08 Thread Johny
eData) string(REGEX MATCHALL "\n" lines ${fileData}) list(LENGTH lines lines) endif(fileData) endfunction() i call the function as wcl (${fileName} fileLen) and printing it gives no output message("${fileLen}") What am i doi

[CMake] Notes not showing up on CDash

2010-07-01 Thread Johny Jose
I have been trying to upload files as notes for my builds using the ctest_submit(PARTS Notes) command. When i run the script it shows submissions successful but when i check the dashboard i cannot find any notes. What am i doing wrong ? Regards Johny

Re: [CMake] Custom memory checking result processing

2010-06-25 Thread Johny Jose
need but i do know which errors i do need. It would be a really great feature to add to valgrind. Regards, Johny -Original Message- From: cmake-boun...@cmake.org on behalf of Bill Hoffman Sent: Fri 6/25/2010 4:17 PM To: cmake@cmake.org Subject: Re: [CMake] Custom memory checking r

Re: [CMake] Custom memory checking result processing

2010-06-25 Thread Johny Jose
The frameworks in question are a necessary evil, we cannot do without them, time and habit will not allow us to work with anything else i guess. Well i guess i will have to try it out and see what comes of it, will let u know how successful it is. Regards, Johny -Original Message

[CMake] Custom memory checking result processing

2010-06-25 Thread Johny Jose
any errors to list in a file creating ridiculously large logs and suppression files. I was wondering is there any better way to tackle this problem ? Regards Johny ___ Powered by www.kitware.com Visit other Kitware open-source project