Changeset 23 in pacpusframework for trunk/src/RoadTime


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

    r3 r23  
    3434# Build a library
    3535# ========================================
    36 add_library(
     36pacpus_add_library(
    3737  ${PROJECT_NAME} SHARED
    3838  ${PROJECT_SRCS}
     
    4040
    4141# ========================================
    42 # Properties
     42# Install
    4343# ========================================
    44 set_target_properties(
    45   ${PROJECT_NAME}
    46   PROPERTIES DEBUG_POSTFIX "_d"
    47 )
     44pacpus_install(${PROJECT_NAME})
    4845
    4946# ========================================
    50 # Install directories
     47# Folder
    5148# ========================================
    52 install(
    53   TARGETS ${PROJECT_NAME}
    54   RUNTIME DESTINATION ${PACPUS_INSTALL_DIR}/bin
    55   LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/lib
    56   ARCHIVE DESTINATION ${PACPUS_INSTALL_DIR}/lib
    57 )
     49pacpus_folder(${PROJECT_NAME} "libraries")
Note: See TracChangeset for help on using the changeset viewer.