-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathplatform.cppm
More file actions
23 lines (21 loc) · 834 Bytes
/
platform.cppm
File metadata and controls
23 lines (21 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// mcpp.platform — unified platform abstraction facade.
//
// Import this single module to get access to all platform capabilities.
// Re-exports every sub-module so consumers can write:
//
// import mcpp.platform;
// // then use mcpp::platform::fs::self_exe_path(), etc.
//
// Platform-specific modules (macos, linux, windows) are always compiled
// on all platforms but their functions are no-ops on non-matching
// platforms, so consumers can call them without #ifdef guards.
export module mcpp.platform;
export import mcpp.platform.common;
export import mcpp.platform.shell;
export import mcpp.platform.process;
export import mcpp.platform.fs;
export import mcpp.platform.env;
export import mcpp.platform.macos;
export import mcpp.platform.linux;
export import mcpp.platform.windows;
export import mcpp.platform.terminal;