Implemented init files
This commit is contained in:
parent
387bbfd9fe
commit
2fb369b9d4
|
|
@ -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",
|
||||||
|
]
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
"""
|
||||||
|
Compiler implementations for different toolchains.
|
||||||
|
"""
|
||||||
|
|
||||||
|
from .base import Compiler, CompileResult
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"Compiler",
|
||||||
|
"CompileResult",
|
||||||
|
]
|
||||||
|
|
@ -0,0 +1,10 @@
|
||||||
|
"""
|
||||||
|
Build target implementations for different platforms.
|
||||||
|
"""
|
||||||
|
|
||||||
|
from .base import Target, BuildType
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"Target",
|
||||||
|
"BuildType",
|
||||||
|
]
|
||||||
Loading…
Reference in New Issue