Thanks. It works fine with cmake, but not with ctest. Here is the output I've got with version 2.8.7:
ctest --help-property-list ctest version 2.8.7 Internal error: Properties of Global Scope list is empty. Internal error: Properties on Directories list is empty. Internal error: Properties on Targets list is empty. Internal error: Properties on Tests list is empty. Internal error: Properties on Source Files list is empty. Internal error: Properties on Cache Entries list is empty. And it would be nice to have the result of cmake --help-property-list sorted by section. Here, I've got a huge list of property and I am not able to see which one is used in tests and which one is used on files. YC ----- Mail original ----- De: "Leif Walsh" <[email protected]> À: "ycollette nospam" <[email protected]> Cc: [email protected] Envoyé: Jeudi 31 Janvier 2013 13:03:14 Objet: Re: [CMake] ctest and properties --help-property and --help-property-list exist. I don't know why this is on the web and not there. Sent from my iPhone On Jan 31, 2013, at 2:27, [email protected] wrote: > What about a new -help command: --help-properties ? > Do I fill a bug report for that ? > > YC > > ----- Mail original ----- > De: "David Cole" <[email protected]> > À: "ycollette nospam" <[email protected]> > Cc: [email protected] > Envoyé: Mercredi 30 Janvier 2013 16:53:32 > Objet: Re: [CMake] ctest and properties > > T he 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 cte st command line help could use some love... > > > > > > -----Original Message----- > From: ycollette.nospam <[email protected]> > Cc: cmake <[email protected]> > Sent: Wed, Jan 30, 2013 10:47 am > Subject: Re: [CMake] ctest and properties > > > 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 you use it from > cmake > or from test, on some kind of object like TEST in my case). > > YC > > ----- Mail original ----- > De: "Bill Hoffman" < [email protected] > > À: [email protected] Envoyé: Mercredi 30 Janvier 2013 16:42:48 > Objet: Re: [CMake] ctest and properties > > On 1/30/2013 10:14 AM, [email protected] 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 the command is detailed, >> but > no properties are displayed. >> >> Is there a way to get help on properties via command line ? >> >> Best regards, >> >> YC > cmake --help-command set_property. It is a cmake command in the context > you are using it. > > -- > Bill Hoffman > Kitware, Inc. > 28 Corporate Drive > Clifton Park, NY 12065 [email protected] http://www.kitware.com 518 > 881-4905 (Direct) > 518 371-3971 x105 > Fax (518) 371-4573 > -- > > 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: http://www.cmake.org/Wiki/CMake_FAQ > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake -- > > 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: http://www.cmake.org/Wiki/CMake_FAQ > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- > > 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: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake -- 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: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
