-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch improved_structure into master.
- Using a more OO approach, a lot of if-statements vanish as we now have lists of different classes [executables, header-only libraries, shared libraries, static libraries] that all know what to do when they are asked to compile/link. This structure is also easily extendable with new types without the need to change one giant function in a lot of places - Following this OO approach the assembly of all targets was redesigned so that a target can assemble itself. For this, the targets mentioned in the toml file are first put into a dependency graph and topologically sorted. After this they can be easily constructed serially - Output is now done via logging, allowing easy filtering of output dependent on user input - Dialect check is done without temporary files - Using the pathlib2 library instead of concatenating strings - Adapted some naming to more standardish naming schemes in python (WIP) - Using python unittests for the testing - Disentangled the build function from the argument parsing
- Loading branch information
Showing
343 changed files
with
1,574 additions
and
1,183 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
AUTHORS | ||
ChangeLog | ||
|
||
### Subdirectories ### | ||
*/build/* | ||
|
||
|
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.