[CMake] creation of cxx in QT4 gui

2010-09-14 Thread e...@cs.bgu.ac.il
hello. I have a question, I'm assuming that QT4_WRAP_CPP is creating the cxx files, on a project of mine, I have 3 classes, two of them have a ui file, all headers are in GUI_HPP list, when I print the content of the variable, I see the two headers that have a ui file, when I run it via

[CMake] Use ctest for automatic performance measurement

2010-09-14 Thread Stefan Dänzer
Hi all, I was wondering if one could use cmake/ctest for automatic performance measurement of applications. I would want to use ctest to automatically measure the performance of a whole system and the individual components of a system. Take for instance an image processing application

Re: [CMake] Use of CMAKE_LIBRARY_OUTPUT_DIRECTORY

2010-09-14 Thread David Aldrich
Hi Ryan I believe for static libraries, the variable CMAKE_ARCHIVE_OUTPUT_DIRECTORY is actually used. Thanks for your answer. That's just what I need. Best regards David ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] CMake Problem with Visual Studio 2008 Express and Windows 7

2010-09-14 Thread Micha Renner
There were and there are problems with CMake and the Visual Studio Express Versions. See: http://www.cmake.org/pipermail/cmake/2010-May/036962.html (macros) I use the 2010 Express Version, which works astonishingly good. There are still some minor problems (see

Re: [CMake] creation of cxx in QT4 gui

2010-09-14 Thread Andreas Pakulat
On 14.09.10 09:37:29, e...@cs.bgu.ac.il wrote: hello. I have a question, I'm assuming that QT4_WRAP_CPP is creating the cxx files, on a project of mine, I have 3 classes, two of them have a ui file, all headers are in GUI_HPP list, when I print the content of the variable, I see the two

Re: [CMake] custom target isn't rebuilt if depending on another custom target

2010-09-14 Thread Gerhard Stengel
Hello Michael, thanks, it sheds some light on the matter, but I'm not happy as it is, see comments below. regards Gerhard ... If I create Demo.tar from a clean project, everything's fine. However, the rebuilt isn't performed completely, that is if I touch Demo1.in, just Demo1.out is

[CMake] Setting environment variables

2010-09-14 Thread Johny
Hey, I was trying to setup my environment variables before i start a build , but they do not seem to be working at all. I basically have a Ctest script called driver.ctest which includes another file called envsetup at the beginning. envsetup contains a list of set(ENV{VAR1} VALUE) and

[CMake] How to test classes requiring a server ?

2010-09-14 Thread Jean-Christophe Fillion-Robin
Hi Folks, Would be great if some people having experience in testing classes required a server could share their knowhow :) Within our project, we have a set of classes that required an instance of a server running to be properly unit tested. Note that the server can be started easily from a

Re: [CMake] Setting environment variables

2010-09-14 Thread Gerhard Stengel
Hi Johny, I've experienced the same problem and unfortunately, I think there's no way to set them permanently. The reason seems to be that cmake invokes subshells for most of the commands, so the change of the environment variable only happens in the subshell and never reaches the parent. I

Re: [CMake] Setting environment variables

2010-09-14 Thread Chris Hillery
You didn't mention what operating system you're using, but on Linux, at least, the second thing you asked for: I also tried running the envsetup script alone by using the cmake -P command, when the script runs it set the values and outputs it correctly, however after the script finishes

Re: [CMake] Setting environment variables

2010-09-14 Thread Chris Hillery
On Tue, Sep 14, 2010 at 4:03 AM, Gerhard Stengel gerhar...@ast.dfs.dewrote: I've experienced the same problem and unfortunately, I think there's no way to set them permanently. The reason seems to be that cmake invokes subshells for most of the commands, so the change of the environment

Re: [CMake] CMake Problem with Visual Studio 2008 Express and Windows 7

2010-09-14 Thread Conor Downey
Hi, Ive downloaded 2010 Express but the exact same problem still exists. Here is the build log (i am using CMake 2.8.2): Check for working CXX compiler using: Visual Studio 10 CMake Error: Remove failed on file:

Re: [CMake] CMake Problem with Visual Studio 2008 Express and Windows 7

2010-09-14 Thread Conor Downey
Hey, Sorry, dunno if its important but this is the guide to what ive been trying to use CMake for: http://sourceforge.net/apps/trac/glestae/wiki/CompileGuideWin As far as i can tell i have all the code/files in the correct places. Cheers, Conor On Tue, Sep 14, 2010 at 12:16 PM, Conor Downey

