diff --git a/SLS_C/build_system/__init__.py b/SLS_C/build_system/__init__.py index e69de29..3107257 100644 --- a/SLS_C/build_system/__init__.py +++ b/SLS_C/build_system/__init__.py @@ -0,0 +1,39 @@ +""" +Multi-platform build system for C projects. + +Supports building for: +- Linux (native) +- Windows (native) +- RP2040 (Raspberry Pi Pico) + +Usage: + python3 -m build_system [build|run|test|debug|clean] --target=self +""" + +__version__ = "1.0.0" + +from .config import get_config, set_config, Config +from .platform import ( + Platform, + detect_platform, + get_platform_name, + resolve_target, + is_windows, + is_linux, + is_macos, + is_unix +) + +__all__ = [ + "get_config", + "set_config", + "Config", + "Platform", + "detect_platform", + "get_platform_name", + "resolve_target", + "is_windows", + "is_linux", + "is_macos", + "is_unix", +] diff --git a/SLS_C/build_system/compilers/__init__.py b/SLS_C/build_system/compilers/__init__.py index e69de29..533751e 100644 --- a/SLS_C/build_system/compilers/__init__.py +++ b/SLS_C/build_system/compilers/__init__.py @@ -0,0 +1,10 @@ +""" +Compiler implementations for different toolchains. +""" + +from .base import Compiler, CompileResult + +__all__ = [ + "Compiler", + "CompileResult", +] diff --git a/SLS_C/build_system/targets/__init__.py b/SLS_C/build_system/targets/__init__.py index e69de29..c669df9 100644 --- a/SLS_C/build_system/targets/__init__.py +++ b/SLS_C/build_system/targets/__init__.py @@ -0,0 +1,10 @@ +""" +Build target implementations for different platforms. +""" + +from .base import Target, BuildType + +__all__ = [ + "Target", + "BuildType", +]