mirror of
https://github.com/decompals/wibo.git
synced 2025-10-15 14:45:12 +00:00
Add .editorconfig & format some files
This commit is contained in:
parent
0c2c0f653b
commit
cadb3cd00e
28
.editorconfig
Normal file
28
.editorconfig
Normal file
@ -0,0 +1,28 @@
|
||||
# EditorConfig is awesome: https://EditorConfig.org
|
||||
|
||||
# top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
# All files
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# C/C++ files
|
||||
[*.{c,cpp,h,hpp,cc,cxx}]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
tab_width = 4
|
||||
max_line_length = 120
|
||||
|
||||
# YAML files
|
||||
[*.{yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# JSON files
|
||||
[*.json]
|
||||
indent_style = space
|
||||
indent_size = 2
|
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -3,8 +3,8 @@ name: CI
|
||||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '*.md'
|
||||
- 'LICENSE'
|
||||
- "*.md"
|
||||
- "LICENSE"
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
|
@ -1,80 +1,70 @@
|
||||
{
|
||||
"version": 2,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "ninja-base",
|
||||
"hidden": true,
|
||||
"generator": "Ninja",
|
||||
"cacheVariables": {
|
||||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
||||
"WIBO_ENABLE_LIBURING": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "debug",
|
||||
"displayName": "Debug",
|
||||
"inherits": [
|
||||
"ninja-base"
|
||||
],
|
||||
"binaryDir": "${sourceDir}/build/debug",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "release",
|
||||
"displayName": "Release",
|
||||
"inherits": [
|
||||
"ninja-base"
|
||||
],
|
||||
"binaryDir": "${sourceDir}/build/release",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release"
|
||||
}
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
{
|
||||
"name": "debug",
|
||||
"displayName": "Build (Debug)",
|
||||
"configurePreset": "debug",
|
||||
"targets": [
|
||||
"wibo",
|
||||
"wibo_test_fixtures"
|
||||
],
|
||||
"configuration": "Debug"
|
||||
},
|
||||
{
|
||||
"name": "release",
|
||||
"displayName": "Build (Release)",
|
||||
"configurePreset": "release",
|
||||
"targets": [
|
||||
"wibo",
|
||||
"wibo_test_fixtures"
|
||||
],
|
||||
"configuration": "Release"
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
{
|
||||
"name": "fixtures",
|
||||
"displayName": "Run fixture tests (Debug)",
|
||||
"configurePreset": "debug",
|
||||
"configuration": "Debug",
|
||||
"output": {
|
||||
"outputOnFailure": true,
|
||||
"shortProgress": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "fixtures-release",
|
||||
"displayName": "Run fixture tests (Release)",
|
||||
"configurePreset": "release",
|
||||
"configuration": "Release",
|
||||
"output": {
|
||||
"outputOnFailure": true,
|
||||
"shortProgress": true
|
||||
}
|
||||
}
|
||||
]
|
||||
"version": 2,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "ninja-base",
|
||||
"hidden": true,
|
||||
"generator": "Ninja",
|
||||
"cacheVariables": {
|
||||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
||||
"WIBO_ENABLE_LIBURING": "ON"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "debug",
|
||||
"displayName": "Debug",
|
||||
"inherits": ["ninja-base"],
|
||||
"binaryDir": "${sourceDir}/build/debug",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Debug"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "release",
|
||||
"displayName": "Release",
|
||||
"inherits": ["ninja-base"],
|
||||
"binaryDir": "${sourceDir}/build/release",
|
||||
"cacheVariables": {
|
||||
"CMAKE_BUILD_TYPE": "Release"
|
||||
}
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
{
|
||||
"name": "debug",
|
||||
"displayName": "Build (Debug)",
|
||||
"configurePreset": "debug",
|
||||
"targets": ["wibo", "wibo_test_fixtures"],
|
||||
"configuration": "Debug"
|
||||
},
|
||||
{
|
||||
"name": "release",
|
||||
"displayName": "Build (Release)",
|
||||
"configurePreset": "release",
|
||||
"targets": ["wibo", "wibo_test_fixtures"],
|
||||
"configuration": "Release"
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
{
|
||||
"name": "fixtures",
|
||||
"displayName": "Run fixture tests (Debug)",
|
||||
"configurePreset": "debug",
|
||||
"configuration": "Debug",
|
||||
"output": {
|
||||
"outputOnFailure": true,
|
||||
"shortProgress": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "fixtures-release",
|
||||
"displayName": "Run fixture tests (Release)",
|
||||
"configurePreset": "release",
|
||||
"configuration": "Release",
|
||||
"output": {
|
||||
"outputOnFailure": true,
|
||||
"shortProgress": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -73,9 +73,9 @@ This will cross-compile the fixture executables, run them through `wibo`, and fa
|
||||
|
||||
## Related Projects
|
||||
|
||||
* [taviso/loadlibrary](https://github.com/taviso/loadlibrary) - Initial inspiration for this project.
|
||||
* [evmar/retrowin32](https://github.com/evmar/retrowin32) - A similar project with different goals and architecture.
|
||||
* [decomp.me](https://decomp.me) - Collaborative decompilation website; uses wibo to run Windows compilers.
|
||||
- [taviso/loadlibrary](https://github.com/taviso/loadlibrary) - Initial inspiration for this project.
|
||||
- [evmar/retrowin32](https://github.com/evmar/retrowin32) - A similar project with different goals and architecture.
|
||||
- [decomp.me](https://decomp.me) - Collaborative decompilation website; uses wibo to run Windows compilers.
|
||||
|
||||
## License
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user