-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Testing Zork++ v0.9.0 with native MSVC import std support
Note that a few modules has some troubles compiling: - There's issues on the legacy iterator module (pending to review, left commented now) - MSVC refuses to compile the `matrix.cppm` Matrix template type when we provide template arguments to the Row and Column Matrix template constructors - Tests are yet untested
- Loading branch information
1 parent
dc535c4
commit 8e7f384
Showing
4 changed files
with
112 additions
and
23 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
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 |
---|---|---|
@@ -0,0 +1,89 @@ | ||
[project] | ||
name = "Zero" | ||
authors = [ "Zero Day Code" ] | ||
compilation_db = true | ||
project_root = "zero" | ||
|
||
[compiler] | ||
cpp_compiler = "msvc" | ||
cpp_standard = "latest" | ||
# extra_args = [ | ||
# ] | ||
|
||
[build] | ||
output_dir = "./out" | ||
|
||
[executable] | ||
executable_name = "zero" | ||
sources = [ "zero/*.cpp" ] | ||
|
||
[tests] | ||
tests_executable_name = "zero_tests" | ||
sources = [ "tests/math/*.cpp", "tests/*.cpp" ] | ||
|
||
[modules] | ||
base_ifcs_dir = "zero/ifc" | ||
interfaces = [ | ||
{ file = 'commons/typedefs.cppm' }, | ||
{ file = 'text/str_manip.cppm' }, | ||
{ file = 'text/formatter.cppm' }, | ||
{ file = 'text/stylizer.cppm' }, | ||
{ file = 'text/print_utils.cppm' }, | ||
{ file = 'types/type_info.cppm' }, | ||
{ file = 'types/type_traits.cppm' }, | ||
{ file = 'commons/concepts.cppm', dependencies = ['typedefs'] }, | ||
|
||
### The testing suite | ||
{ file = 'test-suite/assertions.cppm', partition = { module = 'tsuite' } }, | ||
# Root | ||
{ file = 'test-suite/suite.cppm', module_name = 'tsuite' }, | ||
|
||
# ### Iterator library | ||
# { file = 'iterators/internal/iterator_detail.cpp', partition = { module = 'iterator', partition_name = 'detail', is_internal_partition = true } }, | ||
# { file = 'iterators/iterator_concepts.cppm', partition = { module = 'iterator', partition_name = 'concepts' } }, | ||
# # Modern | ||
# { file = 'iterators/iterator_facade.cppm', partition = { module = 'iterator' } }, | ||
# { file = 'iterators/input_iterator.cppm', partition = { module = 'iterator' } }, | ||
# # Legacy | ||
# { file = 'iterators/legacy/legacy_iterator.cppm', partition = { module = 'iterator' } }, | ||
# { file = 'iterators/legacy/legacy_input_iterator.cppm', partition = { module = 'iterator' } }, | ||
# { file = 'iterators/legacy/legacy_output_iterator.cppm', partition = { module = 'iterator' } }, | ||
# # Root | ||
# { file = 'iterators/iterator.cppm' }, | ||
|
||
### The collections/containers librar | ||
{ file = 'collections/container.cppm', dependencies = ['type_info'] }, | ||
{ file = 'collections/array.cppm', dependencies = ['typedefs', 'concepts', 'iterator', 'container'] }, | ||
# Root | ||
{ file = 'collections/collections.cppm', dependencies = ['array'] }, | ||
|
||
### Math library | ||
# The operations library | ||
{ file = 'math/ops/arithmetic.cppm', partition = { module = 'math.ops', partition_name = 'arithmetic' } }, | ||
{ file = 'math/ops/algebraic.cppm', partition = { module = 'math.ops', partition_name = 'algebraic' } }, | ||
{ file = 'math/ops/math.ops.cppm' }, | ||
# The linear algebra library | ||
{ file = 'math/linear_algebra/matrix.cppm', partition = { module = 'math.linear_algebra', partition_name = 'matrix' } }, | ||
{ file = 'math/linear_algebra/root.cppm', module_name = 'math.linear_algebra' }, | ||
# General | ||
{ file = 'math/symbols.cppm', module_name = 'math.symbols' }, | ||
# Root | ||
{ file = 'math/math.cppm' }, | ||
|
||
### The physics library | ||
# The quantities library | ||
{ file = 'physics/quantities/internal/quantities_detail.cpp', partition = { module = 'physics.quantities', partition_name = 'quantities.detail' } }, | ||
|
||
{ file = 'physics/quantities/ratios.cppm', partition = { module = 'physics.quantities' } }, | ||
{ file = 'physics/quantities/units.symbols.cppm', module_name = 'units.symbols', partition = { module = 'physics.quantities' } }, | ||
{ file = 'physics/quantities/dimensions.cppm', module_name = 'dimensions', partition = { module = 'physics.quantities' } }, | ||
{ file = 'physics/quantities/units.cppm', module_name = 'units', partition = { module = 'physics.quantities' } }, | ||
{ file = 'physics/quantities/quantity.cppm', partition = { module = 'physics.quantities' } }, | ||
{ file = 'physics/quantities/physics.quantities.cppm' }, | ||
# Root | ||
{ file = 'physics/physics.cppm' }, | ||
|
||
# The main interface of the project | ||
{ file = 'zero.cppm' } | ||
] | ||
|