Skip to content
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

Build improvements #42

Merged
merged 5 commits into from
Jan 7, 2020

Conversation

andrewkaufman
Copy link
Collaborator

These changes we motivated by my attempts to debug a crash when using AtomsGaffer inside Maya 2019. It turns out to be unrelated, but I think they're an improvement in any case.

Build

  • Enable cmake verbosity by default.
  • The CXX std must now be specified in the build args (eg -DCMAKE_CXX_FLAGS='-std=c++11').
  • Added MAYA_MAJOR_VERSION arg (only used if ATOMS_MAYA_ROOT is specified).
  • Using -isystem for upstream includes.

We found we were making several build mistakes by suppressing the commands.
We can't fix compilation warnings upstream, so might as well suppress them.
When building with ATOMS_MAYA_ROOT we need to be able to specify which Maya we're targetting.
This should now be specified in the build args (via -DCMAKE_CXX_FLAGS). The README has been updated accordingly.
@andrewkaufman andrewkaufman merged commit 78ce226 into Toolchefs:master Jan 7, 2020
@andrewkaufman andrewkaufman deleted the buildImprovements branch January 7, 2020 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant