Re: [CMake] [CMAKE] Getting compilation date through CMake

2013-12-08 Thread Jon Haitz Legarreta
Dear Fraser and Matthew, yes, both approaches work. Thank you. There seems to be a trailing endline in the response given by $ENV{COMSPEC} /c date /t, so the following regex helps deleting it: STRING(REGEX REPLACE "(\r?\n)+$" "" _date "${_date}") Thanks again, JON HAITZ On 5 December 2013 22:

Re: [CMake] Cmake + Eclipse with a team

2013-12-08 Thread Michael Jackson
On Dec 8, 2013, at 4:05 PM, David Erickson wrote: > On 12/8/2013 12:05 PM, Michael Jackson wrote: >> On Dec 8, 2013, at 3:18 AM, David Erickson >> wrote: >> >>> On 12/5/2013 5:40 AM, Michael Jackson wrote: I used to use Eclipse for coding with CMake and the what worked the best fo

Re: [CMake] Cmake errors

2013-12-08 Thread outro pessoa
On Sat, Dec 7, 2013 at 6:01 AM, Rolf Eike Beer wrote: > Am Freitag, 6. Dezember 2013, 19:36:34 schrieb outro pessoa: > > 1. There is no longer a traverso mailing list that is active. > > 2. The original developers are impossible to get a hold of recently. > > 3. I do not have the original input p

Re: [CMake] Cmake + Eclipse with a team

2013-12-08 Thread David Erickson
On 12/8/2013 12:05 PM, Michael Jackson wrote: On Dec 8, 2013, at 3:18 AM, David Erickson wrote: On 12/5/2013 5:40 AM, Michael Jackson wrote: I used to use Eclipse for coding with CMake and the what worked the best for me was the following (This assumes you are on Unix/Linux/OSX). Start in

Re: [CMake] Make CMAKE_EXPORT_COMPILE_COMMANDS not default?

2013-12-08 Thread Alexander Neundorf
On Sunday 08 December 2013, Stephen Kelly wrote: > Alexander Neundorf wrote: > > It sounds to me a bit more like it should be an additional "extra" > > generator, i.e. generate makefiles/ninja files and additionally this json > > file. > > Hmm, the first thing I thought when I saw your kate projec

Re: [CMake] Cmake + Eclipse with a team

2013-12-08 Thread Michael Jackson
On Dec 8, 2013, at 3:18 AM, David Erickson wrote: > On 12/5/2013 5:40 AM, Michael Jackson wrote: >> I used to use Eclipse for coding with CMake and the what worked the best for >> me was the following (This assumes you are on Unix/Linux/OSX). >> >> Start in "Project A". Create a directory "Bu

Re: [CMake] Make CMAKE_EXPORT_COMPILE_COMMANDS not default?

2013-12-08 Thread Stephen Kelly
Alexander Neundorf wrote: > It sounds to me a bit more like it should be an additional "extra" > generator, i.e. generate makefiles/ninja files and additionally this json > file. Hmm, the first thing I thought when I saw your kate project feature was that it should be implemented more like CMAKE

[CMake] Windows XP + CMake + VS2013

2013-12-08 Thread Stefan Fendt
Hi, I'm using CMake 2.8.12 together with MSVC 2013 and need to produce a binary which is (still) compatible with Windows XP SP3. If I'm right, then I need to change the compiler toolchain to 120_xp to make this work (I get the message that the binary isn't a valid WIN32-application on the XP m

Re: [CMake] Feature request - Build Button

2013-12-08 Thread Alexander Neundorf
On Thursday 05 December 2013, Macumber, Daniel wrote: > I'm sure this has come up before but I'm curious if CMake-GUI would ever > consider adding a "Build" button? This seems like a logical step after > "Configure" and "Generate", if it was available on the command line it > could also help autom

Re: [CMake] Cmake + Eclipse with a team

2013-12-08 Thread Alexander Neundorf
On Thursday 05 December 2013, David Erickson wrote: > Hi Eric- > Thanks for the response! See inline- > > On 12/4/2013 11:17 PM, Eric Noulard wrote: > > 2013/12/5 David Erickson : > >> Hi All- > >> We would like to use cmake for our build infrastructure, and Eclipse for > >> code editing/debugging

Re: [CMake] Make CMAKE_EXPORT_COMPILE_COMMANDS not default?

2013-12-08 Thread Alexander Neundorf
On Monday 02 December 2013, Martin Zenzes wrote: > Hi, > > is there a reason why the cmake-option "CMAKE_EXPORT_COMPILE_COMMANDS" > is not enabled by default? It was exposed as an option in 2011 [1], a > few days after adding it initially. It can be enabled manually by adding > "set(CMAKE_EXPORT_C

Re: [CMake] Cmake + Eclipse with a team

2013-12-08 Thread David Erickson
On 12/8/2013 12:18 AM, David Erickson wrote: On 12/5/2013 5:40 AM, Michael Jackson wrote: I used to use Eclipse for coding with CMake and the what worked the best for me was the following (This assumes you are on Unix/Linux/OSX). Start in "Project A". Create a directory "Build". Have CMake gen

Re: [CMake] Cmake + Eclipse with a team

2013-12-08 Thread David Erickson
On 12/5/2013 5:40 AM, Michael Jackson wrote: I used to use Eclipse for coding with CMake and the what worked the best for me was the following (This assumes you are on Unix/Linux/OSX). Start in "Project A". Create a directory "Build". Have CMake generate "Makefiles" using "Build" as the build