80 lines
No EOL
2 KiB
JSON
80 lines
No EOL
2 KiB
JSON
{
|
|
"id": "colysis",
|
|
"type": "application",
|
|
"value": {
|
|
"author": "Sander Mertens and Raysan5",
|
|
"description": "A template including both Raylib and Flecs!",
|
|
"use": [
|
|
"flecs"
|
|
],
|
|
"standalone": true
|
|
},
|
|
"lang.c": {
|
|
"${os linux}": {
|
|
"lib": [
|
|
"rt",
|
|
"pthread",
|
|
"m",
|
|
"GL",
|
|
"X11",
|
|
"Xi",
|
|
"Xcursor",
|
|
"dl",
|
|
"raylib"
|
|
]
|
|
},
|
|
"${os windows}": {
|
|
"lib": [
|
|
"raylibdll.lib",
|
|
"ws2_32",
|
|
"gdi32",
|
|
"opengl32",
|
|
"winmm",
|
|
"kernel32"
|
|
],
|
|
"defines": [
|
|
"_WINDOWS",
|
|
"_USRDLL",
|
|
"CGLM_EXPORTS",
|
|
"CGLM_DLL"
|
|
]
|
|
},
|
|
"${cfg sanitize}": {
|
|
"defines": [
|
|
"FLECS_SANITIZE"
|
|
]
|
|
},
|
|
"${os darwin}": {
|
|
"lib": [
|
|
"raylib"
|
|
],
|
|
"ldflags": [
|
|
"-framework Cocoa",
|
|
"-framework CoreVideo",
|
|
"-framework IOKit",
|
|
"-framework GLUT",
|
|
"-framework OpenGL"
|
|
]
|
|
},
|
|
"${target em}": {
|
|
"libpath": [
|
|
"~\/raylib\/src"
|
|
],
|
|
"embed": [
|
|
"assets"
|
|
],
|
|
"ldflags": [
|
|
"-I ~\/raylib\/src",
|
|
"-I ~\/raylib\/src\/external",
|
|
"-s USE_GLFW=3",
|
|
"-s ASYNCIFY",
|
|
"-s TOTAL_MEMORY=67108864",
|
|
"-s FORCE_FILESYSTEM=1",
|
|
"-s EXPORTED_FUNCTIONS=['_free','_malloc','_main']",
|
|
"-s EXPORTED_RUNTIME_METHODS=ccall",
|
|
"--shell-file ~\/raylib\/src\/minshell.html ~\/raylib\/src\/web\/libraylib.a",
|
|
"-D PLATFORM_WEB"
|
|
]
|
|
}
|
|
}
|
|
} |