[DEV] update Build interface
This commit is contained in:
parent
839cef4b53
commit
85a27112d4
@ -7,6 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <egami/ImageMono.h>
|
||||
#include <egami/debug.h>
|
||||
|
||||
egami::ImageMono::ImageMono(const ivec2& _size) :
|
||||
m_size(_size) {
|
||||
@ -15,7 +16,7 @@ egami::ImageMono::ImageMono(const ivec2& _size) :
|
||||
// preallocate data with a basic bg elements :
|
||||
m_data.resize(m_size.x()*m_size.y(), tmpBg);
|
||||
if ((uint32_t)m_size.x()*m_size.y() > m_data.size()) {
|
||||
TK_ERROR("Allocation of data buffer in error");
|
||||
EGAMI_ERROR("Allocation of data buffer in error");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ namespace egami {
|
||||
// preallocate data with a basic bg elements :
|
||||
m_data.resize(m_size.x()*m_size.y(), tmpBg);
|
||||
if ((uint32_t)m_size.x()*m_size.y() > m_data.size()) {
|
||||
TK_ERROR("Allocation of data buffer in error");
|
||||
//TK_ERROR("Allocation of data buffer in error");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -22,6 +22,12 @@ def create(target):
|
||||
'egami/wrapperBMP.cpp',
|
||||
'egami/wrapperEDF.cpp'])
|
||||
|
||||
myModule.add_header_file([
|
||||
'egami/Image.h',
|
||||
'egami/ImageMono.h',
|
||||
'egami/egami.h',
|
||||
])
|
||||
|
||||
# name of the dependency
|
||||
myModule.add_module_depend(['etk', 'png', 'esvg', 'edtaa3'])
|
||||
|
||||
@ -29,7 +35,7 @@ def create(target):
|
||||
'-Wno-write-strings',
|
||||
'-Wall'])
|
||||
|
||||
myModule.add_export_path(tools.get_current_path(__file__))
|
||||
myModule.add_path(tools.get_current_path(__file__))
|
||||
|
||||
# add the currrent module at the
|
||||
return myModule
|
||||
|
Loading…
x
Reference in New Issue
Block a user