extension work + static library linking
This commit is contained in:
parent
ffa0f40652
commit
b6ee9d0dc3
20 changed files with 568 additions and 131 deletions
|
@ -46,6 +46,9 @@ struct LibraryConfig {
|
|||
/// Type of library
|
||||
LibraryType lib_type;
|
||||
|
||||
/// Package config for the library, leave empty to disable
|
||||
PackageConfig package_config{};
|
||||
|
||||
/// Requirments of the library
|
||||
Array<Package> requirements;
|
||||
|
||||
|
@ -125,8 +128,8 @@ struct GlobalConfig {
|
|||
/// Platform to target (pulled from the target config)
|
||||
PlatformTarget target;
|
||||
|
||||
/// Path to the target.hcfg
|
||||
path target_config;
|
||||
/// Path to the platform.hcfg, in_memory if not on-disk
|
||||
string platform_config;
|
||||
};
|
||||
```
|
||||
|
||||
|
@ -151,6 +154,9 @@ struct Platform {
|
|||
/// C compiler
|
||||
string cc_compiler;
|
||||
|
||||
/// Do these compilers produce 32bit code?
|
||||
bool is_64bit;
|
||||
|
||||
/// Type of the platform
|
||||
PlatformType platform_type;
|
||||
};
|
||||
|
@ -162,4 +168,14 @@ enum LanguageType {
|
|||
LanguageType_CPP,
|
||||
LanguageType_C
|
||||
};
|
||||
```
|
||||
|
||||
## Profile
|
||||
```c++
|
||||
struct Profile {
|
||||
string name;
|
||||
|
||||
Array<string> compiler_flags;
|
||||
Array<string> linker_flags;
|
||||
};
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue