Re: [CMake] ctest and properties

2013-01-30 Thread ycollette . nospam
What about a new -help command: --help-properties ? Do I fill a bug report for that ? YC - Mail original - De: "David Cole" À: "ycollette nospam" Cc: cmake@cmake.org Envoyé: Mercredi 30 Janvier 2013 16:53:32 Objet: Re: [CMake] ctest and properties T he best test properties reference is

[CMake] CTEST_CUSTOM_TESTS_IGNORE regex?

2013-01-30 Thread Leif Walsh
In CTestCustom.cmake, I use CTEST_CUSTOM_MEMCHECK_IGNORE and CTEST_CUSTOM_TESTS_IGNORE to turn some long-running tests on and off (on for nightlies, off for development test cycles). I recently broke apart a rather large shell script that was used to run a test under many scenarios into something

Re: [CMake] So Long

2013-01-30 Thread Andreas Mohr
Hi, On Wed, Jan 30, 2013 at 07:56:23PM -0500, cmake-requ...@cmake.org wrote: > From: David Cole > > Howdy folks, > > Thought I'd ping the CMake mailing lists one last time before I have to > give up "david.c...@kitware.com"... ;-) > > For those of you that haven't heard yet, I've just embarked

Re: [CMake] Visual Studio 2010 project not loading with 2.8.10

2013-01-30 Thread Andreas Mohr
Hi, On Wed, Jan 30, 2013 at 07:56:23PM -0500, cmake-requ...@cmake.org wrote: > From: Bryn Aspestrand > Subject: [CMake] Visual Studio 2010 project not loading with 2.8.10 > > Hey there. I recently switched from CMAKE 2.8.7 to 2.8.10 and found that my > new fresh generated vcxproj file does not

Re: [CMake] Visual Studio 2010 project not loading with 2.8.10

2013-01-30 Thread Bill Hoffman
On 1/30/2013 7:56 PM, Bryn Aspestrand wrote: There's only one target and it's the one that fails Can you start taking things out and see what breaks it? 1. remove perforce stuff 2. remove source groups 3. qt stuff 4. remove all the files but one, add them back one at a time. -Bill -- Powered

Re: [CMake] Visual Studio 2010 project not loading with 2.8.10

2013-01-30 Thread Bryn Aspestrand
There's only one target and it's the one that fails -Original Message- From: Bill Hoffman [mailto:bill.hoff...@kitware.com] Sent: Wednesday, January 30, 2013 4:55 PM To: Bryn Aspestrand; cmake Subject: Re: [CMake] Visual Studio 2010 project not loading with 2.8.10 Putting this back on th

Re: [CMake] Visual Studio 2010 project not loading with 2.8.10

2013-01-30 Thread Bill Hoffman
Putting this back on the cmake mailing list. On 1/30/2013 7:48 PM, Bryn Aspestrand wrote: Yes it does. I'd wager it has something to do with what I'm doing in my CMakeLists.txt. Nothing strange. Just lots of SOURCE_GROUP's, perforce integration and some Qt moc and uic calls from macros. The pro

Re: [CMake] Visual Studio 2010 project not loading with 2.8.10

2013-01-30 Thread Bill Hoffman
On 1/30/2013 6:03 PM, Bryn Aspestrand wrote: Hey there. I recently switched from CMAKE 2.8.7 to 2.8.10 and found that my new fresh generated vcxproj file does not load in VS 2010 where the old one generated by 2.8.7 loads correctly. I just gives a generic error that one or more projects could not

[CMake] Configuration defining add_custom_command behavior

2013-01-30 Thread Bryn Aspestrand
Hey there I was hoping I'd find the answer online but there seems to be no way to do what I want with the version of CMAKE I'm stuck with. I'm currently using CMAKE 2.8.7 to generate a VS2010 solution and project. I'd like to add a PRE_BUILD step that runs one set of commands for a debug build

[CMake] Visual Studio 2010 project not loading with 2.8.10

2013-01-30 Thread Bryn Aspestrand
Hey there. I recently switched from CMAKE 2.8.7 to 2.8.10 and found that my new fresh generated vcxproj file does not load in VS 2010 where the old one generated by 2.8.7 loads correctly. I just gives a generic error that one or more projects could not be loaded. I want to move to 2.8.10 because

Re: [CMake] So Long

