~aacid/unity/launcher_selection_changed_fix_1067358

« back to all changes in this revision

Viewing changes to guides/CMakeLists.txt

  • Committer: Tim Penhey
  • Date: 2011-07-19 00:32:10 UTC
  • mto: This revision was merged to the branch mainline in revision 1311.
  • Revision ID: tim.penhey@canonical.com-20110719003210-kxux222k7l9e0ty2
Add the style guide into the tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
PROJECT(guides)
 
2
 
 
3
ADD_CUSTOM_COMMAND(
 
4
    OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/cppguide.html
 
5
    COMMAND xsltproc -o ${CMAKE_CURRENT_SOURCE_DIR}/cppguide.html ${CMAKE_CURRENT_SOURCE_DIR}/styleguide.xsl ${CMAKE_CURRENT_SOURCE_DIR}/cppguide.xml
 
6
    DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/styleguide.xsl ${CMAKE_CURRENT_SOURCE_DIR}/cppguide.xml
 
7
    )
 
8
 
 
9
ADD_CUSTOM_TARGET(guides ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/cppguide.html)