Re: [CMake] add_test : expand environment variable at running time

2010-09-14 Thread Olivier Pierard
Thanks for your hint Tyler. Correct answer seems to be '\$ENV{TMPDIR}' in add_test in CMakeLists.txt so that '$ENV{TMPDIR}' is written in the CTestTestFile.cmake. So, command written there is not executed directly in the shell but re-interpreted first by CTest... I hope this is the end of a

Re: [CMake] CMake Problem with Visual Studio 2008 Express and Windows 7

2010-09-14 Thread Ryan Pavlik
You might want to see if either CMake or Visual Studio is set to run as administrator - it looks like one of them probably did at one time but no longer does. Deleting the whole build directory and trying again should work. Ryan On Tue, Sep 14, 2010 at 6:18 AM, Conor Downey

Re: [CMake] How to test classes requiring a server ?

2010-09-14 Thread Bill Hoffman
On 9/14/2010 6:23 AM, Jean-Christophe Fillion-Robin wrote: Hi Folks, Would be great if some people having experience in testing classes required a server could share their knowhow :) Within our project, we have a set of classes that required an instance of a server running to be properly unit

[CMake] cgi sript compile

2010-09-14 Thread Norman Rädke
I try to compile a c file to an cgi script. The target add_executable only create an executable file, but the output should be an cgi script with extension .cgi. How can i only compile the objectfile of an .c source without linking it into a a library. Thanks

Re: [CMake] Use ctest for automatic performance measurement

2010-09-14 Thread Alexander Neundorf
On Tuesday 14 September 2010, Stefan Dänzer wrote: Hi all, I was wondering if one could use cmake/ctest for automatic performance measurement of applications. I would want to use ctest to automatically measure the performance of a whole system and the individual components of a system.

Re: [CMake] cgi sript compile

2010-09-14 Thread Ryan Pavlik
On 9/14/10 2:25 PM, Norman Rädke wrote: I try to compile a c file to an cgi script. The target add_executable only create an executable file, but the output should be an cgi script with extension .cgi. How can i only compile the objectfile of an .c source without linking it into a a library.

[CMake] FindLibrary only looks for lib under Windows

2010-09-14 Thread emeplease
Hi, I have modified the FindAPR.cmake module to look for the APR library under Windows. Using Find_Library , the library that it should look for is libapr-1.dll , however, cmake fails to find it. If I change the name from libapr-1.dll to libapr-1.lib , CMake can successfully locate it. I

Re: [CMake] custom target isn't rebuilt if depending on another custom target

2010-09-14 Thread Michael Hertling
On 09/14/2010 11:56 AM, Gerhard Stengel wrote: Hello Michael, thanks, it sheds some light on the matter, but I'm not happy as it is, see comments below. regards Gerhard ... If I create Demo.tar from a clean project, everything's fine. However, the rebuilt isn't performed

[Cmake-commits] CMake branch, next, updated. v2.8.2-769-g2a31343

2010-09-14 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 2a3134388e36616cf34cbb378e9ebfb6b6634475 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-414-g913437d

2010-09-14 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 913437da726102c60b950115add990c5d9902c9d (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-418-ge486662

2010-09-14 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 e486662f84d5062ff7ba808a046b2e74b5502949 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-423-g6426a86

2010-09-14 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 6426a86d5ede25f8c3178b120fef6214e959983b (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-428-gf306a35

2010-09-14 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 f306a357b29ff10bb7ab83f7ceb7de2f77550935 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-430-gee66f21

2010-09-14 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 ee66f2127167517bcaba326967cdffa97788 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.2-784-gf6f2e0c

2010-09-14 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 f6f2e0cc72116e0144238f0b2f090d6eebadf6ed (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.2-786-g5772c9e

2010-09-14 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 5772c9e7a0cb8070d2a1fa4801fef3490e247ba8 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.2-437-g4c06e23

2010-09-14 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 4c06e233071bac7821e27fece0c4d597c12798eb (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.2-788-g490682e

2010-09-14 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 490682e43f99140e0a846825c17ed30178db5f43 (commit) via

[Cmake-commits] CMake branch, hooks, updated. f83a32feb68c5b6ee2e98f54f016daed86a7fd8f

2010-09-14 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, hooks has been updated via f83a32feb68c5b6ee2e98f54f016daed86a7fd8f (commit) from