Explorar el Código

jsoncpp: clean code

star9029 hace 3 meses
padre
commit
532c4efccb
Se han modificado 1 ficheros con 0 adiciones y 8 borrados
  1. 0 8
      packages/j/jsoncpp/xmake.lua

+ 0 - 8
packages/j/jsoncpp/xmake.lua

@@ -23,15 +23,7 @@ package("jsoncpp")
         table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release"))
         table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF"))
         table.insert(configs, "-DBUILD_STATIC_LIBS=" .. (package:config("shared") and "OFF" or "ON"))
-        if package:is_plat("windows") then
-            table.insert(configs, "-DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=''")
-        end
         import("package.tools.cmake").install(package, configs)
-
-        if package:is_plat("windows") and package:is_debug() then
-            local dir = package:installdir(package:config("shared") and "bin" or "lib")
-            os.vcp(path.join(package:buildir(), "**.pdb"), dir)
-        end
     end)
 
     on_test(function(package)