Changeset 26 in pacpusframework for trunk/cmake/PacpusInstall.cmake


Ignore:
Timestamp:
Jan 8, 2013, 5:00:30 PM (12 years ago)
Author:
sgosseli
Message:

Add the generation of the documentation in the build system.
To build the documentation on Windows:

cmake .. -DPACPUS_INSTALL_DIR=C:\Foo -DPACPUS_BUILD_DOC=TRUE
msbuild doc\documentation.vcxproj
msbuild INSTALL.vcxproj /p:Configuration=Release

Note: doxygen is required, of course.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusInstall.cmake

    r7 r26  
    3939  )
    4040endif()
     41
     42# ========================================
     43# Installation of the documentation
     44# ========================================
     45if (PACPUS_BUILD_DOC)
     46  install(
     47    DIRECTORY
     48      ${CMAKE_BINARY_DIR}/doc/html
     49    DESTINATION
     50      ${PACPUS_INSTALL_DIR}/doc
     51  )
     52endif()
Note: See TracChangeset for help on using the changeset viewer.