Changeset 23 in pacpusframework for trunk/src/PacpusLib


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/PacpusLib/CMakeLists.txt

    r3 r23  
    6161# Build a library
    6262# ========================================
    63 add_library(
     63pacpus_add_library(
    6464  ${PROJECT_NAME} SHARED
    6565  ${PROJECT_SRCS}
     
    7676
    7777# ========================================
    78 # Properties
     78# Install
    7979# ========================================
    80 set_target_properties(
    81   ${PROJECT_NAME}
    82   PROPERTIES DEBUG_POSTFIX "_d"
    83 )
     80pacpus_install(${PROJECT_NAME})
    8481
    8582# ========================================
    86 # Install directories
     83# Folder
    8784# ========================================
    88 install(
    89   TARGETS ${PROJECT_NAME}
    90   RUNTIME DESTINATION ${PACPUS_INSTALL_DIR}/bin
    91   LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/lib
    92   ARCHIVE DESTINATION ${PACPUS_INSTALL_DIR}/lib
    93 )
     85pacpus_folder(${PROJECT_NAME} "libraries")
Note: See TracChangeset for help on using the changeset viewer.