Commit 98086b1f authored by Jan Möbius's avatar Jan Möbius

Add doc target even if doxygen is not found

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9380 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1de515ff
......@@ -21,6 +21,13 @@
FIND_PACKAGE(Doxygen)
# Add doc target only once!
GET_TARGET_PROPERTY(target_location doc EchoString)
if ( NOT target_location STREQUAL "Building Documentation" )
ADD_CUSTOM_TARGET( doc )
SET_TARGET_PROPERTIES( doc PROPERTIES EchoString "Building Documentation" )
endif()
IF (DOXYGEN_FOUND)
# click+jump in Emacs and Visual Studio (for doxy.config) (jw)
......@@ -41,14 +48,6 @@ IF (DOXYGEN_FOUND)
IF (NOT DVIPS_CONVERTER)
MESSAGE(STATUS "dvips command DVIPS_CONVERTER not found but usually required.")
ENDIF (NOT DVIPS_CONVERTER)
# Add doc target only once!
GET_TARGET_PROPERTY(target_location doc EchoString)
if ( NOT target_location STREQUAL "Building Documentation" )
ADD_CUSTOM_TARGET( doc )
SET_TARGET_PROPERTIES( doc PROPERTIES EchoString "Building Documentation" )
endif()
macro (acg_create_doc_target target)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment