Changeset 23 in pacpusframework for trunk/src/DBITEPlayerLib


Ignore:
Timestamp:
Jan 8, 2013, 2:17:41 PM (12 years ago)
Author:
Marek Kurdej
Message:

Major: using pacpus_add_executable and pacpus_add_library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DBITEPlayerLib/CMakeLists.txt

    r7 r23  
    8181# Build a library
    8282# ========================================
    83 add_library(
     83pacpus_add_library(
    8484  ${PROJECT_NAME} SHARED
    8585  ${PROJECT_SRCS}
     
    107107
    108108# ========================================
    109 # Properties
     109# Install
    110110# ========================================
    111 set_target_properties(
    112   ${PROJECT_NAME}
    113   PROPERTIES DEBUG_POSTFIX "_d"
    114 )
     111pacpus_install(${PROJECT_NAME})
    115112
    116113# ========================================
    117 # Install directories
     114# Folder
    118115# ========================================
    119 install(
    120   TARGETS ${PROJECT_NAME}
    121   RUNTIME DESTINATION ${PACPUS_INSTALL_DIR}/bin
    122   LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/lib
    123   ARCHIVE DESTINATION ${PACPUS_INSTALL_DIR}/lib
    124 )
     116pacpus_folder(${PROJECT_NAME} "libraries")
Note: See TracChangeset for help on using the changeset viewer.