Open WEREMSOFT opened 5 years ago
@WEREMSOFT did you try adding them as cflags?
{
"id": "my_project",
"type": "package"
"value": {
},
"lang.c": {
"cflags": ["-framework OpenGL", "-framework Cocoa"]
}
}
If you also need to pass things down to the linker, try ldflags
.
I'm working with openGL and I need to link the apple-type-library called "frameworks". This is done by adding "-framework OpenGL -framework Cocoa" as compiler parameter.
With make, I do the following:
set(CMAKE_C_FLAGS "-framework OpenGL -framework Cocoa")
How this is done in bake? (maybe a bake question, but I hit the wall while trying to use the admin).
Thanks