Make it possible to fully build the project when crosscompiling
ClosedPublic

Authored by apol on Mar 27 2018, 2:00 AM.

Details

Summary

Use cmake ExternalProject to compile the native tool we need to successfully
build this framework.
Makes it much easier to automate builds of the project.

Diff Detail

Repository
R216 Syntax Highlighting
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
apol created this revision.Mar 27 2018, 2:00 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptMar 27 2018, 2:00 AM
apol requested review of this revision.Mar 27 2018, 2:00 AM

Clever idea, and should be safe for existing cross-compilation setups like Yocto. The only thing that looks suspicious to me is the hardcoded "/opt/nativetooling/" path. Is that really needed?

apol added a comment.Mar 28 2018, 12:11 PM

Clever idea, and should be safe for existing cross-compilation setups like Yocto. The only thing that looks suspicious to me is the hardcoded "/opt/nativetooling/" path. Is that really needed?

XD No, I just got too excited and forgot to use the right variable there.

apol updated this revision to Diff 30791.Mar 28 2018, 12:12 PM

Use the variable instead of hardcoding a path

vkrause accepted this revision.Mar 28 2018, 12:12 PM
This revision is now accepted and ready to land.Mar 28 2018, 12:12 PM
This revision was automatically updated to reflect the committed changes.