소스 검색

mark headeronly for some libs

ruki 4 년 전
부모
커밋
c1f4645941
5개의 변경된 파일10개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      packages/d/dr_flac/xmake.lua
  2. 2 0
      packages/d/dr_mp3/xmake.lua
  3. 2 0
      packages/d/dr_wav/xmake.lua
  4. 2 0
      packages/m/minimp3/xmake.lua
  5. 2 1
      packages/s/stb/xmake.lua

+ 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)