diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2013-07-17 18:06:05 -0400 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2013-07-17 18:18:27 -0400 |
commit | ef0efd72b51a44d30272dccffdc365165d385291 (patch) | |
tree | fd408b402da7a983ea71a1ea4b466f335cd853c0 /testing | |
parent | 817ad50d9640b8ccce3636a00f732245ff09d38c (diff) |
Improved build system
Diffstat (limited to 'testing')
-rw-r--r-- | testing/CMakeLists.txt | 7 | ||||
-rw-r--r-- | testing/cmake/DHT_cryptosendfiletest.cmake | 10 | ||||
-rw-r--r-- | testing/cmake/DHT_sendfiletest.cmake | 10 | ||||
-rw-r--r-- | testing/cmake/DHT_test.cmake | 10 | ||||
-rw-r--r-- | testing/cmake/Lossless_UDP_testclient.cmake | 10 | ||||
-rw-r--r-- | testing/cmake/Lossless_UDP_testserver.cmake | 10 | ||||
-rw-r--r-- | testing/cmake/Messenger_test.cmake | 10 | ||||
-rw-r--r-- | testing/cmake/nTox.cmake | 12 |
8 files changed, 79 insertions, 0 deletions
diff --git a/testing/CMakeLists.txt b/testing/CMakeLists.txt new file mode 100644 index 00000000..bb599b86 --- /dev/null +++ b/testing/CMakeLists.txt | |||
@@ -0,0 +1,7 @@ | |||
1 | include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_cryptosendfiletest.cmake) | ||
2 | include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_sendfiletest.cmake) | ||
3 | include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/DHT_test.cmake) | ||
4 | include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Lossless_UDP_testclient.cmake) | ||
5 | include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Lossless_UDP_testserver.cmake) | ||
6 | include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/Messenger_test.cmake) | ||
7 | include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/nTox.cmake) \ No newline at end of file | ||
diff --git a/testing/cmake/DHT_cryptosendfiletest.cmake b/testing/cmake/DHT_cryptosendfiletest.cmake new file mode 100644 index 00000000..9396d91a --- /dev/null +++ b/testing/cmake/DHT_cryptosendfiletest.cmake | |||
@@ -0,0 +1,10 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(DHT_cryptosendfiletest C) | ||
3 | |||
4 | set(exe_name DHT_cryptosendfiletest) | ||
5 | |||
6 | add_executable(${exe_name} | ||
7 | DHT_cryptosendfiletest.c) | ||
8 | |||
9 | linkCoreLibraries(${exe_name}) | ||
10 | addCompilerFlags() | ||
diff --git a/testing/cmake/DHT_sendfiletest.cmake b/testing/cmake/DHT_sendfiletest.cmake new file mode 100644 index 00000000..c7595224 --- /dev/null +++ b/testing/cmake/DHT_sendfiletest.cmake | |||
@@ -0,0 +1,10 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(DHT_sendfiletest C) | ||
3 | |||
4 | set(exe_name DHT_sendfiletest) | ||
5 | |||
6 | add_executable(${exe_name} | ||
7 | DHT_sendfiletest.c) | ||
8 | |||
9 | linkCoreLibraries(${exe_name}) | ||
10 | addCompilerFlags() | ||
diff --git a/testing/cmake/DHT_test.cmake b/testing/cmake/DHT_test.cmake new file mode 100644 index 00000000..e5c18c03 --- /dev/null +++ b/testing/cmake/DHT_test.cmake | |||
@@ -0,0 +1,10 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(DHT_test C) | ||
3 | |||
4 | set(exe_name DHT_test) | ||
5 | |||
6 | add_executable(${exe_name} | ||
7 | DHT_test.c) | ||
8 | |||
9 | linkCoreLibraries(${exe_name}) | ||
10 | addCompilerFlags() | ||
diff --git a/testing/cmake/Lossless_UDP_testclient.cmake b/testing/cmake/Lossless_UDP_testclient.cmake new file mode 100644 index 00000000..375bb733 --- /dev/null +++ b/testing/cmake/Lossless_UDP_testclient.cmake | |||
@@ -0,0 +1,10 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(Lossless_UDP_testclient C) | ||
3 | |||
4 | set(exe_name Lossless_UDP_testclient) | ||
5 | |||
6 | add_executable(${exe_name} | ||
7 | Lossless_UDP_testclient.c) | ||
8 | |||
9 | linkCoreLibraries(${exe_name}) | ||
10 | addCompilerFlags() | ||
diff --git a/testing/cmake/Lossless_UDP_testserver.cmake b/testing/cmake/Lossless_UDP_testserver.cmake new file mode 100644 index 00000000..fe16e937 --- /dev/null +++ b/testing/cmake/Lossless_UDP_testserver.cmake | |||
@@ -0,0 +1,10 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(Lossless_UDP_testserver C) | ||
3 | |||
4 | set(exe_name Lossless_UDP_testserver) | ||
5 | |||
6 | add_executable(${exe_name} | ||
7 | Lossless_UDP_testserver.c) | ||
8 | |||
9 | linkCoreLibraries(${exe_name}) | ||
10 | addCompilerFlags() | ||
diff --git a/testing/cmake/Messenger_test.cmake b/testing/cmake/Messenger_test.cmake new file mode 100644 index 00000000..2848818b --- /dev/null +++ b/testing/cmake/Messenger_test.cmake | |||
@@ -0,0 +1,10 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(Messenger_test C) | ||
3 | |||
4 | set(exe_name Messenger_test) | ||
5 | |||
6 | add_executable(${exe_name} | ||
7 | Messenger_test.c) | ||
8 | |||
9 | linkCoreLibraries(${exe_name}) | ||
10 | addCompilerFlags() | ||
diff --git a/testing/cmake/nTox.cmake b/testing/cmake/nTox.cmake new file mode 100644 index 00000000..814b1427 --- /dev/null +++ b/testing/cmake/nTox.cmake | |||
@@ -0,0 +1,12 @@ | |||
1 | cmake_minimum_required(VERSION 2.6.0) | ||
2 | project(nTox C) | ||
3 | |||
4 | set(exe_name nTox) | ||
5 | |||
6 | add_executable(${exe_name} | ||
7 | nTox.c) | ||
8 | |||
9 | target_link_libraries(${exe_name} ncurses) | ||
10 | |||
11 | linkCoreLibraries(${exe_name}) | ||
12 | addCompilerFlags() | ||