forked from enlightenment/efl
eolian-cxx: Fixed the generation .eo.h path.
Summary: This patch fixes T1225 Reviewers: uartie CC: uartie, wayland-efl, felipealmeida, cedric, smohanty, raster, stefan_schmidt, stefan, woohyun Maniphest Tasks: T1225 Differential Revision: https://phab.enlightenment.org/D821
This commit is contained in:
parent
2022aa3065
commit
2fdc88b33a
|
@ -98,7 +98,7 @@ std::pair<std::string, std::string> get_filename_info(std::string path)
|
|||
if (last != std::string::npos)
|
||||
{
|
||||
path.erase(0, last+4);
|
||||
|
||||
|
||||
std::string::iterator slash
|
||||
= std::find(path.begin(), path.end(), '/');
|
||||
if(slash != path.end())
|
||||
|
@ -108,9 +108,10 @@ std::pair<std::string, std::string> get_filename_info(std::string path)
|
|||
return {filename, namespace_};
|
||||
}
|
||||
}
|
||||
EINA_CXX_DOM_LOG_ERR(::domain)
|
||||
<< "Couldn't find source file for class '" << path << "'";
|
||||
return {};
|
||||
else
|
||||
{
|
||||
return {path, std::string()};
|
||||
}
|
||||
}
|
||||
|
||||
efl::eolian::eo_generator_options
|
||||
|
|
|
@ -87,7 +87,7 @@ EOLIAN_FLAGS = \
|
|||
SUFFIXES = .eo .eo.c .eo.h .eo.hh
|
||||
|
||||
%.eo.hh: %.eo $(EOLIAN_CXX)
|
||||
$(AM_V_EOLCXX)$(EOLIAN_CXX) $(EOLIAN_FLAGS) -I./$< -o $@
|
||||
$(AM_V_EOLCXX)$(EOLIAN_CXX) $(EOLIAN_FLAGS) -I$< -o $@
|
||||
|
||||
%.eo.c: %.eo $(EOLIAN_GEN)
|
||||
$(AM_V_EOL)$(EOLIAN_GEN) --eo --legacy $(EOLIAN_FLAGS) --gc -o $@ $<
|
||||
|
|
Loading…
Reference in New Issue