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_system: build statically again for Mac #276

Merged
merged 2 commits into from
Feb 19, 2018
Merged

Conversation

julianoes
Copy link
Collaborator

This is just an interim fix in the meantime.

Should fix #233.

Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Building on MacOS and iOS.

@@ -13,21 +13,21 @@ else()
endif()

# We need tinyxml2 for the camera definition parsing.
if(IOS OR APPLE)
if(APPLE)
# We install the tinyxml2 library manually for macOS and iOS.
# The install is commented out as long as we build statically.
Copy link
Collaborator

@JonasVautherin JonasVautherin Feb 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually this comment is obsolete now, I guess it should be removed.

Also note that we never built tinyxml2 as a static library, I believe (and we'll need that for iOS). It requires BUILD_STATIC_LIBS to be set, which I guess we don't want to set in the whole scope of core/CMakeLists.txt. So we will need more than add_subdirectory for building tinyxml2.
I am planning to work a bit more on the build system, but after I get the prototype running on iOS :-).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, removed the comment.

@JonasVautherin JonasVautherin merged commit 1627ea8 into develop Feb 19, 2018
@JonasVautherin JonasVautherin deleted the fix-mac-linking branch February 19, 2018 09:56
rt-2pm2 pushed a commit to rt-2pm2/DronecodeSDK that referenced this pull request Nov 27, 2018
* build_system: build statically again for Mac

This is just an interim fix in the meantime.
JonasVautherin pushed a commit that referenced this pull request Aug 15, 2023
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.

Flight testing DroneCore examples on Intel Aero
2 participants