DOCGroup / ACE_TAO

ACE and TAO
https://www.dre.vanderbilt.edu/~schmidt/TAO.html
701 stars 381 forks source link

gnuace MPC template can't handle include/lib paths with spaces #2281

Open jwillemsen opened 2 months ago

jwillemsen commented 2 months ago

When using cross compilation from Windows and using some 3rd party C++ headers installed in a path with a space I found that the gnuace template can't handle that, include/lib paths aren't quoted when there is a space in the path. For example I see on the commandline of g++ -IC:/Program Files/foo//include

mitza-oci commented 2 months ago

Try something like:

CPPFLAGS +=<%foreach(includes)%> -I$(call ADD_QUOTE, <%include%>)<%endfor%>

Or you can use a SUBST path on Windows to set up the paths to not have spaces.

jwillemsen commented 2 months ago

Yes, should be something like that, stored it here as a todo, much more higher priority work at this moment