Changeset 155 in pacpusframework for branches


Ignore:
Timestamp:
Aug 1, 2013, 1:12:58 PM (11 years ago)
Author:
Marek Kurdej
Message:

Update: PacpusLib using create_export.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/src/PacpusLib/CMakeLists.txt

    r140 r155  
    88#################################################
    99project(PacpusLib)
     10
     11create_export(EXPORT_HDR ${PROJECT_NAME} "${PACPUS_INCLUDE_DIR}/Pacpus/kernel")
    1012
    1113# ========================================
     
    2426# ========================================
    2527add_definitions(
    26     -DPACPUSLIB_EXPORTS
    2728    -DQT_NO_KEYWORDS
    2829    ${QT_DEFINITIONS}
     
    4748# List of sources
    4849# ========================================
    49 set(PROJECT_SRCS
     50set(PROJECT_HDRS
     51    ${EXPORT_HDR}
    5052    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/cstdint.h
    5153    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentBase.h
     
    6567    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/PacpusEvent.h
    6668 #   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpusStruct.h
     69)
    6770
     71set(PROJECT_SRCS
    6872    ./ComponentBase.cpp
    6973    ./ComponentFactoryBase.cpp
     
    9094# Build a library
    9195# ========================================
    92 pacpus_add_library(
    93     ${PROJECT_NAME} SHARED
     96pacpus_add_library(${PROJECT_NAME} SHARED
     97    ${PROJECT_HDRS}
    9498    ${PROJECT_SRCS}
    9599    ${PROJECT_MOC_SRCS}
Note: See TracChangeset for help on using the changeset viewer.