-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix a few build issues. #1
Conversation
The rest looks good, tyvm. |
I'm not very knowledgeable about cmake, honestly, so figured it would best to default to OLD in case other changes were necessary. The only differences that I could see is that NEW setting injected -fPIC into C_FLAGS & CXX_FLAGS, which had been explicitly removed before. |
Can you please redo this PR with ./configure not being removed? It's still a point of contention for vman, since it's what people use to compile, and they don't neccessarily have automake installed. |
Also, could you split the changes into separate commits? |
Needed for compatibility with cmake 2.8.9 and higher. See: http://www.manpagez.com/man/1/cmakepolicies/
Ignore the return type errors from the v2.8 api.
Ignore the no return value errors from v2.8 api.
- Script was adding 'plugins/$plugins' to extraplugins string which when passed to configure would then also add 'plugins/' and would attempt to find 'plugins/plugins/$plugin'. - Test for file existance doesn't support wildcards and so was throwing an unexpected command error when attempting to concatenate plugin specific nwnx2.ini files.
Will do. |
You can rewrite the history of this branch (force push) and this PR will be updated automatically. |
Oops, will remember in the future. The branch has been updated with the new commits now. I add a couple other make file changes to suppress the -Wreturn-type errors being cause by the 2.8 api. |
Looking good now, thanks for your work! |
Here is a patch for a few outstanding issues. Some have been mention on the NWNX forum, some not.
best,
jmd
Changes:
compatibility with cmake 2.8.9 and higher. See:
http://www.manpagez.com/man/1/cmakepolicies/
extraplugins string which when passed to configure
would then also add 'plugins/' and would attempt to find
'plugins/plugins/$plugin'.
cmake clobbers it.
Edit: Added patch to fix the error in the nwnx2,ini concatenation part of the install.sh script.