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

Conditional build depending on missing symbols of Assimp package #542

Merged
merged 3 commits into from
Nov 5, 2015

Conversation

jslee02
Copy link
Member

@jslee02 jslee02 commented Nov 2, 2015

The Debian packages of Assimp in Ubuntu is missing C++ symbols so DART has our own implementation of them, and we made DART depend on the version of Assimp that is missing symbols by #455. However, it can be problematic when DART is built with Assimp version that contains the missing symbols.

This pull request enables DART to detect whether the installed Assimp has the missing symbols or not in cmake time, and compile our own implementation of them only when they are missing in the Assimp.

- DART now is able to detect if installed Assimp is missing C++ symbols so we don't need to restrict DART to depend on the version of Assimp that is missing the symbols.
@jslee02 jslee02 added this to the DART 5.1.1 milestone Nov 3, 2015
@jslee02 jslee02 changed the title Add check for missing symbols in assimp Conditional build depending on missing symbols of Assimp package Nov 3, 2015
@mkoval
Copy link
Collaborator

mkoval commented Nov 4, 2015

👍 Good idea! This is much nicer than the versioned dependency I added in #455.

@jslee02
Copy link
Member Author

jslee02 commented Nov 5, 2015

Thanks @mkoval. I hope Assimp resolves the missing symbol issues soon.

@mxgrey any comment? If it looks good to you too then I would like to merge.

@mxgrey
Copy link
Member

mxgrey commented Nov 5, 2015

Very clever use of cmake. Looks good to me 👍

@jslee02
Copy link
Member Author

jslee02 commented Nov 5, 2015

Yeah, it's very useful feature of cmake. Thanks!

jslee02 added a commit that referenced this pull request Nov 5, 2015
Conditional build depending on missing symbols of Assimp package
@jslee02 jslee02 merged commit 7ee9bc3 into release-5.1 Nov 5, 2015
@jslee02 jslee02 deleted the assimp_missing_symbols branch November 6, 2015 03:06
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.

3 participants