[DEV] Update new lutin 2.2.0 (no legacy support)
This commit is contained in:
parent
d89531189e
commit
5cb8ea40e3
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,14 +24,17 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return "authors.txt"
|
return "authors.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
my_module.add_path(".")
|
||||||
my_module.add_path(tools.get_current_path(__file__), export=True)
|
my_module.add_depend([
|
||||||
my_module.add_depend(['enet', 'gtest', 'test-debug'])
|
'enet',
|
||||||
|
'gtest',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/main-client-http.cpp'
|
'test/main-client-http.cpp'
|
||||||
])
|
])
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,14 +24,17 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return "authors.txt"
|
return "authors.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
my_module.add_path(".")
|
||||||
my_module.add_path(tools.get_current_path(__file__), export=True)
|
my_module.add_depend([
|
||||||
my_module.add_depend(['enet', 'gtest', 'test-debug'])
|
'enet',
|
||||||
|
'gtest',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/main-client-websocket.cpp'
|
'test/main-client-websocket.cpp'
|
||||||
])
|
])
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,14 +24,17 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return "authors.txt"
|
return "authors.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
my_module.add_path(".")
|
||||||
my_module.add_path(tools.get_current_path(__file__), export=True)
|
my_module.add_depend([
|
||||||
my_module.add_depend(['enet', 'gtest', 'test-debug'])
|
'enet',
|
||||||
|
'gtest',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/main-client.cpp'
|
'test/main-client.cpp'
|
||||||
])
|
])
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,14 +24,17 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return "authors.txt"
|
return "authors.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
my_module.add_path(".")
|
||||||
my_module.add_path(tools.get_current_path(__file__), export=True)
|
my_module.add_depend([
|
||||||
my_module.add_depend(['enet', 'gtest', 'test-debug'])
|
'enet',
|
||||||
|
'gtest',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/main-server-http.cpp'
|
'test/main-server-http.cpp'
|
||||||
])
|
])
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,14 +24,17 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return "authors.txt"
|
return "authors.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
my_module.add_path(".")
|
||||||
my_module.add_path(tools.get_current_path(__file__), export=True)
|
my_module.add_depend([
|
||||||
my_module.add_depend(['enet', 'gtest', 'test-debug'])
|
'enet',
|
||||||
|
'gtest',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/main-server-websocket.cpp'
|
'test/main-server-websocket.cpp'
|
||||||
])
|
])
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,14 +24,17 @@ def get_compagny_name():
|
|||||||
def get_maintainer():
|
def get_maintainer():
|
||||||
return "authors.txt"
|
return "authors.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
my_module.add_path(".")
|
||||||
my_module.add_path(tools.get_current_path(__file__), export=True)
|
my_module.add_depend([
|
||||||
my_module.add_depend(['enet', 'gtest', 'test-debug'])
|
'enet',
|
||||||
|
'gtest',
|
||||||
|
'test-debug'
|
||||||
|
])
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'test/main-server.cpp'
|
'test/main-server.cpp'
|
||||||
])
|
])
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.debug as debug
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
@ -24,14 +24,13 @@ def get_maintainer():
|
|||||||
def get_version():
|
def get_version():
|
||||||
return "version.txt"
|
return "version.txt"
|
||||||
|
|
||||||
def create(target, module_name):
|
def configure(target, my_module):
|
||||||
my_module = module.Module(__file__, module_name, get_type())
|
|
||||||
my_module.add_depend([
|
my_module.add_depend([
|
||||||
'etk',
|
'etk',
|
||||||
'ememory',
|
'ememory',
|
||||||
'algue'
|
'algue'
|
||||||
])
|
])
|
||||||
my_module.add_path(tools.get_current_path(__file__))
|
my_module.add_path(".")
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'enet/debug.cpp',
|
'enet/debug.cpp',
|
||||||
'enet/Udp.cpp',
|
'enet/Udp.cpp',
|
||||||
@ -52,7 +51,7 @@ def create(target, module_name):
|
|||||||
'enet/Ftp.hpp',
|
'enet/Ftp.hpp',
|
||||||
'enet/WebSocket.hpp',
|
'enet/WebSocket.hpp',
|
||||||
])
|
])
|
||||||
return my_module
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
#include <enet/TcpServer.hpp>
|
#include <enet/TcpServer.hpp>
|
||||||
#include <etk/etk.hpp>
|
#include <etk/etk.hpp>
|
||||||
|
|
||||||
#include <unistd.hpp>
|
#include <unistd.h>
|
||||||
#include <etk/stdTools.hpp>
|
#include <etk/stdTools.hpp>
|
||||||
namespace appl {
|
namespace appl {
|
||||||
void onReceiveData(enet::HttpServer* _interface, std::vector<uint8_t>& _data) {
|
void onReceiveData(enet::HttpServer* _interface, std::vector<uint8_t>& _data) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user