Re: [CMake] Creating package

2012-05-27 Thread Kornel Benko
Am Samstag, 26. Mai 2012 um 22:02:19, schrieb Eric Noulard eric.noul...@gmail.com 2012/5/26 Kornel Benko kor...@lyx.org: Am Samstag, 26. Mai 2012 um 17:31:18, schrieb Kornel Benko kor...@lyx.org Am Samstag, 26. Mai 2012 um 16:41:45, schrieb Eric Noulard eric.noul...@gmail.com 2012/5/26

Re: [CMake] Creating package

2012-05-27 Thread Eric Noulard
2012/5/27 Kornel Benko kor...@lyx.org: Now dpkg -i xyzzy.deb is working. Ok then, could you try with cmake -E tar zcvf data.tgz ./usr instead. This one produces the same _bad_ tar file. The error output of        #tar ztvf data.tgz /dev/null                tar: Ignoring unknown

[CMake] cmake self test fails on Darwin - 9.8.0 - i386 with gcc47 and spaces in path

2012-05-27 Thread Claus Klein
Hi all, while testing the ninja generator I created a reference binary tree with gmake an gcc47 installed with macports. I created a new empty dir with mkdir /Users/clausklein/Downloads/My Cmake Test and created the makefiles with a build scripts. It seems that the spaces in CWD makes

[CMake] cmake self build with ninja works on Darwin, but a view tests fail

2012-05-27 Thread Claus Klein
Hi all, I tried to build cmake with ninja generator enabled and build cmake itself with ninja. Nice, it works ;-)) Only a view tests fails, but most of the problems are NOT caused by ninja. It seems, that while testing, cmake on Darwin use options only valid for old native apple gcc?

[CMake] Selectively adding source files and compiling assembly sources

2012-05-27 Thread Johannes Bauer
Hi list, I'm a total beginner to CMake as a developer (although I've used it in the past for other projects before). Now I'm starting by converting a rather large Automake-Project to CMake. I'm doing it from scratch. In the project, executables and a shared library are created from the same

Re: [CMake] cmake self build with ninja works on Darwin, but a view tests fail

2012-05-27 Thread Richard Wackerbarth
Claus, Can you try to set this up to submit to the dashboard? Since you think that many of the problems are not related to Ninja, please also try it without using ninja, but rather Unix makefiles and everything else the same. It will be interesting to see what fails under those conditions.

Re: [CMake] Creating package

2012-05-27 Thread Kornel Benko
Am Sonntag, 27. Mai 2012 um 10:41:01, schrieb Eric Noulard eric.noul...@gmail.com [ snip ] I understand the will of distro packager to build cmake using SYSTEM lib but (I think that) this cannot be tested on all system combination so may be they should do some regression testing when doing

Re: [CMake] cmake self build with ninja works on Darwin, but a view tests fail

2012-05-27 Thread Claus Klein
Hi Richard, do you mean I shall do: make Experimental # or ninja Experimental ot my binary dir? Claus On 27.05.2012, at 12:36, Richard Wackerbarth wrote: Claus, Can you try to set this up to submit to the dashboard? Since you think that many of the problems are not related to Ninja,

Re: [CMake] Creating package

2012-05-27 Thread Eric Noulard
2012/5/27 Kornel Benko kor...@lyx.org: Am Sonntag, 27. Mai 2012 um 10:41:01, schrieb Eric Noulard eric.noul...@gmail.com [ snip ] I understand the will of distro packager to build cmake using SYSTEM lib but (I think that) this cannot be tested on all system combination so may be they should

Re: [CMake] cmake self build with ninja works on Darwin, but a view tests fail

2012-05-27 Thread Claus Klein
Ok, done. see http://open.cdash.org/viewTest.php?onlyfailedbuildid=2312368 Claus On 27.05.2012, at 12:36, Richard Wackerbarth wrote: Claus, Can you try to set this up to submit to the dashboard? Since you think that many of the problems are not related to Ninja, please also try it without

Re: [CMake] Creating package

2012-05-27 Thread Kornel Benko
Am Sonntag, 27. Mai 2012 um 13:50:37, schrieb Eric Noulard eric.noul...@gmail.com 2012/5/27 Kornel Benko kor...@lyx.org: Am Sonntag, 27. Mai 2012 um 10:41:01, schrieb Eric Noulard eric.noul...@gmail.com [ snip ] I understand the will of distro packager to build cmake using SYSTEM lib

Re: [CMake] cmake self test fails on Darwin - 9.8.0 - i386 with gcc47 and spaces in path

2012-05-27 Thread Claus Klein
I have uploaded my test result: http://open.cdash.org/viewTest.php?onlyfailedbuildid=2312336 Claus On 27.05.2012, at 12:10, Claus Klein wrote: Hi all, while testing the ninja generator I created a reference binary tree with gmake an gcc47 installed with macports. I created a new empty dir

Re: [CMake] the list parameter passed to function

2012-05-27 Thread Marmot Ken
Sorry. Copy-paste error kicks my ass. Output expected : SRC_LIST : ./a.cpp;./c.cpp;./main.cpp src_list_in : ./a.cpp;./c.cpp;./main.cpp Now i got the solution. invoke the function like this : AUX_SOURCE_DIRECTORY( . SRC_LIST ) MESSAGE( SRC_LIST : ${SRC_LIST} )

Re: [CMake] cmake self test fails on Darwin - 9.8.0 - i386 with gcc47 and spaces in path

2012-05-27 Thread Claus Klein
Hi Richard, I have set it to i386. I have Xcode 3.1 installed year ago to bootstrap macports. I never use it! This problems for example are caused that my gcc47 compiler is used to compile objectc++, but it is not build to do this! All this errors are have the this kind of reason, none of

Re: [CMake] cmake self test fails on Darwin - 9.8.0 - i386 with gcc47 and spaces in path

2012-05-27 Thread Claus Klein
done, now it works better. Same with and without ninja! Claus On 27.05.2012, at 18:24, Richard Wackerbarth wrote: You need to clean out your build tree. You have things left over from the previous builds using ninja. Internal cmake changing into directory: /Users/clausklein/Downloads/ My

[CMake] CPack : WM_SETTINGCHANGE broadcast

2012-05-27 Thread Nicholas Yue
Hi, I understand from reading the following article http://support.microsoft.com/kb/104011 http://support.microsoft.com/kb/104011 that one need to broadcast a WM_SETTINGSCHANGE for environment variable updated via the registry key to take effect in the current session

[CMake] Bug with FindQt4?

2012-05-27 Thread Kurtis Nusbaum
I'm deploying a Qt application which uses phonon on windows. For some reason, the DeployQt4.cmake module wasn't finding the phonon_ds9 backend plugin that is standard with windows installations of Qt4. More specifically (and was I'm almost positive this was what was tripping up DeployQt4), the