vcpkg/ports/crashpad/zlib.gn
Martin Vejdarski 6d5a1a897e
[gn, crashpad] Add GN build support and crashpad port (#10505)
* [vcpkg_find_acquire_program] Add gn

* [GN] Add build system support

* [crashpad] Add new port
2020-05-11 14:58:12 -07:00

15 lines
333 B
Plaintext

import("../../build/crashpad_buildconfig.gni")
config("zlib_config") {
defines = [ "CRASHPAD_ZLIB_SOURCE_EXTERNAL" ]
include_dirs = [ "@_INCLUDE_DIR@" ]
}
source_set("zlib") {
public_configs = [ ":zlib_config" ]
if(is_debug) {
libs = [ "@_LIBRARY_DEB@" ]
} else {
libs = [ "@_LIBRARY_REL@" ]
}
}