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}"
OUTPUT_FILE "${documentation_dir}/doxygen_log.txt"
ERROR_FILE "${documentation_dir}/doxygen_log.txt"
)
However, this does not work. Doxygen is never run and the doxygen_log.txt
file has no contents. When I make OUTPUT_FILE and ERROR_FILE reference 2
different file names, it works fine. However, I want stderr and stdout to
both output to the same file in the proper order. It is important that I see
what "output" occurred before a specific "error", and I cannot do this if
they are in 2 different files.
How can I make this work?
_______________________________________________
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