drwave / usd-sketchup

Source & macOS binary of USD exporter for SketchUp
Other
63 stars 5 forks source link

Building process tweaks #21

Closed jchen9 closed 5 years ago

jchen9 commented 5 years ago

This change mainly moves both SketchUp SDK and USD to lib/SDK_Mac and lib/USD as symlinks respectively. They are also added to the Xcode project as folder references. This way Xcode won't try to copy them all into the bundle during building process.

With these symlinks, fixed paths like /opt/local/... were all rewritten to paths relative to ${PROJECT_DIR}.

So now when a developer first checkout the project fresh, she/he should do the following:

  1. Symlink SketchUp SDK & USD to lib/SDK_Mac and lib/USD.

  2. Make sure SketchUp.app's plugin folder is writable by the current user.

  3. Open the Xcode project, change the code signing identify.

  4. Build the project.

drwave commented 5 years ago

Looks good. Let's meet in person to do the merge, just so I'm clear on the mechanics...

drwave commented 5 years ago

And BTW - this is great. Much better than what I was doing.