Changeset 110 in pacpusframework for branches/2.0-beta1/src/PacpusTools


Ignore:
Timestamp:
Jun 13, 2013, 1:43:39 PM (11 years ago)
Author:
morasjul
Message:

Beta-2 : Fix CMakeList (link), remove useless code and add improvement

File:
1 edited

Legend:

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

    r89 r110  
    3131include_directories(
    3232    ${QT_INCLUDE_DIR}
     33)
     34# ========================================
     35# Link directories
     36# ========================================
     37link_directories(
     38    ${PROJECT_BINARY_DIR}/../PacpusLib
    3339)
    3440
     
    94100# ========================================
    95101pacpus_add_library(
    96     ${PROJECT_NAME}
     102    ${PROJECT_NAME} SHARED
    97103    ${PROJECT_SRCS}
    98104    ${PROJECT_MOC_SRCS}
     105)
     106
     107# ========================================
     108# Libraries
     109# ========================================
     110target_link_libraries(
     111    ${PROJECT_NAME}
     112    ${QT_LIBRARIES}
     113    ${PACPUS_DEPENDENCIES_LIB}
     114    optimized PacpusLib debug PacpusLib_d
    99115)
    100116
Note: See TracChangeset for help on using the changeset viewer.