mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Merge branch 'master' of https://github.com/irungentoo/InsertProjectNameHere
This commit is contained in:
commit
b9563fd9e2
17
.travis.yml
Normal file
17
.travis.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
language: c
|
||||
compiler:
|
||||
- gcc
|
||||
|
||||
script:
|
||||
- cmake CMakeLists.txt
|
||||
- make -j3
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
irc:
|
||||
channels:
|
||||
- "chat.freenode.net#InsertProjectNameHere"
|
||||
on_success: always
|
||||
on_failure: always
|
||||
|
17
CMakeLists.txt
Normal file
17
CMakeLists.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
cmake_minimum_required(VERSION 2.6.0)
|
||||
project(TOX)
|
||||
|
||||
set(core_sources
|
||||
core/DHT.c)
|
||||
|
||||
set(test_sources
|
||||
testing/DHT_test.c)
|
||||
|
||||
add_executable(TOX-app
|
||||
${core_sources}
|
||||
${test_sources})
|
||||
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(TOX-app ws2_32)
|
||||
endif(WIN32)
|
4
testing/muh parser.php
Normal file
4
testing/muh parser.php
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?php
|
||||
$string = file_get_contents("test.json");
|
||||
$json_a=json_decode($string,true);
|
||||
?>
|
Loading…
Reference in New Issue
Block a user