Re: [CMake] Best practices when using CMake 2.6 and Eclipse CDT 6.0

2009-10-13 Thread Eric Noulard
2009/10/14 Romain CHANU : > Hi, > > I come back to you after posting on the mailing list of the Eclipse CDT > development: > > http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg16338.html > > As you can see, there is already a bug created but no one has ever done > something about that :-\ Thank you

Re: [CMake] Best practices when using CMake 2.6 and Eclipse CDT 6.0

2009-10-13 Thread Romain CHANU
Hi, I come back to you after posting on the mailing list of the Eclipse CDT development: http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg16338.html As you can see, there is already a bug created but no one has ever done something about that :-\ 2009/10/12 Alexander Neundorf > On Sunday 11 O

Re: [CMake] Automated packaging

2009-10-13 Thread Clinton Stimpson
You could do something like this in your ctest script: EXECUTE_PROCESS(WORKING_DIRECTORY "${CTEST_BINARY_DIRECTORY}" COMMAND ${CTEST_CPACK_COMMAND} --config ${CTEST_BINARY_DIRECTORY}/CPackConfig.cmake RESULT_VARIABLE package_result)

[CMake] Automated packaging

2009-10-13 Thread Dixon, Shane
I have a build system that can build multiple packages. One has a built-in simulator and the other runs in "real" mode. I end up with 2 NSIS packages, one ending in -emul and one ending in -real. I want to automate this process so that I can do this: 1. Check out from SVN 2. Configure (f

[CMake] xcode gcc version

2009-10-13 Thread Clinton Stimpson
Hi, What's the right way to specify which gcc compiler to use with xcode/cmake ? It looks like if one specifies g++-4.0 in cmake-gui, xcode doesn't use that compiler. Clint ___ Powered by www.kitware.com Visit other Kitware open-source projects at ht

[CMake] automatic cmake run when specific files change

2009-10-13 Thread Hendrik Sattler
Hi, when changing a CMakeLists.txt file and calling make, then cmake automatically runs. I want to achieve the same thing but for specific files. The situation: DocBook/XML files are parsed at cmake times to get the names of the output files. If the docbook files change, the names of the output

Re: [CMake] Wrong flags in fortran project when use c library

2009-10-13 Thread Clinton Stimpson
Oh, do you have a Release/Debug link issue with this? Does the patch in this bug report help: http://public.kitware.com/Bug/view.php?id=8744 Clint On Tuesday 13 October 2009 03:56:13 pm Sebas wrote: > Thanks Kelly by your explication, I learn a lot. With incorporating > "PROPERTIES LINKER_LANGU

Re: [CMake] Wrong flags in fortran project when use c library

2009-10-13 Thread Sebas
Thanks Kelly by your explication, I learn a lot. With incorporating "PROPERTIES LINKER_LANGUAGE Fortran" work, without add other thing that "/NODEFAULTLIB:MSVCRTD.lib" (may be is it related with /MD and /MT?). For mayor understand, CLibrary in ProgramFortran Directory is for interface of fortran to

Re: [CMake] Targets organisation of complex project

2009-10-13 Thread Mateusz Loskot
Alexander Neundorf wrote: > On Tuesday 13 October 2009, Mateusz Loskot wrote: >> Mateusz Loskot wrote: >>> What would be best way to configure such complex source tree that >>> outputs single library? >> I'm trying to make my decision, so I would like to summary >> our brainstorm. >> >> AFAIU, link

Re: [CMake] Targets organisation of complex project

2009-10-13 Thread Alexander Neundorf
On Tuesday 13 October 2009, Mateusz Loskot wrote: > Mateusz Loskot wrote: > > What would be best way to configure such complex source tree that > > outputs single library? > > I'm trying to make my decision, so I would like to summary > our brainstorm. > > AFAIU, linking the static libraries to sin

Re: [CMake] Targets organisation of complex project

2009-10-13 Thread Mateusz Loskot
Mateusz Loskot wrote: > What would be best way to configure such complex source tree that > outputs single library? I'm trying to make my decision, so I would like to summary our brainstorm. AFAIU, linking the static libraries to single shared library is still not recommended. The recommended o

Re: [CMake] Reusing an already built object

2009-10-13 Thread Alexander Neundorf
On Tuesday 13 October 2009, Naram Qashat wrote: > Say I have a main executable and a number of shared libraries that rely on > that executable. Say I have a certain C++ source that is required to be > built by not only the main executable, but also every single shared library > (the source in ques

Re: [CMake] Reusing an already built object

2009-10-13 Thread Naram Qashat
Michael Wild wrote: On 13. Oct, 2009, at 0:13, Naram Qashat wrote: Say I have a main executable and a number of shared libraries that rely on that executable. Say I have a certain C++ source that is required to be built by not only the main executable, but also every single shared library (

[CMake] KWStyle Integration

2009-10-13 Thread Dixon, Shane
I've seen instructions for integrating KWStyle into Dart. Does anyone have a link to instructions for integration KWStyle with Cdash? -- Shane Dixon Linux Engineer Atmel Corporation ___ Powered by www.kitware.com Visit other Kitware open-source proje