[+] Template
This commit is contained in:
commit
88225fd9ff
25
.gitignore
vendored
Normal file
25
.gitignore
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
Build_CompilerWorkingDirectory/*
|
||||
Build_Developers/*
|
||||
Build_Ship/*
|
||||
Build_Internal/*
|
||||
Build_Develop/*
|
||||
*.vcxproj
|
||||
*.vcxproj.filters
|
||||
*.vcxproj.user
|
||||
*.licenseheader
|
||||
*.dll
|
||||
*.exe
|
||||
*.obj
|
||||
*.so
|
||||
*.dynlib
|
||||
*.lib
|
||||
*.d
|
||||
*.o
|
||||
*.out
|
||||
.vs
|
||||
compile_flags.txt
|
||||
*.mk
|
||||
*.project
|
||||
*cmake
|
||||
.intellij
|
||||
.clion
|
89
.gitmodules
vendored
Normal file
89
.gitmodules
vendored
Normal file
@ -0,0 +1,89 @@
|
||||
[submodule "Build_Scripts"]
|
||||
path = Build_Scripts
|
||||
url = https://git.reece.sx/AuroraPipeline/Build
|
||||
[submodule "Include"]
|
||||
path = Include
|
||||
url = https://git.reece.sx/AuroraPipeline/Include
|
||||
[submodule ".\\Vendor\\bzip2\\"]
|
||||
path = .\\Vendor\\bzip2\\
|
||||
url = https://git.reece.sx/AuroraMiddleware/bzip2
|
||||
[submodule ".\\Vendor\\fmt"]
|
||||
path = .\\Vendor\\fmt
|
||||
url = https://git.reece.sx/AuroraMiddleware/fmt
|
||||
[submodule ".\\Vendor\\libtomcrypt"]
|
||||
path = .\\Vendor\\libtomcrypt
|
||||
url = https://git.reece.sx/AuroraMiddleware/libtomcrypt
|
||||
[submodule ".\\Vendor\\libtommath\\"]
|
||||
path = .\\Vendor\\libtommath\\
|
||||
url = https://git.reece.sx/AuroraMiddleware/libtommath
|
||||
[submodule ".\\Vendor\\lz4\\"]
|
||||
path = .\\Vendor\\lz4\\
|
||||
url = https://git.reece.sx/AuroraMiddleware/lz4
|
||||
[submodule ".\\Vendor\\mbedtls\\"]
|
||||
path = .\\Vendor\\mbedtls\\
|
||||
url = https://git.reece.sx/AuroraMiddleware/mbedtls
|
||||
[submodule ".\\Vendor\\mimalloc"]
|
||||
path = .\\Vendor\\mimalloc
|
||||
url = https://git.reece.sx/AuroraMiddleware/mimalloc
|
||||
[submodule ".\\Vendor\\nlohmannjson"]
|
||||
path = .\\Vendor\\nlohmannjson
|
||||
url = https://git.reece.sx/AuroraMiddleware/nlohmannjson
|
||||
[submodule ".\\Vendor\\stduuid"]
|
||||
path = .\\Vendor\\stduuid
|
||||
url = https://git.reece.sx/AuroraMiddleware/stduuid
|
||||
[submodule ".\\Vendor\\zlib"]
|
||||
path = .\\Vendor\\zlib
|
||||
url = https://git.reece.sx/AuroraMiddleware/zlib
|
||||
[submodule ".\\Vendor\\zstd"]
|
||||
path = .\\Vendor\\zstd
|
||||
url = https://git.reece.sx/AuroraMiddleware/zstd
|
||||
[submodule ".\\Aurora\\AuroraRuntime"]
|
||||
path = .\\Aurora\\AuroraRuntime
|
||||
url = https://git.reece.sx/AuroraSupport/AuroraRuntime
|
||||
[submodule "..\\Build_Scripts"]
|
||||
path = Build_Scripts
|
||||
url = https://git.reece.sx/AuroraPipeline/Build
|
||||
branch = master
|
||||
[submodule "..\\Include"]
|
||||
path = Include
|
||||
url = https://git.reece.sx/AuroraPipeline/Include
|
||||
branch = master
|
||||
[submodule "Vendor/bzip2"]
|
||||
path = Vendor/bzip2
|
||||
url = https://git.reece.sx/AuroraMiddleware/bzip2
|
||||
[submodule "Vendor/fmt"]
|
||||
path = Vendor/fmt
|
||||
url = https://git.reece.sx/AuroraMiddleware/fmt
|
||||
[submodule "Vendor/libtomcrypt"]
|
||||
path = Vendor/libtomcrypt
|
||||
url = https://git.reece.sx/AuroraMiddleware/libtomcrypt
|
||||
[submodule "Vendor/libtommath"]
|
||||
path = Vendor/libtommath
|
||||
url = https://git.reece.sx/AuroraMiddleware/libtommath
|
||||
[submodule "Vendor/lz4"]
|
||||
path = Vendor/lz4
|
||||
url = https://git.reece.sx/AuroraMiddleware/lz4
|
||||
[submodule "Vendor/mbedtls"]
|
||||
path = Vendor/mbedtls
|
||||
url = https://git.reece.sx/AuroraMiddleware/mbedtls
|
||||
[submodule "Vendor/mimalloc"]
|
||||
path = Vendor/mimalloc
|
||||
url = https://git.reece.sx/AuroraMiddleware/mimalloc
|
||||
[submodule "Vendor/nlohmannjson"]
|
||||
path = Vendor/nlohmannjson
|
||||
url = https://git.reece.sx/AuroraMiddleware/nlohmannjson
|
||||
[submodule "Vendor/stduuid"]
|
||||
path = Vendor/stduuid
|
||||
url = https://git.reece.sx/AuroraMiddleware/stduuid
|
||||
[submodule "Vendor/zlib"]
|
||||
path = Vendor/zlib
|
||||
url = https://git.reece.sx/AuroraMiddleware/zlib
|
||||
[submodule "Vendor/zstd"]
|
||||
path = Vendor/zstd
|
||||
url = https://git.reece.sx/AuroraMiddleware/zstd
|
||||
[submodule "Vendor/o1heap"]
|
||||
path = Vendor/o1heap
|
||||
url = https://gitea.reece.sx/AuroraMiddleware/o1heap
|
||||
[submodule "Aurora/Runtime"]
|
||||
path = Aurora/Runtime
|
||||
url = https://gitea.reece.sx/AuroraSupport/AuroraRuntime
|
1
Aurora/Runtime
Submodule
1
Aurora/Runtime
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit c0eccaf901ab327e95720042679011295142ed58
|
1
Build_Scripts
Submodule
1
Build_Scripts
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 72cc7744a381406125c1a911770a193174190813
|
17
Build_UserScripts/bzip2.aurora.json
Normal file
17
Build_UserScripts/bzip2.aurora.json
Normal file
@ -0,0 +1,17 @@
|
||||
{
|
||||
"type": "generic",
|
||||
"name": "bzip2",
|
||||
"dllimport": "BZ_IMPORT",
|
||||
"dllexport": [],
|
||||
"include": "/",
|
||||
"staticImpDefines": "BZ_NOEXPORT",
|
||||
"sources": [
|
||||
"blocksort.*",
|
||||
"huffman.*",
|
||||
"crctable.*",
|
||||
"randtable.*",
|
||||
"compress.*",
|
||||
"decompress.*",
|
||||
"bzlib.*"
|
||||
]
|
||||
}
|
7
Build_UserScripts/fmt.aurora.json
Normal file
7
Build_UserScripts/fmt.aurora.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "fmt",
|
||||
"type": "generic",
|
||||
"noLink": true,
|
||||
"include": "include",
|
||||
"defines": "FMT_HEADER_ONLY"
|
||||
}
|
6
Build_UserScripts/json.aurora.json
Normal file
6
Build_UserScripts/json.aurora.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"noLink": true,
|
||||
"type": "generic",
|
||||
"include": "single_include",
|
||||
"name": "json"
|
||||
}
|
13
Build_UserScripts/ltc.aurora.json
Normal file
13
Build_UserScripts/ltc.aurora.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "libtomcrypt",
|
||||
"type": "generic",
|
||||
"include": "src/headers",
|
||||
"sourcePaths": "src",
|
||||
"excludes": [
|
||||
"demos/**.*",
|
||||
"tests/**.*"
|
||||
],
|
||||
"depends": "ltm",
|
||||
"defines": ["USE_LTM", "LTC_NO_PROTOTYPES"],
|
||||
"impDefines": ["LTC_SOURCE", "LTC_NO_TEST"]
|
||||
}
|
9
Build_UserScripts/ltm.aurora.json
Normal file
9
Build_UserScripts/ltm.aurora.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "libtommath",
|
||||
"type": "root",
|
||||
"excludes": [
|
||||
"demo/**.*",
|
||||
"mtest/**.*",
|
||||
"etc/**.*"
|
||||
]
|
||||
}
|
9
Build_UserScripts/lz4.aurora.json
Normal file
9
Build_UserScripts/lz4.aurora.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "lz4",
|
||||
"type": "generic",
|
||||
"sourcePaths": "lib",
|
||||
"dllexport": "LZ4_DLL_EXPORT=1",
|
||||
"dllimport": "LZ4_DLL_IMPORT=1",
|
||||
"staticImpDefines": "LZ4_STATIC_LINKING_ONLY",
|
||||
"include": "lib"
|
||||
}
|
7
Build_UserScripts/mbedtls.aurora.json
Normal file
7
Build_UserScripts/mbedtls.aurora.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "mbedtls",
|
||||
"type": "generic",
|
||||
"sourcePaths": "library/",
|
||||
"include": "include/",
|
||||
"depends": ["AuroraRuntime", "fmt", "uuid"]
|
||||
}
|
11
Build_UserScripts/mimalloc.aurora.json
Normal file
11
Build_UserScripts/mimalloc.aurora.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"name": "mimalloc",
|
||||
"type": "generic",
|
||||
"sourcePaths": "src",
|
||||
"include": "include",
|
||||
"excludes": [
|
||||
"src/page-queue.c",
|
||||
"src/page-queue.c",
|
||||
"src/static.c"
|
||||
]
|
||||
}
|
5
Build_UserScripts/o1heap.aurora.json
Normal file
5
Build_UserScripts/o1heap.aurora.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"type": "lazy_free",
|
||||
"name": "o1heap",
|
||||
"depends": ["AuroraRuntime", "fmt", "uuid"]
|
||||
}
|
6
Build_UserScripts/uuid.aurora.json
Normal file
6
Build_UserScripts/uuid.aurora.json
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "uuid",
|
||||
"type": "generic",
|
||||
"noLink": true,
|
||||
"include": "include"
|
||||
}
|
4
Build_UserScripts/zlib.aurora.json
Normal file
4
Build_UserScripts/zlib.aurora.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "zlib",
|
||||
"type": "lazy_free"
|
||||
}
|
16
Build_UserScripts/zstd.aurora.json
Normal file
16
Build_UserScripts/zstd.aurora.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "zstd",
|
||||
"type": "generic",
|
||||
"include": "lib",
|
||||
"soft-depends": ["AuroraRuntime", "fmt", "uuid"],
|
||||
"sources": [
|
||||
"lib/*.h",
|
||||
"lib/common/*.*",
|
||||
"lib/compress/*.*",
|
||||
"lib/decompress/*.*",
|
||||
"lib/dictBuilder/*.*",
|
||||
"lib/legacy/*.*"
|
||||
],
|
||||
"defines": "ZSTD_MULTITHREAD",
|
||||
"msvcIgnore": "4267"
|
||||
}
|
1
Include
Submodule
1
Include
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit d9648a7d388a2cfcabb378f2cf3b0b48d0183b7b
|
1
Vendor/bzip2
vendored
Submodule
1
Vendor/bzip2
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 99be3e790d7d832587c9e90f54992f9b55f9fa66
|
1
Vendor/fmt
vendored
Submodule
1
Vendor/fmt
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 760ca5ccc0667f671eba928b081f24286af2f0d4
|
1
Vendor/libtomcrypt
vendored
Submodule
1
Vendor/libtomcrypt
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit d059ecbbcbf3029daa35c655318a26d203daa238
|
1
Vendor/libtommath
vendored
Submodule
1
Vendor/libtommath
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit ad69438311efca4b703388fafb1a5443bf9dc220
|
1
Vendor/lz4
vendored
Submodule
1
Vendor/lz4
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit e2009622dd19556d31de498b68d8e555b7261251
|
1
Vendor/mbedtls
vendored
Submodule
1
Vendor/mbedtls
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit e6a8d55cac320aa4c2573497a9a4cb6c1bac51a6
|
1
Vendor/mimalloc
vendored
Submodule
1
Vendor/mimalloc
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 928a568c95597a022b6afebee9889cf053389c72
|
1
Vendor/nlohmannjson
vendored
Submodule
1
Vendor/nlohmannjson
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit ea528bbfda83790830e1a0892d1b2c7ce78c2961
|
1
Vendor/o1heap
vendored
Submodule
1
Vendor/o1heap
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit a731db1fd7161f46c6d583433ad59607aed04618
|
1
Vendor/stduuid
vendored
Submodule
1
Vendor/stduuid
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit ce7ad89de245aa030af7cf868b798e5f25fcf89e
|
1
Vendor/zlib
vendored
Submodule
1
Vendor/zlib
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit cacf7f1d4e3d44d871b605da3b647f07d718623f
|
1
Vendor/zstd
vendored
Submodule
1
Vendor/zstd
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit f5497c0f7d1276e85304f550ee8aa1c77e0802e6
|
3
linux_x86
Normal file
3
linux_x86
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
premake5 --scripts="Build_Scripts" gmake2 --target-linux --target-x86_64
|
118
premake5.lua
Normal file
118
premake5.lua
Normal file
@ -0,0 +1,118 @@
|
||||
require("aurora")
|
||||
|
||||
--auValaGirs = "C:\\msys64\\mingw64\\share\\gir-1.0"
|
||||
--auValaDevVApis = {"C:\\msys64\\mingw64\\share\\vala-0.52\\vapi", "C:\\msys64\\mingw64\\share\\vala\\vapi"}
|
||||
|
||||
startSolution("Runtime Project")
|
||||
|
||||
local kNamespaceStlEx = "Vendor - 1 - STLEX"
|
||||
local kNamespaceCompression = "Vendor - 2 - COMPRESSION"
|
||||
local kNamespaceFormats = "Vendor - 3 - FORMATS"
|
||||
local kNamespaceRtSupport = "Vendor - 4 - RUNTIME SUPPORT"
|
||||
local kNamespaceCrypto = "Vendor - 5 - CRYPTO"
|
||||
local kNamespaceJS = "Vendor - 6 - JAVASCRIPT"
|
||||
local kNamespaceGraphics = "Vendor - 7 - GRAPHICS"
|
||||
local kNamespaceAudio = "Vendor - 8 - AUDIO"
|
||||
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceStlEx,
|
||||
name = "uuid",
|
||||
path = "Vendor/stduuid",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceCompression,
|
||||
name = "zstd",
|
||||
path = "Vendor/zstd",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceCompression,
|
||||
name = "zlib",
|
||||
path = "Vendor/zlib",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceCompression,
|
||||
name = "bzip2",
|
||||
path = "Vendor/bzip2",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceCompression,
|
||||
name = "lz4",
|
||||
path = "Vendor/lz4",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
--addVisit({
|
||||
-- namespace = kNamespaceCompression,
|
||||
-- name = "lzma",
|
||||
-- path = "Vendor/liblzma",
|
||||
-- type = "StaticLib"
|
||||
--})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceCrypto,
|
||||
name = "ltc",
|
||||
path = "Vendor/libtomcrypt",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceCrypto,
|
||||
name = "ltm",
|
||||
path = "Vendor/libtommath",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceCrypto,
|
||||
name = "mbedtls",
|
||||
path = "Vendor/mbedtls",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceStlEx,
|
||||
name = "fmt",
|
||||
path = "Vendor/fmt",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceStlEx,
|
||||
name = "json",
|
||||
path = "Vendor/nlohmannjson",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceRtSupport,
|
||||
name = "mimalloc",
|
||||
path = "Vendor/mimalloc",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = kNamespaceRtSupport,
|
||||
name = "o1heap",
|
||||
path = "Vendor/o1heap",
|
||||
type = "StaticLib"
|
||||
})
|
||||
|
||||
addVisit({
|
||||
namespace = "Aurora",
|
||||
name = "AuroraRuntime",
|
||||
path = "Aurora/Runtime",
|
||||
type = "SharedLib",
|
||||
out = "[BUILD_PATH]"
|
||||
})
|
||||
|
||||
|
||||
processSolution()
|
1
win_x86.bat
Normal file
1
win_x86.bat
Normal file
@ -0,0 +1 @@
|
||||
premake5 --scripts="Build_Scripts" vs2019 --target-win32 --target-x86_64
|
Loading…
Reference in New Issue
Block a user