Added module config to include RAID as a module in another project.
This commit is contained in:
parent
0e7db75623
commit
8540550138
6
SModule
Normal file
6
SModule
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
Import('env')
|
||||
|
||||
env = env.Module('private/raid/SModule')
|
||||
|
||||
Return('env')
|
16
dependencies.json
Normal file
16
dependencies.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"fmt": {},
|
||||
"mijin": {},
|
||||
"imgui": {
|
||||
"options": {
|
||||
"docking": true,
|
||||
"backends": [
|
||||
"sdl3",
|
||||
"opengl3"
|
||||
]
|
||||
}
|
||||
},
|
||||
"SDL": {
|
||||
"min": [3,0,0]
|
||||
}
|
||||
}
|
@ -1,30 +1,20 @@
|
||||
|
||||
import json
|
||||
|
||||
Import('env')
|
||||
|
||||
src_files = Split("""
|
||||
application.cpp
|
||||
""")
|
||||
|
||||
with open('../../dependencies.json', 'r') as f:
|
||||
dependencies = env.DepsFromJson(json.load(f))
|
||||
|
||||
lib_raid = env.UnityStaticLibrary(
|
||||
name = 'RAID',
|
||||
target = env['LIB_DIR'] + '/raid',
|
||||
source = src_files,
|
||||
dependencies = {
|
||||
'fmt': {},
|
||||
'mijin': {},
|
||||
'imgui': {
|
||||
'options': {
|
||||
'docking': True,
|
||||
'backends': [
|
||||
'sdl3',
|
||||
'opengl3'
|
||||
]
|
||||
}
|
||||
},
|
||||
'SDL': {
|
||||
'min': (3,0,0)
|
||||
}
|
||||
}
|
||||
dependencies = dependencies
|
||||
)
|
||||
env.Default(lib_raid)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user