diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f2bd5381..f5ee2770 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -219,7 +219,7 @@ add_test( | |||
219 | 219 | ||
220 | function(auto_test target) | 220 | function(auto_test target) |
221 | if(CHECK_FOUND) | 221 | if(CHECK_FOUND) |
222 | add_executable(auto_${target} auto_tests/${target}.c) | 222 | add_c_executable(auto_${target} auto_tests/${target}.c) |
223 | target_link_modules(auto_${target} | 223 | target_link_modules(auto_${target} |
224 | toxcore | 224 | toxcore |
225 | toxencryptsave | 225 | toxencryptsave |
@@ -253,13 +253,13 @@ endif() | |||
253 | # | 253 | # |
254 | ################################################################################ | 254 | ################################################################################ |
255 | 255 | ||
256 | add_executable(DHT_bootstrap | 256 | add_c_executable(DHT_bootstrap |
257 | other/DHT_bootstrap.c | 257 | other/DHT_bootstrap.c |
258 | other/bootstrap_node_packets.c) | 258 | other/bootstrap_node_packets.c) |
259 | target_link_modules(DHT_bootstrap toxnetcrypto) | 259 | target_link_modules(DHT_bootstrap toxnetcrypto) |
260 | 260 | ||
261 | if(LIBCONFIG_FOUND) | 261 | if(LIBCONFIG_FOUND) |
262 | add_executable(tox-bootstrapd | 262 | add_c_executable(tox-bootstrapd |
263 | other/bootstrap_daemon/src/command_line_arguments.c | 263 | other/bootstrap_daemon/src/command_line_arguments.c |
264 | other/bootstrap_daemon/src/command_line_arguments.h | 264 | other/bootstrap_daemon/src/command_line_arguments.h |
265 | other/bootstrap_daemon/src/config.c | 265 | other/bootstrap_daemon/src/config.c |
@@ -282,7 +282,7 @@ endif() | |||
282 | ################################################################################ | 282 | ################################################################################ |
283 | 283 | ||
284 | if(NOT WIN32 AND BUILD_TOXAV AND SNDFILE_FOUND AND PORTAUDIO_FOUND AND OPENCV_FOUND) | 284 | if(NOT WIN32 AND BUILD_TOXAV AND SNDFILE_FOUND AND PORTAUDIO_FOUND AND OPENCV_FOUND) |
285 | add_executable(av_test testing/av_test.c) | 285 | add_c_executable(av_test testing/av_test.c) |
286 | target_link_modules(av_test | 286 | target_link_modules(av_test |
287 | toxav | 287 | toxav |
288 | ${OPENCV_LIBRARIES} | 288 | ${OPENCV_LIBRARIES} |
@@ -291,31 +291,31 @@ if(NOT WIN32 AND BUILD_TOXAV AND SNDFILE_FOUND AND PORTAUDIO_FOUND AND OPENCV_FO | |||
291 | endif() | 291 | endif() |
292 | 292 | ||
293 | if(NOT WIN32) | 293 | if(NOT WIN32) |
294 | add_executable(nTox testing/nTox.c) | 294 | add_c_executable(nTox testing/nTox.c) |
295 | target_link_modules(nTox toxcore ${NCURSES_LIBRARIES}) | 295 | target_link_modules(nTox toxcore ${NCURSES_LIBRARIES}) |
296 | endif() | 296 | endif() |
297 | 297 | ||
298 | add_executable(DHT_test testing/DHT_test.c) | 298 | add_c_executable(DHT_test testing/DHT_test.c) |
299 | target_link_modules(DHT_test toxdht) | 299 | target_link_modules(DHT_test toxdht) |
300 | 300 | ||
301 | add_executable(Messenger_test testing/Messenger_test.c) | 301 | add_c_executable(Messenger_test testing/Messenger_test.c) |
302 | target_link_modules(Messenger_test toxmessenger) | 302 | target_link_modules(Messenger_test toxmessenger) |
303 | 303 | ||
304 | add_executable(dns3_test testing/dns3_test.c) | 304 | add_c_executable(dns3_test testing/dns3_test.c) |
305 | target_link_modules(dns3_test toxdns) | 305 | target_link_modules(dns3_test toxdns) |
306 | 306 | ||
307 | if(NOT WIN32) | 307 | if(NOT WIN32) |
308 | add_executable(tox_sync testing/tox_sync.c) | 308 | add_c_executable(tox_sync testing/tox_sync.c) |
309 | target_link_modules(tox_sync toxcore) | 309 | target_link_modules(tox_sync toxcore) |
310 | endif() | 310 | endif() |
311 | 311 | ||
312 | if(UTIL_LIBRARIES) | 312 | if(UTIL_LIBRARIES) |
313 | add_executable(tox_shell testing/tox_shell.c) | 313 | add_c_executable(tox_shell testing/tox_shell.c) |
314 | target_link_modules(tox_shell toxcore ${UTIL_LIBRARIES}) | 314 | target_link_modules(tox_shell toxcore ${UTIL_LIBRARIES}) |
315 | endif() | 315 | endif() |
316 | 316 | ||
317 | if(NOT WIN32) | 317 | if(NOT WIN32) |
318 | add_executable(irc_syncbot testing/irc_syncbot.c) | 318 | add_c_executable(irc_syncbot testing/irc_syncbot.c) |
319 | target_link_modules(irc_syncbot toxcore) | 319 | target_link_modules(irc_syncbot toxcore) |
320 | endif() | 320 | endif() |
321 | 321 | ||