Newer
Older
add_executable(mapped_ptr_unit
target_link_libraries(mapped_ptr_unit gflags glog uuid)
add_executable(cluster_unit
target_link_libraries(cluster_unit uriparser ftlnet gflags glog uuid)
add_executable(p2p_unit
./tests.cpp
./p2p_unit.cpp
)
target_link_libraries(p2p_unit ftlnet uriparser gflags glog uuid)
add_executable(p2p_integration
./tests.cpp
../src/cluster.cpp
../src/p2prm.cpp
../src/blob.cpp
./p2p_integration.cpp
)
target_link_libraries(p2p_integration uriparser ftlnet gflags glog uuid)
add_executable(peer_test
../src/p2prm.cpp
../src/cluster.cpp
../src/blob.cpp
)
target_link_libraries(peer_test uriparser ftlnet gflags glog uuid)
add_test(Mapped_ptrUnitTest mapped_ptr_unit)
add_test(ClusterUnitTest cluster_unit)
add_dependencies(tests mapped_ptr_unit cluster_unit peer_test p2p_integration)