├── .gitignore ├── .gitmodules ├── README.md ├── clang-testing ├── test1 │ ├── Makefile │ ├── main.cpp │ └── mathlib.cpp ├── test2 │ ├── Makefile │ ├── addfile.cpp │ ├── main.cpp │ ├── mathlib.cpp │ └── subfile.cpp ├── test3-sharedlib │ ├── Makefile │ ├── addfile.cpp │ ├── main.cpp │ ├── mathlib.cpp │ └── subfile.cpp ├── test4-sharedlib-modules │ ├── Makefile │ ├── addlib.cpp │ ├── main.cpp │ ├── mathlib.cpp │ └── sublib.cpp └── test5-sharedlib-singlemodule │ ├── Makefile │ ├── addlib.cpp │ ├── main.cpp │ └── sublib.cpp ├── gcc-testing ├── test_01 │ ├── Makefile │ ├── main.cpp │ ├── my_library.cpp │ └── other_library.cpp ├── test_02_xxhash │ ├── Makefile │ ├── main.cpp │ └── vendor │ │ ├── xxhash.hpp │ │ └── xxhash_wrapper.cpp ├── test_03_mathlib │ ├── Makefile │ ├── main.cpp │ ├── mathlib.cpp │ ├── mathlib_add.cpp │ └── mathlib_sub.cpp ├── test_04_premake │ ├── Makefile │ ├── main.cpp │ ├── mymod.cpp │ └── premake5.lua ├── test_05_automake │ ├── Makefile │ ├── main.cpp │ ├── mathlib.cppm │ └── mathlib │ │ ├── addlib.cpp │ │ ├── divlib.cpp │ │ ├── multlib.cpp │ │ └── sublib.cpp ├── test_06_partitions │ ├── Makefile │ ├── main.cpp │ ├── partition.cpp │ ├── partition1.cpp │ ├── partition2.cpp │ └── partition3.cpp ├── test_07_gameengine │ ├── .gitignore │ ├── Makefile │ ├── engine │ │ ├── Makefile │ │ ├── core │ │ │ └── types.cpp │ │ ├── engine.cpp │ │ └── gcm.cache │ ├── init.sh │ └── testgame │ │ ├── Makefile │ │ ├── gamelib.cpp │ │ ├── gcm.cache │ │ └── test.cpp ├── test_08_sharedlib │ ├── Makefile │ ├── main.cpp │ └── mathlib.cpp ├── test_0A_cyclic_dependency │ ├── Makefile │ ├── module_a.cpp │ └── module_b.cpp ├── test_0B_twomodules │ ├── Makefile │ ├── main.cpp │ ├── module_a.cpp │ └── module_b.cpp ├── test_0C_twofiles │ ├── Makefile │ ├── main.cpp │ ├── module_a.cpp │ └── module_b.cpp ├── test_0D_headers │ ├── Makefile │ ├── iostream │ ├── main.cpp │ └── some_header.hpp ├── test_0E_partition_has_import │ ├── Makefile │ ├── main.cpp │ ├── partitioned_module-part.cpp │ ├── partitioned_module-part2.cpp │ ├── partitioned_module.cpp │ └── some_module.cpp ├── test_0F_partition_import_restrictions │ ├── Makefile │ ├── THIS_CANNOT_COMPILE.txt │ ├── my_module-part.cpp │ ├── my_module-part2.cpp │ └── my_module.cpp ├── test_1A_import_others_partition │ ├── Makefile │ ├── THIS_CANNOT_COMPILE.txt │ ├── main.cpp │ ├── module_1.cpp │ ├── module_2-part.cpp │ └── module_2.cpp ├── test_1B_main_declares_module │ ├── Makefile │ └── main.cpp ├── test_1C_header_definitions │ ├── Makefile │ ├── log_helper.hpp │ ├── logging.cpp │ └── main.cpp ├── test_1D_module_implementation_unit │ ├── Makefile │ ├── main.cpp │ ├── mymodule_implementation.cpp │ └── mymodule_interface.cpp ├── test_1E_module_mapping_file │ ├── Makefile │ ├── myexe │ │ ├── Makefile │ │ ├── module_mapper.txt │ │ └── myexe.cpp │ └── mylib │ │ ├── Makefile │ │ ├── module_mapper.txt │ │ ├── mylib-part.cpp │ │ └── mylib.cpp └── test_1F_module_implementation_unit_2 │ ├── Makefile │ ├── main.cpp │ ├── mymodule_implementation.cpp │ └── mymodule_interface.cpp └── guidelines.md /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/.gitmodules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/README.md -------------------------------------------------------------------------------- /clang-testing/test1/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test1/Makefile -------------------------------------------------------------------------------- /clang-testing/test1/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test1/main.cpp -------------------------------------------------------------------------------- /clang-testing/test1/mathlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test1/mathlib.cpp -------------------------------------------------------------------------------- /clang-testing/test2/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test2/Makefile -------------------------------------------------------------------------------- /clang-testing/test2/addfile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test2/addfile.cpp -------------------------------------------------------------------------------- /clang-testing/test2/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test2/main.cpp -------------------------------------------------------------------------------- /clang-testing/test2/mathlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test2/mathlib.cpp -------------------------------------------------------------------------------- /clang-testing/test2/subfile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test2/subfile.cpp -------------------------------------------------------------------------------- /clang-testing/test3-sharedlib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test3-sharedlib/Makefile -------------------------------------------------------------------------------- /clang-testing/test3-sharedlib/addfile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test3-sharedlib/addfile.cpp -------------------------------------------------------------------------------- /clang-testing/test3-sharedlib/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test3-sharedlib/main.cpp -------------------------------------------------------------------------------- /clang-testing/test3-sharedlib/mathlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test3-sharedlib/mathlib.cpp -------------------------------------------------------------------------------- /clang-testing/test3-sharedlib/subfile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test3-sharedlib/subfile.cpp -------------------------------------------------------------------------------- /clang-testing/test4-sharedlib-modules/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test4-sharedlib-modules/Makefile -------------------------------------------------------------------------------- /clang-testing/test4-sharedlib-modules/addlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test4-sharedlib-modules/addlib.cpp -------------------------------------------------------------------------------- /clang-testing/test4-sharedlib-modules/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test4-sharedlib-modules/main.cpp -------------------------------------------------------------------------------- /clang-testing/test4-sharedlib-modules/mathlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test4-sharedlib-modules/mathlib.cpp -------------------------------------------------------------------------------- /clang-testing/test4-sharedlib-modules/sublib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test4-sharedlib-modules/sublib.cpp -------------------------------------------------------------------------------- /clang-testing/test5-sharedlib-singlemodule/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test5-sharedlib-singlemodule/Makefile -------------------------------------------------------------------------------- /clang-testing/test5-sharedlib-singlemodule/addlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test5-sharedlib-singlemodule/addlib.cpp -------------------------------------------------------------------------------- /clang-testing/test5-sharedlib-singlemodule/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test5-sharedlib-singlemodule/main.cpp -------------------------------------------------------------------------------- /clang-testing/test5-sharedlib-singlemodule/sublib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/clang-testing/test5-sharedlib-singlemodule/sublib.cpp -------------------------------------------------------------------------------- /gcc-testing/test_01/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_01/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_01/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_01/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_01/my_library.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_01/my_library.cpp -------------------------------------------------------------------------------- /gcc-testing/test_01/other_library.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_01/other_library.cpp -------------------------------------------------------------------------------- /gcc-testing/test_02_xxhash/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_02_xxhash/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_02_xxhash/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_02_xxhash/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_02_xxhash/vendor/xxhash.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_02_xxhash/vendor/xxhash.hpp -------------------------------------------------------------------------------- /gcc-testing/test_02_xxhash/vendor/xxhash_wrapper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_02_xxhash/vendor/xxhash_wrapper.cpp -------------------------------------------------------------------------------- /gcc-testing/test_03_mathlib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_03_mathlib/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_03_mathlib/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_03_mathlib/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_03_mathlib/mathlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_03_mathlib/mathlib.cpp -------------------------------------------------------------------------------- /gcc-testing/test_03_mathlib/mathlib_add.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_03_mathlib/mathlib_add.cpp -------------------------------------------------------------------------------- /gcc-testing/test_03_mathlib/mathlib_sub.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_03_mathlib/mathlib_sub.cpp -------------------------------------------------------------------------------- /gcc-testing/test_04_premake/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_04_premake/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_04_premake/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_04_premake/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_04_premake/mymod.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_04_premake/mymod.cpp -------------------------------------------------------------------------------- /gcc-testing/test_04_premake/premake5.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_04_premake/premake5.lua -------------------------------------------------------------------------------- /gcc-testing/test_05_automake/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_05_automake/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_05_automake/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_05_automake/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_05_automake/mathlib.cppm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gcc-testing/test_05_automake/mathlib/addlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_05_automake/mathlib/addlib.cpp -------------------------------------------------------------------------------- /gcc-testing/test_05_automake/mathlib/divlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_05_automake/mathlib/divlib.cpp -------------------------------------------------------------------------------- /gcc-testing/test_05_automake/mathlib/multlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_05_automake/mathlib/multlib.cpp -------------------------------------------------------------------------------- /gcc-testing/test_05_automake/mathlib/sublib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_05_automake/mathlib/sublib.cpp -------------------------------------------------------------------------------- /gcc-testing/test_06_partitions/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_06_partitions/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_06_partitions/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_06_partitions/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_06_partitions/partition.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_06_partitions/partition.cpp -------------------------------------------------------------------------------- /gcc-testing/test_06_partitions/partition1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_06_partitions/partition1.cpp -------------------------------------------------------------------------------- /gcc-testing/test_06_partitions/partition2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_06_partitions/partition2.cpp -------------------------------------------------------------------------------- /gcc-testing/test_06_partitions/partition3.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_06_partitions/partition3.cpp -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_07_gameengine/.gitignore -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_07_gameengine/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/engine/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_07_gameengine/engine/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/engine/core/types.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_07_gameengine/engine/core/types.cpp -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/engine/engine.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_07_gameengine/engine/engine.cpp -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/engine/gcm.cache: -------------------------------------------------------------------------------- 1 | ../gcm.cache -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_07_gameengine/init.sh -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/testgame/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_07_gameengine/testgame/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/testgame/gamelib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_07_gameengine/testgame/gamelib.cpp -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/testgame/gcm.cache: -------------------------------------------------------------------------------- 1 | ../gcm.cache -------------------------------------------------------------------------------- /gcc-testing/test_07_gameengine/testgame/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_07_gameengine/testgame/test.cpp -------------------------------------------------------------------------------- /gcc-testing/test_08_sharedlib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_08_sharedlib/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_08_sharedlib/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_08_sharedlib/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_08_sharedlib/mathlib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_08_sharedlib/mathlib.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0A_cyclic_dependency/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0A_cyclic_dependency/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_0A_cyclic_dependency/module_a.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0A_cyclic_dependency/module_a.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0A_cyclic_dependency/module_b.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0A_cyclic_dependency/module_b.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0B_twomodules/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0B_twomodules/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_0B_twomodules/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0B_twomodules/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0B_twomodules/module_a.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0B_twomodules/module_a.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0B_twomodules/module_b.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0B_twomodules/module_b.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0C_twofiles/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0C_twofiles/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_0C_twofiles/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0C_twofiles/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0C_twofiles/module_a.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0C_twofiles/module_a.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0C_twofiles/module_b.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0C_twofiles/module_b.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0D_headers/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0D_headers/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_0D_headers/iostream: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0D_headers/iostream -------------------------------------------------------------------------------- /gcc-testing/test_0D_headers/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0D_headers/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0D_headers/some_header.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #define GREAT_VALUE 42 4 | -------------------------------------------------------------------------------- /gcc-testing/test_0E_partition_has_import/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0E_partition_has_import/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_0E_partition_has_import/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0E_partition_has_import/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0E_partition_has_import/partitioned_module-part.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0E_partition_has_import/partitioned_module-part.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0E_partition_has_import/partitioned_module-part2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0E_partition_has_import/partitioned_module-part2.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0E_partition_has_import/partitioned_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0E_partition_has_import/partitioned_module.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0E_partition_has_import/some_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0E_partition_has_import/some_module.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0F_partition_import_restrictions/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0F_partition_import_restrictions/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_0F_partition_import_restrictions/THIS_CANNOT_COMPILE.txt: -------------------------------------------------------------------------------- 1 | Because of circular dependency. 2 | -------------------------------------------------------------------------------- /gcc-testing/test_0F_partition_import_restrictions/my_module-part.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0F_partition_import_restrictions/my_module-part.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0F_partition_import_restrictions/my_module-part2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0F_partition_import_restrictions/my_module-part2.cpp -------------------------------------------------------------------------------- /gcc-testing/test_0F_partition_import_restrictions/my_module.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_0F_partition_import_restrictions/my_module.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1A_import_others_partition/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1A_import_others_partition/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_1A_import_others_partition/THIS_CANNOT_COMPILE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1A_import_others_partition/THIS_CANNOT_COMPILE.txt -------------------------------------------------------------------------------- /gcc-testing/test_1A_import_others_partition/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1A_import_others_partition/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1A_import_others_partition/module_1.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1A_import_others_partition/module_1.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1A_import_others_partition/module_2-part.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1A_import_others_partition/module_2-part.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1A_import_others_partition/module_2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1A_import_others_partition/module_2.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1B_main_declares_module/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1B_main_declares_module/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_1B_main_declares_module/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1B_main_declares_module/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1C_header_definitions/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1C_header_definitions/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_1C_header_definitions/log_helper.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1C_header_definitions/log_helper.hpp -------------------------------------------------------------------------------- /gcc-testing/test_1C_header_definitions/logging.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1C_header_definitions/logging.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1C_header_definitions/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1C_header_definitions/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1D_module_implementation_unit/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1D_module_implementation_unit/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_1D_module_implementation_unit/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1D_module_implementation_unit/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1D_module_implementation_unit/mymodule_implementation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1D_module_implementation_unit/mymodule_implementation.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1D_module_implementation_unit/mymodule_interface.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1D_module_implementation_unit/mymodule_interface.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1E_module_mapping_file/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1E_module_mapping_file/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_1E_module_mapping_file/myexe/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1E_module_mapping_file/myexe/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_1E_module_mapping_file/myexe/module_mapper.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1E_module_mapping_file/myexe/module_mapper.txt -------------------------------------------------------------------------------- /gcc-testing/test_1E_module_mapping_file/myexe/myexe.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1E_module_mapping_file/myexe/myexe.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1E_module_mapping_file/mylib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1E_module_mapping_file/mylib/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_1E_module_mapping_file/mylib/module_mapper.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1E_module_mapping_file/mylib/module_mapper.txt -------------------------------------------------------------------------------- /gcc-testing/test_1E_module_mapping_file/mylib/mylib-part.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1E_module_mapping_file/mylib/mylib-part.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1E_module_mapping_file/mylib/mylib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1E_module_mapping_file/mylib/mylib.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1F_module_implementation_unit_2/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1F_module_implementation_unit_2/Makefile -------------------------------------------------------------------------------- /gcc-testing/test_1F_module_implementation_unit_2/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1F_module_implementation_unit_2/main.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1F_module_implementation_unit_2/mymodule_implementation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1F_module_implementation_unit_2/mymodule_implementation.cpp -------------------------------------------------------------------------------- /gcc-testing/test_1F_module_implementation_unit_2/mymodule_interface.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/gcc-testing/test_1F_module_implementation_unit_2/mymodule_interface.cpp -------------------------------------------------------------------------------- /guidelines.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/alexpanter/modules_testing/HEAD/guidelines.md --------------------------------------------------------------------------------