Support c-file compilation in libraries.

This commit is contained in:
Christoffer Lerno
2024-07-07 02:08:49 +02:00
parent 3f62775f4b
commit 343ccaa2ef
3 changed files with 17 additions and 18 deletions

View File

@@ -20,6 +20,7 @@
"targets": {
"hello_world": {
"type": "executable",
"cc" : "cc",
"c-sources-override": [
"./csource/**"
],
@@ -27,12 +28,12 @@
},
"hello_world_win32": {
"type": "executable",
"cc" : "cl.exe",
"c-sources-override": [
]
},
"hello_world_lib": {
"type": "static-lib",
"cc" : "cc",
"c-sources-override": [
"./csource/**"
]