ALib C++ Library
by
Library Version:
2510 R0
Documentation generated by
Loading...
Searching...
No Matches
home
dev
A-Worx
ALib
src
alib
system
system.mpp
Go to the documentation of this file.
1
//==================================================================================================
2
/// \file
3
/// This header-file is part of the \aliblong.
4
/// With supporting legacy or module builds, .mpp-files are either recognized by the build-system
5
/// as C++20 Module interface files, or are included by the
6
/// \ref alib_manual_modules_impludes "import/include headers".
7
///
8
/// \emoji :copyright: 2013-2025 A-Worx GmbH, Germany.
9
/// Published under \ref mainpage_license "Boost Software License".
10
//==================================================================================================
11
#if !defined(ALIB_C20_MODULES) || ((ALIB_C20_MODULES != 0) && (ALIB_C20_MODULES != 1))
12
# error "Symbol ALIB_C20_MODULES has to be given to the compiler as either 0 or 1"
13
#endif
14
#if ALIB_C20_MODULES
15
module
;
16
#endif
17
// ====================================== Global Fragment ======================================
18
#include "
alib/boxing/boxing.prepro.hpp
"
19
#include "
alib/enumops/enumops.prepro.hpp
"
20
#include "
alib/enumrecords/enumrecords.prepro.hpp
"
21
#include "
alib/system/system.prepro.hpp
"
22
23
#include <filesystem>
24
#if defined( __GNUC__ ) || ( defined(_WIN32) && defined(_MSC_VER))
25
# include <errno.h>
26
#endif
27
28
// =========================================== Module ==========================================
29
#if ALIB_C20_MODULES
30
/// This is a C++ Module of the \aliblong. Due to the dual-compile option - as either
31
/// C++20 Modules or legacy C++ inclusion, the C++20 Module names are not of further interest
32
/// or use.<br>
33
/// In general, the names equal the names of the header files listed in the chapter
34
/// \ref alib_manual_modules_impludes of the \alib User Manual.
35
/// This chapter, among others, provides further explanations.
36
export
module
ALib.System
;
37
import
ALib.Lang
;
38
import
ALib.EnumOps
;
39
# if ALIB_MONOMEM
40
import
ALib.Monomem
;
41
# endif
42
# if ALIB_BOXING
43
import
ALib.Boxing
;
44
# endif
45
# if ALIB_STRINGS
46
import
ALib.Strings
;
47
# endif
48
import
ALib.EnumRecords
;
49
# if ALIB_CAMP
50
import
ALib.Exceptions
;
// only if CAMP is available
51
# endif
52
#else
53
# include "
ALib.Lang.H
"
54
# include "
ALib.Boxing.H
"
55
# include "
ALib.Strings.H
"
56
# include "
ALib.Monomem.H
"
57
# include "
ALib.EnumRecords.H
"
58
# include "
ALib.Exceptions.H
"
59
#endif
60
61
// ========================================== Exports ==========================================
62
#include "
alib/system/console.inl
"
63
#include "
alib/system/environment.inl
"
64
#include "
alib/system/systemerrors.inl
"
65
#include "
alib/system/path.inl
"
66
#include "
alib/system/processinfo.inl
"
67
68
ALib.Boxing.H
ALib.EnumRecords.H
ALib.Exceptions.H
ALib.Lang.H
ALib.Monomem.H
ALib.Strings.H
boxing.prepro.hpp
console.inl
enumops.prepro.hpp
enumrecords.prepro.hpp
environment.inl
ALib.Boxing
ALib.EnumOps
ALib.EnumRecords
ALib.Exceptions
ALib.Lang
ALib.Monomem
ALib.Strings
ALib.System
path.inl
processinfo.inl
system.prepro.hpp
systemerrors.inl