Fix #1067: Add a simple CrossProject mechanism
Merge pull request #1346 from gzm0/cross-build

Fix #1067: Add a simple CrossProject mechanism