You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nar-maven-plugin compiles c/c++ files into same directory. When compiling files with same basename but under different directories, it gives a Output filename conflict error.
This makes it inconvenient when compiling c/c++ project with tons of same name files. Will it be possible that compiling files into mirrored directory structure to avoid such error, just like scons or CMake does.
The text was updated successfully, but these errors were encountered:
This would be a great feature. See also this thread about CMake integration, which would yield this feature "for free" (but be lots more work than just fixing the NAR plugin as-is).
@ctrueden Actually, we have our old project using CMake for the jni part and ant for the jar part. However, it's quite messy when we deliver the project. For some msvc user, they may have to use CMake to generate the .vsproject and compile it with visual studio via GUI.
So, my point is that CMake can be a quick and free solution. However, it cannot be a neat solution. Also it's expected that lots more work should be done than just fixing the NAR plugin as-is.
@Oneplus I think that PR #141 needs substantial work, unfortunately—beyond just commit cleanliness etc., the strategy the branch pursues to solve the problem looks to be too fragile. So I think further thought and work is needed to resolve this issue.
This issue is discussed in https://groups.google.com/forum/#!topic/maven-nar/SJOHdss-J-8
nar-maven-plugin compiles c/c++ files into same directory. When compiling files with same basename but under different directories, it gives a
Output filename conflict
error.This makes it inconvenient when compiling c/c++ project with tons of same name files. Will it be possible that compiling files into mirrored directory structure to avoid such error, just like scons or CMake does.
The text was updated successfully, but these errors were encountered: