Changeset 23 in pacpusframework for trunk/src/DBITEPlayer


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

    r3 r23  
    6161# Build an executable
    6262# ========================================
    63 add_executable(
     63pacpus_add_executable(
    6464  ${PROJECT_NAME}
    6565  ./src/main.cpp
     
    6767
    6868# ========================================
    69 # Libraries
     69# Libraries & Dependencies
    7070# ========================================
    7171# All the platform
     
    8888
    8989# ========================================
    90 # Properties
     90# Install
    9191# ========================================
    92 set_target_properties(
    93   ${PROJECT_NAME}
    94   PROPERTIES DEBUG_POSTFIX "_d"
    95 )
     92pacpus_install(${PROJECT_NAME})
    9693
    9794# ========================================
    98 # Install directories
     95# Folder
    9996# ========================================
    100 install(
    101   TARGETS ${PROJECT_NAME}
    102   RUNTIME DESTINATION ${PACPUS_INSTALL_DIR}/bin
    103   LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/lib
    104   ARCHIVE DESTINATION ${PACPUS_INSTALL_DIR}/lib
    105 )
     97pacpus_folder(${PROJECT_NAME} "tools")
Note: See TracChangeset for help on using the changeset viewer.