Changeset 313 in pacpusframework for trunk/src/FileLib/CMakeLists.txt


Ignore:
Timestamp:
07/28/14 16:35:46 (10 years ago)
Author:
Marek Kurdej
Message:

Separated projects: FileLib and TestFileLib.

File:
1 edited

Legend:

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

    r312 r313  
    6060
    6161if(${PACPUS_BUILD_TESTS})
    62     link_directories(
    63         ${PROJECT_BINARY_DIR}/../FileLib
    64     )
    65     pacpus_add_test_executable(Test${PROJECT_NAME}
    66         test/TestFileLib.cpp
    67         ${HDRS}
    68     )
    69     list(APPEND LIBS
    70         optimized ${PROJECT_NAME} debug ${PROJECT_NAME}_d
    71     )
    72     target_link_libraries(Test${PROJECT_NAME}
    73         ${LIBS}
    74     )
    75     pacpus_install(Test${PROJECT_NAME})
    76     install(DIRECTORY test/data
    77         DESTINATION ${PACPUS_INSTALL_DIR}/bin
    78     )
     62    add_subdirectory(test)
    7963endif()
    8064
    8165################################################################################
    82 # Install
     66# INSTALL
    8367pacpus_install(${PROJECT_NAME})
    8468
Note: See TracChangeset for help on using the changeset viewer.