Ah, I understand what you're saying now. It all makes sense now! Wow, what a
cool feature! I love CMake :)
Thanks for your help Michael.
On Thu, Mar 26, 2009 at 2:45 PM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:
> Sorry, didn't quite communicate what I was doing:
>
> If you remember f
Sorry, didn't quite communicate what I was doing:
If you remember from a previous post I have the following:
option(MXA_BUILD_API_DOCS "Use Doxygen to create the HTML based API
documentation" OFF)
if(MXA_BUILD_API_DOCS)
FIND_PACKAGE(Doxygen)
if (NOT DOXYGEN_FOUND)
message(FATAL_ERROR
I'm not at all familiar with this feature of Doxygen. Could you provide an
example of a doxygen command-line evocation that utilizes this feature? For
example, if I wanted to set the project name programmatically (i.e. via
command line), how would I do this through your method?
On Thu, Mar 26, 200
What I ended up doing was creating a "template" .dox file that I then
use CMake to "Configure" with configure_file which then fills in the
appropriate values for the project (like the project name, where to
build the docs.. ). Seems to work for me and my projects.
Here is a link to my templ
I like the idea of making it a post build event, however I'm doing certain
things that you are not that will be more difficult to support outside of
CMake.
For example, I set certain environment variables that are accessed by the
Doxyfile (This is legal in Doxygen). I'm currently doing this above m
option(MXA_BUILD_API_DOCS "Use Doxygen to create the HTML based API
documentation" OFF)
if(MXA_BUILD_API_DOCS)
FIND_PACKAGE(Doxygen)
if (NOT DOXYGEN_FOUND)
message(FATAL_ERROR "Doxygen is needed to build the
documentation.")
endif()
configure_file(${MXA_RESOURCES_DIR}/MXADataModel
Hi,
I've currently been running doxygen through execute_process() in CMAKE. I've
set it up like this:
find_package( Doxygen REQUIRED )
execute_process(
COMMAND "${DOXYGEN_EXECUTABLE}" "${cmake_includes}/project.dox"
WORKING_DIRECTORY "${documentation_dir}"
Sylvain Benner a écrit :
...
It works but it's not really what I want since it doesn't display the
output in real time.
The process can be pretty long and the intermediate info are pretty
important.
...
On unix you can insert the 'tee' command
in the list of commands where you want
to keep th
Thank you for the response Filipe.
It works but it's not really what I want since it doesn't display the output
in real time.
The process can be pretty long and the intermediate info are pretty
important.
Well if it's not possible to do it I will only log the errors.
Sylvain
_
On Friday 16 June 2006 10:49, Sylvain Benner wrote:
> Hi,
>
> When I specify an output variable in the EXECUTE_PROCESS arguments, there
> is no output in the console. Is there a way to have both the ouput written
> in a variable and displayed on the screen?
EXECUTE_PROCESS( OUTPUT_VARIABLE out
Hi,
When I specify an output variable in the
EXECUTE_PROCESS arguments, there is no output in the
console.
Is there a way to have both the ouput written
in a variable and displayed on the screen?
Thank you.
Sylvain
___
CMake mailing list
CMake@
11 matches
Mail list logo