-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build: Simplify usage of relative paths in includes and defines
All paths everywhere are now relative to project root, but expressed relative to project location $(PROJECT_DIR). Also defines like SC_LIBRARY_PATH are now just referencing $(PROJECT_ROOT), that expands to a path relative to location of project file $(PROJECT_DIR). The location of _Outputs / _Intermediates / _Projects directories is coordinated in a single place by the build SC::Tool. The SC-build.cpp doesn't need to "know" project location to compute the relative paths for outputs and intermediates. By default also these paths are relative to the _Outputs and _Intermediates directories, but they can still be customized. Some reasonable defaults have been choosen too, so that the build script becomes easier to read for average usage. All these changes make a much simpler and coherent SC-build.cpp file.
- Loading branch information
Showing
15 changed files
with
440 additions
and
249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.