Port mapping with UPnP

This commit is contained in:
Antonio Juarez 2014-04-09 13:14:35 +01:00
parent a401a02ddb
commit 9682a15400
90 changed files with 10630 additions and 24 deletions

View file

@ -1,3 +1,5 @@
add_definitions(-DSTATICLIB)
add_subdirectory(gtest)
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
@ -29,7 +31,7 @@ add_executable(unit_tests ${UNIT_TESTS})
add_executable(net_load_tests_clt net_load_tests/clt.cpp)
add_executable(net_load_tests_srv net_load_tests/srv.cpp)
target_link_libraries(core_proxy cryptonote_core common crypto ${Boost_LIBRARIES})
target_link_libraries(core_proxy cryptonote_core common crypto upnpc-static ${Boost_LIBRARIES})
target_link_libraries(coretests cryptonote_core common crypto ${Boost_LIBRARIES})
target_link_libraries(difficulty-tests cryptonote_core)
target_link_libraries(functional_tests cryptonote_core wallet common crypto ${Boost_LIBRARIES})
@ -54,4 +56,4 @@ foreach(hash IN ITEMS fast slow tree extra-blake extra-groestl extra-jh extra-sk
add_test(hash-${hash} hash-tests ${hash} ${CMAKE_CURRENT_SOURCE_DIR}/hash/tests-${hash}.txt)
endforeach(hash)
add_test(hash-target hash-target-tests)
add_test(unit_tests unit_tests)
add_test(unit_tests unit_tests)