premiere-libtorrent/examples/CMakeLists.txt

22 lines
503 B
CMake
Raw Normal View History

2014-11-17 04:41:01 +01:00
project(libtorrent-examples)
set(single_file_examples
simple_client
stats_counters
dump_torrent
make_torrent
connection_tester
upnp_test)
foreach(example ${single_file_examples})
add_executable(${example} "${example}.cpp")
target_link_libraries(${example} PRIVATE torrent-rasterbar)
endforeach(example)
add_executable(client_test
client_test.cpp
print.cpp
torrent_view.cpp
session_view.cpp)
target_link_libraries(client_test PRIVATE torrent-rasterbar)