On 11/16/2011 06:36 PM, Jookia wrote:
I've actually used that workaround, but it seems dirty as it shows up in
IDE targets like Visual Studio or other IDEs or makefiles. In fact, I
kind of like the 'generating /docs' part of the makefile.
Would it just be smarter to rename the target
I've actually used that workaround, but it seems dirty as it shows up in
IDE targets like Visual Studio or other IDEs or makefiles. In fact, I
kind of like the 'generating /docs' part of the makefile.
Would it just be smarter to rename the target to 'documentation'?
--
Powered by
On 11/14/2011 09:31 PM, Jookia wrote:
I have the following code:
# -- DOXYGEN
find_package(Doxygen)
set(docsDir ${CMAKE_BINARY_DIR}/docs/)
add_custom_command(OUTPUT ${docsDir}
COMMAND ${CMAKE_COMMAND} -E make_directory
${docsDir} VERBATIM)
add_custom_target(docs