Changeset 107 for trunk/CMakeLists.txt


Ignore:
Timestamp:
06/15/09 10:39:03 (14 years ago)
Author:
smurzch2
Message:

Add install targets to the cmake build system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r105 r107  
    105105set_source_files_properties (${all_srcs} PROPERTIES COMPILE_FLAGS "-O3 -Winline -Werror -finline-functions -fomit-frame-pointer")
    106106
     107#----------------------- installation -----------------------------
     108
     109file (GLOB config_files "${CMAKE_CURRENT_SOURCE_DIR}/Distribution/oscam.*")
     110file (GLOB doc_files "${CMAKE_CURRENT_SOURCE_DIR}/Distribution/doc/*.txt")
     111
     112install (PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${exe_name} DESTINATION bin COMPONENT bin)
     113install (FILES ${config_files} DESTINATION etc COMPONENT config)
     114install (FILES ${doc_files} DESTINATION share/doc/oscam COMPONENT doc)
     115
    107116#----------------------- printout resume -----------------------------
    108117
Note: See TracChangeset for help on using the changeset viewer.