Changeset 58 in pacpusframework for trunk/src/PacpusLib


Ignore:
Timestamp:
Jan 9, 2013, 10:35:31 AM (12 years ago)
Author:
Marek Kurdej
Message:

CMake: updated to conform to the coding style.

File:
1 edited

Legend:

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

    r28 r58  
    1313# ========================================
    1414if(QT4_FOUND)
    15   set(QT_USE_QTXML true)
    16   include(${QT_USE_FILE})
     15    set(QT_USE_QTXML true)
     16    include(${QT_USE_FILE})
    1717else()
    18   message(ERROR "Qt4 needed")
     18    message(ERROR "Qt4 needed")
    1919endif()
    2020
     
    2323# ========================================
    2424add_definitions(
    25   -DPACPUSLIB_EXPORTS
    26   -DQT_NO_KEYWORDS
    27   ${QT_DEFINITIONS}
     25    -DPACPUSLIB_EXPORTS
     26    -DQT_NO_KEYWORDS
     27    ${QT_DEFINITIONS}
    2828)
    2929
     
    3232# ========================================
    3333include_directories(
    34   ${QT_INCLUDE_DIR}
     34    ${QT_INCLUDE_DIR}
    3535)
    3636
     
    3939# ========================================
    4040set(
    41   PROJECT_SRCS
    42   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/cstdint.h
    43   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentBase.h
    44   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactory.h
    45   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactoryBase.h
    46   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentManager.h
    47   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/Log.h
    48   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpus.h
    49   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/road_time.h
    50   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlComponentConfig.h
    51   ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlConfigFile.h
    52   ./ComponentBase.cpp
    53   ./ComponentFactoryBase.cpp
    54   ./ComponentManager.cpp
    55   ./Log.cpp
    56   ./XmlComponentConfig.cpp
    57   ./XmlConfigFile.cpp
     41    PROJECT_SRCS
     42    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/cstdint.h
     43    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentBase.h
     44    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactory.h
     45    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentFactoryBase.h
     46    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/ComponentManager.h
     47    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/Log.h
     48    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/pacpus.h
     49    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/road_time.h
     50    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlComponentConfig.h
     51    ${PACPUS_INCLUDE_DIR}/Pacpus/kernel/XmlConfigFile.h
     52    ./ComponentBase.cpp
     53    ./ComponentFactoryBase.cpp
     54    ./ComponentManager.cpp
     55    ./Log.cpp
     56    ./XmlComponentConfig.cpp
     57    ./XmlConfigFile.cpp
    5858)
    5959
     
    6262# ========================================
    6363pacpus_add_library(
    64   ${PROJECT_NAME} SHARED
    65   ${PROJECT_SRCS}
     64    ${PROJECT_NAME} SHARED
     65    ${PROJECT_SRCS}
    6666)
    6767
     
    7070# ========================================
    7171target_link_libraries(
    72   ${PROJECT_NAME}
    73   ${QT_LIBRARIES}
    74   ${PACPUS_DEPENDENCIES_LIB}
     72    ${PROJECT_NAME}
     73    ${QT_LIBRARIES}
     74    ${PACPUS_DEPENDENCIES_LIB}
    7575)
    7676
Note: See TracChangeset for help on using the changeset viewer.