CMakeLists.txt 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ################################################################################
  2. # HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. ################################################################################
  16. GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
  17. SET(XSLTPROC_DEPENDENCIES)
  18. FOREACH(T ${Current_Targets})
  19. IF("${T}" MATCHES "xsd_to_xml" )
  20. LIST(APPEND XSLTPROC_DEPENDENCIES ${T})
  21. ENDIF()
  22. ENDFOREACH()
  23. ########################################################################
  24. # commented out per issue # HPCC-10267
  25. #
  26. #
  27. DOCBOOK_TO_PDF( ${FO_XSL} UsingConfigManager.xml "UsingConfigManager")
  28. #
  29. #
  30. ########################################################################
  31. IF(MAKE_DOCS)
  32. SET(HELP_DEPENDENCIES)
  33. GET_PROPERTY(Current_Targets GLOBAL PROPERTY DOC_TARGETS)
  34. FOREACH(T ${Current_Targets})
  35. IF("${T}" MATCHES ".*UsingConfigManager.*")
  36. LIST(APPEND HELP_DEPENDENCIES ${T})
  37. ENDIF()
  38. ENDFOREACH()
  39. DOCBOOK_TO_HTML(${ECLIPSE_HTML_XSL} "${CMAKE_CURRENT_BINARY_DIR}/UsingConfigManager.xml" ${PORTAL_HTML_DIR}/UsingConfigManager "using_configmgr_html" "${HPCC_SOURCE_DIR}/docs/common/eclipsehelp.css" "")
  40. ENDIF(MAKE_DOCS)