2013-01-30 Thread Eric Wing
On 1/30/13, David Cole wrote: > Howdy folks, > > Thought I'd ping the CMake mailing lists one last time before I have to > give up "david.c...@kitware.com"... ;-) > > For those of you that haven't heard yet, I've just embarked on a new > adventure with a little startup company called Neocis Inc. >

[CMake] So Long

2013-01-30 Thread David Cole
Howdy folks, Thought I'd ping the CMake mailing lists one last time before I have to give up "david.c...@kitware.com"... ;-) For those of you that haven't heard yet, I've just embarked on a new adventure with a little startup company called Neocis Inc. I'll still be a big huge fan (and user) of

[CMake] add_jar()

2013-01-30 Thread Pastrana, Rodrigo (RIS-BCT)
Bumping my newbie question... I need to add a jar to the output of add_jar(). Anybody know how to do this? Thanks, Rodrigo. From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Pastrana, Rodrigo (RIS-BCT) Sent: Tuesday, January 29, 2013 12:25 PM To: 'cmake@cmake.org' Subje

Re: [CMake] ctest and properties

2013-01-30 Thread David Cole
The best test properties reference is available online at: http://cmake.org/cmake/help/v2.8.10/cmake.html#section_PropertiesonTests You can't get that same information from the ctest command line as of 2.8.10. The ctest command line help could use some love... -Original Message-

Re: [CMake] ctest and properties

2013-01-30 Thread ycollette . nospam
Yes, this link is really valuable. I add it in my book mark. I didn't find it when I went on the website (maybe a mistake from my side ...). Thanks a lot. YC - Mail original - De: "David Cole" À: "ycollette nospam" Cc: cmake@cmake.org Envoyé: Mercredi 30 Janvier 2013 16:53:32 Objet: Re

Re: [CMake] ctest and properties

2013-01-30 Thread ycollette . nospam
Thanks for the answer. In fact, the information I am looking for is located in cmake-2.8.10/2/Source/cmTest.cxx in the method void cmTest::DefineProperties(cmake *cm) line 98. I really don't know how to get this help from command line. I know that this information is context dependent (whether yo

Re: [CMake] ctest and properties

2013-01-30 Thread Bill Hoffman
On 1/30/2013 10:14 AM, ycollette.nos...@free.fr wrote: Hello, I am currently working with ctest. I am trying to get, via the command line help, all the properties available for TEST. For example: set_properties(TEST test_1 PROPERTY ??? test_2) If I do a ctest --help-command set_property, only

[CMake] ctest and properties

2013-01-30 Thread ycollette . nospam
Hello, I am currently working with ctest. I am trying to get, via the command line help, all the properties available for TEST. For example: set_properties(TEST test_1 PROPERTY ??? test_2) If I do a ctest --help-command set_property, only the command is detailed, but no properties are displayed

Re: [CMake] CPack different libraries in DEB compared to RPM

2013-01-30 Thread Andreas Mohr
Hi, On Wed, Jan 30, 2013 at 08:45:31AM -0500, cmake-requ...@cmake.org wrote: > Date: Tue, 29 Jan 2013 19:06:27 +0100 > From: Eric Noulard > Subject: Re: [CMake] CPack different libraries in DEB compared to RPM > 2013/1/29 upprc04 : > > I'm running across an issue where I have some utility libra

Re: [CMake] CMAKE__COMPILER_ID not set on Darwin

2013-01-30 Thread David Cole
CMAKE_CXX_COMPILER_ID should be set with CMake 2.8.10.2 and later... What version of CMake are you using? -- 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: h

Re: [CMake] CMAKE__COMPILER_ID not set on Darwin

2013-01-30 Thread Nick Overdijk
We use this if(CMAKE_C_COMPILER MATCHES "clang" OR CMAKE_CXX_COMPILER MATCHES "clang") set(COMPILING_WITH_CLANG True) elseif(CMAKE_C_COMPILER MATCHES ".*gcc.*" OR CMAKE_CXX_COMPILER MATCHES ".*g[+][+].*") set(COMPILING_WITH_GCC True) endif() In our project On 2013-30-01, at 14:4

[CMake] CMAKE__COMPILER_ID not set on Darwin

2013-01-30 Thread Thomas Nilsson
I was looking for a way to identify the compiler as clang to know if I should pass it a clang specific flag ("-x c++"). On Darwin default compiler is Clang used through /usr/bin/cc and and /usr/bin/c++. The identification is clearly signaled as "Clang 4.1.0" but CMAKE_CXX_COMPILER_ID is not set