Przeglądaj źródła

mark headeronly for some libs

ruki 4 lat temu
rodzic
commit
c1f4645941

+ 2 - 0
packages/d/dr_flac/xmake.lua

@@ -1,4 +1,6 @@
 package("dr_flac")
+
+    set_kind("library", {headeronly = true})
     set_homepage("https://github.com/mackron/dr_libs")
     set_description("Single file audio decoding libraries for C/C++.")
     set_license("MIT")

+ 2 - 0
packages/d/dr_mp3/xmake.lua

@@ -1,4 +1,6 @@
 package("dr_mp3")
+
+    set_kind("library", {headeronly = true})
     set_homepage("https://github.com/mackron/dr_libs")
     set_description("Single file audio decoding libraries for C/C++.")
     set_license("MIT")

+ 2 - 0
packages/d/dr_wav/xmake.lua

@@ -1,4 +1,6 @@
 package("dr_wav")
+
+    set_kind("library", {headeronly = true})
     set_homepage("https://github.com/mackron/dr_libs")
     set_description("Single file audio decoding libraries for C/C++.")
     set_license("MIT")

+ 2 - 0
packages/m/minimp3/xmake.lua

@@ -1,4 +1,6 @@
 package("minimp3")
+
+    set_kind("library", {headeronly = true})
     set_homepage("https://github.com/lieff/minimp3")
     set_description("Minimalistic MP3 decoder single header library")
     set_license("CC0")

+ 2 - 1
packages/s/stb/xmake.lua

@@ -1,5 +1,6 @@
 package("stb")
 
+    set_kind("library", {headeronly = true})
     set_homepage("https://github.com/nothings/stb")
     set_description("single-file public domain (or MIT licensed) libraries for C/C++")
 
@@ -13,4 +14,4 @@ package("stb")
     on_test(function (package)
         assert(package:has_cfuncs("stbi_load_from_memory", {includes = "stb_image.h"}))
         assert(package:has_cfuncs("stb_include_string", {includes = "stb_include.h"}))
-    end)
+    end)