47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"name": "AuroraWM",
|
|
"type": "generic",
|
|
"sources": "src/*.*",
|
|
"include": "include",
|
|
"impInclude-disabled": "src",
|
|
"dllexport": "_AUWM_BUILD_DLL",
|
|
"dllimport": "AUWM_DLL",
|
|
"staticImpDefines": "_AUWM_HAS_EP",
|
|
"depends": ["AuroraRuntime", "fmt", "glm", "uuid"],
|
|
"actions": [
|
|
{
|
|
"eval": "includedirs(\"src\")"
|
|
},
|
|
{
|
|
"if": "win32",
|
|
"then": {
|
|
"sources": ["src/win32/**.*", "src/msft/**.*"],
|
|
"impInclude": ["src/win32", "src/msft"],
|
|
"impDefines": ["_AUWM_WIN32", "AUFW_HAS_DIRECTINPUT"]
|
|
}
|
|
},
|
|
{
|
|
"if": "linux",
|
|
"then": {
|
|
"sources": ["src/linux/**.*"],
|
|
"impInclude": ["src/linux"]
|
|
}
|
|
},
|
|
{
|
|
"if": "linux and wayland",
|
|
"then": {
|
|
"sources": ["src/wl/**.*"],
|
|
"impInclude": ["src/wl"],
|
|
"impDefines": "_AUWM_WAYLAND"
|
|
}
|
|
},
|
|
{
|
|
"if": "linux",
|
|
"then": {
|
|
"sources": ["src/x11/**.*"],
|
|
"impInclude": ["src/x11"],
|
|
"impDefines": "_AUWM_X11"
|
|
}
|
|
}
|
|
]
|
|
} |