Changeset 331 in pacpusframework for trunk/src


Ignore:
Timestamp:
Dec 4, 2014, 12:33:07 PM (10 years ago)
Author:
phudelai
Message:

Icon added to all graphic applications

Location:
trunk/src
Files:
9 added
8 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DBITEPlayer/CMakeLists.txt

    r163 r331  
    3838set(PROJECT_HDRS
    3939    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/cstdint.h
    40     ${PACPUS_INCLUDE_DIR}/Pacpus//kernel/ComponentBase.h
     40    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentBase.h
    4141    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactory.h
    4242    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactoryBase.h
     
    6363    ${PROJECT_NAME}
    6464    ./src/main.cpp
     65    ../ico/heudiasycIco.rc
    6566)
    6667
  • trunk/src/PacpusSensor/CMakeLists.txt

    r151 r331  
    1313# ========================================
    1414add_definitions(
    15   ${QT_DEFINITIONS}
     15        ${QT_DEFINITIONS}
    1616)
    1717
     
    2020# ========================================
    2121include_directories(
    22   ${PROJECT_BINARY_DIR}
    23   ${QT_INCLUDE_DIR}
     22        ${PROJECT_BINARY_DIR}
     23        ${QT_INCLUDE_DIR}
    2424)
    2525# ========================================
     
    2727# ========================================
    2828link_directories(
    29     ${PROJECT_BINARY_DIR}/../PacpusLib
    30     ${PROJECT_BINARY_DIR}/../FileLib
     29        ${PROJECT_BINARY_DIR}/../PacpusLib
     30        ${PROJECT_BINARY_DIR}/../FileLib
    3131        ${PROJECT_BINARY_DIR}/../RoadTime
    3232)
     
    3636# ========================================
    3737set(
    38   PROJECT_SRCS
    39   src/ui/pacpusmainwindow.cpp
    40   src/ui/pacpusmainwindow.h
    41   src/main.cpp
     38        PROJECT_SRCS
     39        src/ui/pacpusmainwindow.cpp
     40        src/ui/pacpusmainwindow.h
     41        src/main.cpp
    4242)
    4343
     
    5151qt_wrap_cpp(SENSOR_MOC_SOURCES ${SENSOR_MOC_CLASSES})
    5252
    53 source_group(Main_ui FILES ${PROJECT_SRCS} )
    54 source_group(moc FILES ${SENSOR_MOC_SOURCES} ${SENSOR_UI_SOURCES_H} )
     53source_group(Main_ui FILES ${PROJECT_SRCS})
     54source_group(moc FILES ${SENSOR_MOC_SOURCES} ${SENSOR_UI_SOURCES_H})
    5555
    5656# ========================================
     
    5858# ========================================
    5959pacpus_add_executable(
    60     ${PROJECT_NAME}
    61     ./src/main.cpp
    62     ./src/ui/pacpusmainwindow.cpp
    63     ./src/ui/pacpusmainwindow.h
    64     ${SENSOR_MOC_SOURCES}
    65     ${SENSOR_UI_CLASSES}
     60        ${PROJECT_NAME}
     61        ./src/main.cpp
     62        ./src/ui/pacpusmainwindow.cpp
     63        ./src/ui/pacpusmainwindow.h
     64        ../ico/heudiasycIco.rc
     65        ${SENSOR_MOC_SOURCES}
     66        ${SENSOR_UI_CLASSES}
    6667)
    6768
     
    7172
    7273set(OPT_LIBRARIES
    73         optimized FileLib debug FileLib_d
    74         optimized PacpusLib debug PacpusLib_d
     74        optimized FileLib debug FileLib_d
     75        optimized PacpusLib debug PacpusLib_d
    7576)
    7677
    7778# Windows platform
    7879if(WIN32)
    79     LIST(APPEND OPT_LIBRARIES
    80         optimized ROAD_TIME debug ROAD_TIME_d
    81         Winmm
     80        LIST(APPEND OPT_LIBRARIES
     81                optimized ROAD_TIME debug ROAD_TIME_d
     82                Winmm
    8283)
    8384endif()
    8485
    8586if(UNIX)
    86     LIST(APPEND OPT_LIBRARIES
    87         pthread
    88     )
     87        LIST(APPEND OPT_LIBRARIES
     88                pthread
     89)
    8990endif()
    9091
    9192# All the platform
    9293target_link_libraries(
    93     ${PROJECT_NAME}
    94     ${PACPUS_DEPENDENCIES_LIB}
    95     ${OPT_LIBRARIES}
    96     ${QT_LIBRARIES}
     94        ${PROJECT_NAME}
     95        ${PACPUS_DEPENDENCIES_LIB}
     96        ${OPT_LIBRARIES}
     97        ${QT_LIBRARIES}
    9798)
    9899
  • trunk/src/PacpusSensor/src/ui/pacpusmainwindow.h

    r288 r331  
    3636public:
    3737    /// @todo Documentation
    38     ComponentCheckBox(QString const& text, QWidget * parent, const char * /*name*/ = 0 )
     38    ComponentCheckBox(const QString & text, QWidget * parent, const char * /*name*/ = 0 )
    3939        : QCheckBox(text, parent)
    4040    {
  • trunk/src/dbcDecriptor/CMakeLists.txt

    r329 r331  
    3939SET(
    4040        PROJECT_SRCS
    41         mainwindow.cpp
    42         main.cpp
    43         mainwindow.h
    44         structure.h
    45         dbcDecriptor.rc
     41        src/mainwindow.cpp
     42        src/main.cpp
     43        src/mainwindow.h
     44        src/structure.h
     45        ../ico/heudiasycIco.rc
    4646)
    4747
     
    5151SET(
    5252        FILES_TO_MOC
    53         mainwindow.h
     53        src/mainwindow.h
    5454)
    5555
    5656SET(
    5757        UI_FILES
    58         mainwindow.ui   
     58        src/mainwindow.ui   
    5959)
    6060
     
    7272)
    7373
    74 ADD_EXECUTABLE(${PROJECT_NAME} ${GUI_TYPE} ${PROJECT_SRCS} ${PROJECT_MOC_SRCS} ${PROJECT_UI_SRCS})
    75 TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${QT_LIBRARIES})
     74# ========================================
     75# Build an executable
     76# ========================================
     77pacpus_add_executable(
     78        ${PROJECT_NAME}
     79        ${GUI_TYPE}
     80        ${PROJECT_SRCS}
     81        ${PROJECT_MOC_SRCS}
     82        ${PROJECT_UI_SRCS}
     83)
     84
     85# ========================================
     86# Libraries
     87# ========================================
     88TARGET_LINK_LIBRARIES(
     89        ${PROJECT_NAME}
     90        ${QT_LIBRARIES}
     91)
    7692
    7793# ========================================
Note: See TracChangeset for help on using the changeset viewer.