Re: [CMake] Is there a DocBook file anymore

2011-10-18 Thread Michael Jackson
That is an idea. I'll take a look. 

Thanks
___
Mike JacksonPrincipal Software Engineer
BlueQuartz SoftwareDayton, Ohio
mike.jack...@bluequartz.net  www.bluequartz.net

On Oct 18, 2011, at 5:21 PM, Eric Noulard wrote:

> 2011/10/18 Michael Jackson :
>> Hello, I am the maintainer of the CMakeEd Eclipse plugin and I was finally 
>> going to update update the plugin to have the latest information for CMake 
>> 2.8.6. The process that I have used in the past to populate the "command 
>> completion" is to parse the DocBook file because it was reasonably well laid 
>> out and the XML nature of the file made it easy to pick out the parts that I 
>> needed. It would seem that with the latest version of CMake that file is 
>> gone. Is there another mechanism that I would have the same information?
>> 
>>  I know I can invoke CMake with the --help-command to get the documentation 
>> for each command but that is going to involve a whole lot of "screen 
>> scraping", even with the HTML formatted version.
>> 
>>  Does anyone have any suggestions? I can post that code that I have used in 
>> the past (it is C++ and requires Boost) if that would help.
> 
> May be you can try to avoid the parsing and try to link your C++ code
> directly with CMakeLib
> then call
> 
> cmake::GetXXXDocumentation (see in Sources/cmake.cxx)
> 
> may be you'll get exactly what you want withour parsing?
> -- 
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org

--

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


Re: [CMake] Is there a DocBook file anymore

2011-10-18 Thread Michael Jackson
THANKS!!! I had forgotten I had to actually generate it first. Man, I was 
having a heart attack trying to come up with a different way to parse all the 
information.

Thanks again.
___
Mike JacksonPrincipal Software Engineer
BlueQuartz SoftwareDayton, Ohio
mike.jack...@bluequartz.net  www.bluequartz.net

On Oct 18, 2011, at 5:18 PM, Alexander Neundorf wrote:

> cmake --help-full file.docbook

--

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


Re: [CMake] Is there a DocBook file anymore

2011-10-18 Thread Eric Noulard
2011/10/18 Michael Jackson :
> Hello, I am the maintainer of the CMakeEd Eclipse plugin and I was finally 
> going to update update the plugin to have the latest information for CMake 
> 2.8.6. The process that I have used in the past to populate the "command 
> completion" is to parse the DocBook file because it was reasonably well laid 
> out and the XML nature of the file made it easy to pick out the parts that I 
> needed. It would seem that with the latest version of CMake that file is 
> gone. Is there another mechanism that I would have the same information?
>
>  I know I can invoke CMake with the --help-command to get the documentation 
> for each command but that is going to involve a whole lot of "screen 
> scraping", even with the HTML formatted version.
>
>  Does anyone have any suggestions? I can post that code that I have used in 
> the past (it is C++ and requires Boost) if that would help.

May be you can try to avoid the parsing and try to link your C++ code
directly with CMakeLib
then call

cmake::GetXXXDocumentation (see in Sources/cmake.cxx)

may be you'll get exactly what you want withour parsing?
-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--

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


Re: [CMake] Is there a DocBook file anymore

2011-10-18 Thread Alexander Neundorf
On Tuesday 18 October 2011, Michael Jackson wrote:
> Hello, I am the maintainer of the CMakeEd Eclipse plugin and I was finally
> going to update update the plugin to have the latest information for CMake
> 2.8.6. The process that I have used in the past to populate the "command
> completion" is to parse the DocBook file because it was reasonably well
> laid out and the XML nature of the file made it easy to pick out the parts
> that I needed. It would seem that with the latest version of CMake that
> file is gone. Is there another mechanism that I would have the same
> information?

cmake --help-full file.docbook 
still generates a docbook file here, also with version 2.8.6.

Alex
--

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


[CMake] Is there a DocBook file anymore

2011-10-18 Thread Michael Jackson
Hello, I am the maintainer of the CMakeEd Eclipse plugin and I was finally 
going to update update the plugin to have the latest information for CMake 
2.8.6. The process that I have used in the past to populate the "command 
completion" is to parse the DocBook file because it was reasonably well laid 
out and the XML nature of the file made it easy to pick out the parts that I 
needed. It would seem that with the latest version of CMake that file is gone. 
Is there another mechanism that I would have the same information?

  I know I can invoke CMake with the --help-command to get the documentation 
for each command but that is going to involve a whole lot of "screen scraping", 
even with the HTML formatted version.

 Does anyone have any suggestions? I can post that code that I have used in the 
past (it is C++ and requires Boost) if that would help.

Thanks for any and all suggestions.
___
Mike JacksonPrincipal Software Engineer
BlueQuartz SoftwareDayton, Ohio
mike.jack...@bluequartz.net  www.bluequartz.net

--

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