Support c-file compilation in libraries.

This commit is contained in:
Christoffer Lerno
2024-07-06 23:49:10 +02:00
parent c3ecad96b7
commit 3f62775f4b
19 changed files with 421 additions and 347 deletions

View File

@@ -0,0 +1,13 @@
{
"provides" : "clib",
"c-sources" : ["hello.c"],
"targets" : {
"macos-x64" : {
},
"macos-aarch64" : {},
"linux-x64" : {
"c-flags-override": "-fPIE"
},
"windows-x64" : { }
}
}