Project Setup
This commit is contained in:
parent
8a9d8b1ece
commit
9504620227
13 changed files with 125329 additions and 69 deletions
80
project.json
Normal file
80
project.json
Normal file
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue