Changeset 12747 for tests/CMakeLists.txt


Ignore:
Timestamp:
Mar 5, 2014, 7:09:43 PM (11 years ago)
Author:
hock@…
Message:

Exemplary test that actually involves ariba.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/CMakeLists.txt

    r12746 r12747  
    5858include_directories("${ariba_SOURCE_DIR}/source/" "${ariba_BINARY_DIR}/source/")
    5959
    60 add_executable(HelloWold_test
     60
     61## Unit tests ##
     62
     63# Hello World
     64add_executable(HelloWold-test
    6165    HelloWorld.cc
    6266)
     67
     68target_link_libraries(HelloWold-test gtest gtest_main)
     69add_test( HelloWorld HelloWold-test )
     70
     71# SystemQueue
     72add_executable(SystemQueue-tests
     73    SystemQueue-tests.cc
     74)
     75
     76target_link_libraries(SystemQueue-tests gtest gtest_main ariba)
     77add_test( SystemQueue SystemQueue-tests )
     78
    6379
    6480#if(${BUILD_STATIC_BINS})
     
    7490
    7591# target_link_libraries(pingpong ariba ${Boost_LIBRARIES})
    76 
    77 target_link_libraries(HelloWold_test gtest gtest_main)
    78 add_test( HelloWorld HelloWold_test )
Note: See TracChangeset for help on using the changeset viewer.