Changeset 190 in pacpusframework for trunk


Ignore:
Timestamp:
Oct 24, 2013, 3:01:19 PM (11 years ago)
Author:
Marek Kurdej
Message:

Minor update: _NewComponent: CMakeLists.txt.in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/_NewComponent/CMakeLists.txt.in

    r147 r190  
    11project(@PACPUS_COMPONENT_NAME@)
     2
     3set(${PROJECT_NAME}_VERSION_MAJOR 0)
     4set(${PROJECT_NAME}_VERSION_MINOR 1)
    25
    36################################################################################
    47create_export(EXPORT_HDR ${PROJECT_NAME})
     8pacpus_plugin(PLUGIN_CPP PLUGIN_HDR ${PROJECT_NAME})
    59
    610################################################################################
     
    2731    ${PACPUS_LIB_DIR}
    2832)
    29 pacpus_plugin(PLUGIN_CPP PLUGIN_H ${PROJECT_NAME})
    3033
    3134################################################################################
     
    3740
    3841set(SRCS
     42    ${PLUGIN_CPP}
    3943    @PACPUS_COMPONENT_NAME@.cpp
    40     ${PLUGIN_CPP}
    4144)
    4245
    4346set(MOC_FILES
     47    ${PLUGIN_HDR}
    4448    #@PACPUS_COMPONENT_NAME@.h
    45     ${PLUGIN_H}
    4649)
    4750
     
    6770)
    6871
    69 ################################################################################
    7072# LIBS
    71 message(STATUS ${PACPUS_DEPENDENCIES_LIB})
    72 
    7373set(LIBS
    7474    ${PACPUS_LIBRARIES}
     75        ${PACPUS_DEPENDENCIES_LIB}
    7576    ${QT_LIBRARIES}
    76         ${PACPUS_DEPENDENCIES_LIB}
    77     optimized FileLib debug FileLib_d
    78     optimized PacpusLib debug PacpusLib_d
    79     optimized PacpusTools debug PacpusTools_d
    8077)
    81 if (WIN32)
    82     list(APPEND LIBS
    83         optimized ROAD_TIME debug ROAD_TIME_d
    84     )
    85 endif()
     78
     79# LINK
     80target_link_libraries(${PROJECT_NAME} ${LIBS})
    8681
    8782################################################################################
    88 # LINK
    89 target_link_libraries(${PROJECT_NAME} ${LIBS})
    90 # PROPERTIES
    91 set_target_properties(${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX "_d")
    9283# FOLDERS
    9384pacpus_folder(${PROJECT_NAME} "components")
Note: See TracChangeset for help on using the changeset viewer.