Skip to content

RaaliOloth8/CPPModPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CPPModPy

C++20 Modules (MSVCs cl.exe) Easy Python Builder (ONLY FOR VERY SIMPLE PROJECTS, no header units etc...) Tested only with VS2019 Preview

This is very easy C++20 modules builder only for Visual Studio cl compiler, it will work only for simple cases

  • export module X;
  • import X;
  • export import X;
  • export module X:Y; (partitions now supported)
  • export import :Y; (partitions now supported)

First it will try to generate dependencies based on source text files, then it will compile source files recursively so dependent modules will be built first. It will try not to recompile already compiled sources in current build session, and it will try not to compile sources based on modification time of generated .obj files.

How to use

  1. Place your C++ modules(.ixx) in src folder
  2. Change path to vsvars.bat in make.py
  3. Run "python make.py"

About

C++20 Modules (MSVCs cl.exe) Easy Python Builder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published