Changeset 23 in pacpusframework for trunk/src/PacpusSensor


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

    r7 r23  
    5858# Build an executable
    5959# ========================================
    60 add_executable(
     60pacpus_add_executable(
    6161  ${PROJECT_NAME}
    6262  ./src/main.cpp
     
    8989
    9090# ========================================
    91 # Properties
     91# Install
    9292# ========================================
    93 set_target_properties(
    94   ${PROJECT_NAME}
    95   PROPERTIES DEBUG_POSTFIX "_d"
    96 )
     93pacpus_install(${PROJECT_NAME})
    9794
    9895# ========================================
    99 # Install directories
     96# Folder
    10097# ========================================
    101 install(
    102   TARGETS ${PROJECT_NAME}
    103   RUNTIME DESTINATION ${PACPUS_INSTALL_DIR}/bin
    104   LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/lib
    105   ARCHIVE DESTINATION ${PACPUS_INSTALL_DIR}/lib
    106 )
     98pacpus_folder(${PROJECT_NAME} "tools")
Note: See TracChangeset for help on using the changeset viewer.