[DEV] add optinnal dependency of eproperty and esignal
This commit is contained in:
parent
073ae904c6
commit
f43a5a7341
@ -314,3 +314,17 @@ namespace etk {
|
||||
return from_string(_variableRet, etk::to_string(_value));
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef GALE_BUILD_ESIGNAL
|
||||
#include <esignal/details/Signal.hxx>
|
||||
#include <esignal/details/ISignal.hxx>
|
||||
template class esignal::Signal<gale::Dimension>;
|
||||
template class esignal::ISignal<gale::Dimension>;
|
||||
#endif
|
||||
|
||||
#ifdef GALE_BUILD_EPROPERTY
|
||||
//#include <eproperty/details/Range.hxx>
|
||||
#include <eproperty/details/Value.hxx>
|
||||
//template class eproperty::Range<gale::Dimension>;
|
||||
template class eproperty::Value<gale::Dimension>;
|
||||
#endif
|
||||
|
@ -135,6 +135,8 @@ def create(target, module_name):
|
||||
'gale/resource/VirtualBufferObject.h'
|
||||
])
|
||||
my_module.add_module_depend(['etk'])
|
||||
my_module.add_optionnal_module_depend('esignal', ["c++", "-DGALE_BUILD_ESIGNAL"])
|
||||
my_module.add_optionnal_module_depend('eproperty', ["c++", "-DGALE_BUILD_EPROPERTY"])
|
||||
my_module.add_path(tools.get_current_path(__file__))
|
||||
|
||||
my_module.compile_flags('c++', [
|
||||
|
Loading…
x
Reference in New Issue
Block a user