Author: astitcher
Date: Mon Oct 22 06:57:03 2012
New Revision: 1400782

URL: http://svn.apache.org/viewvc?rev=1400782&view=rev
Log:
QPID-3633: Make cmake the primary build tool for the cpp tree
Always build doxygen docs if we have doxygen, this ensures it's
available at install time.
- This is not ideal as it builds even if unecessary and can take
  some time. However cmake presently has no way make this an
  install dependency. If not required set the cmake GEN_DOXYGEN
  variable to false to turn tese docs off.

Modified:
    qpid/trunk/qpid/cpp/docs/api/CMakeLists.txt

Modified: qpid/trunk/qpid/cpp/docs/api/CMakeLists.txt
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/docs/api/CMakeLists.txt?rev=1400782&r1=1400781&r2=1400782&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/docs/api/CMakeLists.txt (original)
+++ qpid/trunk/qpid/cpp/docs/api/CMakeLists.txt Mon Oct 22 06:57:03 2012
@@ -28,8 +28,8 @@ if (GEN_DOXYGEN)
                     ${CMAKE_CURRENT_BINARY_DIR}/user.doxygen)
     configure_file (${CMAKE_CURRENT_SOURCE_DIR}/developer.doxygen.in
                     ${CMAKE_CURRENT_BINARY_DIR}/developer.doxygen)
-    add_custom_target (docs-user-api COMMAND ${DOXYGEN_EXECUTABLE} 
user.doxygen)
-    add_custom_target (docs-developer COMMAND ${DOXYGEN_EXECUTABLE} 
developer.doxygen)
+    add_custom_target (docs-user-api ALL COMMAND ${DOXYGEN_EXECUTABLE} 
user.doxygen)
+    add_custom_target (docs-developer ALL COMMAND ${DOXYGEN_EXECUTABLE} 
developer.doxygen)
 
     # HTML files are generated to ./html - put those in the install.
     install (DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to