[DEV] rework tools archirtecture simplify access to have separates libs ...
This commit is contained in:
parent
e8335f6514
commit
754c1e2820
@ -104,6 +104,12 @@ namespace etk {
|
||||
m_data.push_back(_data);
|
||||
m_condition.notify_all();
|
||||
};
|
||||
//! @previous
|
||||
void post(const MY_TYPE &_data) {
|
||||
std::unique_lock<std::mutex> lock(m_mutex);
|
||||
m_data.push_back(_data);
|
||||
m_condition.notify_all();
|
||||
};
|
||||
/**
|
||||
* @brief Remove all the message in the fifo.
|
||||
*/
|
||||
|
0
file/lutin_etk-file.py
Normal file
0
file/lutin_etk-file.py
Normal file
0
log/lutin_etk-log.py
Normal file
0
log/lutin_etk-log.py
Normal file
26
math/lutin_etk-math.py
Normal file
26
math/lutin_etk-math.py
Normal file
@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
import lutin.module as module
|
||||
import lutin.tools as tools
|
||||
|
||||
def get_desc():
|
||||
return "e-tk : Ewol tool kit"
|
||||
|
||||
|
||||
def create(target):
|
||||
# module name is 'edn' and type binary.
|
||||
myModule = module.Module(__file__, 'etk-math', 'LIBRARY')
|
||||
# add extra compilation flags :
|
||||
myModule.add_extra_compile_flags()
|
||||
# add the file to compile:
|
||||
myModule.add_src_file([
|
||||
'etk-math/Matrix4.cpp',
|
||||
'etk-math/Vector2D.cpp',
|
||||
'etk-math/Vector3D.cpp',
|
||||
'etk-math/Vector4D.cpp'
|
||||
])
|
||||
myModule.add_export_path(tools.get_current_path(__file__))
|
||||
|
||||
# add the currrent module at the
|
||||
return myModule
|
||||
|
||||
|
0
time/lutin_etk-time.py
Normal file
0
time/lutin_etk-time.py
Normal file
Loading…
x
Reference in New Issue
Block a user