Changeset 53473f7 in nscp for docs/CMakeLists.txt


Ignore:
Timestamp:
05/04/12 18:47:31 (13 months ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.1, 0.4.2
Children:
9bd40e2
Parents:
fa11893
git-author:
Michael Medin <michael@…> (04/28/12 21:59:51)
git-committer:
Michael Medin <michael@…> (05/04/12 18:47:31)
Message:
  • Changed how files are generated to reduce number of projcts
File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/CMakeLists.txt

    r7ec3dd1 r53473f7  
    11cmake_minimum_required(VERSION 2.6) 
    22 
    3 copy_single_file(docs "Nagios Usage Guide.pdf" docs) 
    4 copy_single_file(docs "NSClient++ Reference Manual.pdf" docs) 
     3SET(ALL_FILES) 
     4copy_single_file("Nagios Usage Guide.pdf" docs) 
     5copy_single_file("NSClient++ Reference Manual.pdf" docs) 
     6 
     7ADD_CUSTOM_TARGET(copy_docs ALL DEPENDS ${ALL_FILES}) 
     8SET_TARGET_PROPERTIES(copy_docs PROPERTIES FOLDER "files") 
     9#INSTALL(CODE "FILE(INSTALL DESTINATION \${CMAKE_INSTALL_PREFIX}/${destDir} TYPE EXECUTABLE FILES \"${source_file}\")") 
Note: See TracChangeset for help on using the changeset viewer.