mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
e07c62d059
* Remove unused SKIA_PUBLIC_DEFINITIONS * Revise python3 injection * Major overhaul * Revise third-party downloads Declare them early in a single location, but use as needed. Validate agains skia's DEPS. * Integrate download & pkgconfig externals handling Ensure that downloads are complete with --only-downloads mode. * Move cmake functions to separate file * Turn source fixups into proper patches * Update versions * Generally disable msvc env setup * Update python patch * Remove unused patch * Rename function * Update versions * Handle third-party licenses * Move block * Rename and unset skia root variable * Fix usage with alternative build types * Update versions
26 lines
807 B
Plaintext
26 lines
807 B
Plaintext
# While propagating "libs", gn would omit duplicate items,
|
|
# possibly breaking linking order of static libraries.
|
|
# "ldflags" are propagated literally, via "all_dependent_configs".
|
|
config("vcpkg_@gn_group@") {
|
|
if(is_debug) {
|
|
defines = [ @gn_defines_DEBUG@ ]
|
|
include_dirs = [ @gn_include_dirs_DEBUG@ ]
|
|
lib_dirs = [ @gn_lib_dirs_DEBUG@ ]
|
|
} else {
|
|
defines = [ @gn_defines_RELEASE@ ]
|
|
include_dirs = [ @gn_include_dirs_RELEASE@ ]
|
|
lib_dirs = [ @gn_lib_dirs_RELEASE@ ]
|
|
}
|
|
}
|
|
config("vcpkg_@gn_group@_link_libraries") {
|
|
if(is_debug) {
|
|
ldflags = [ @gn_ldflags_DEBUG@ ]
|
|
} else {
|
|
ldflags = [ @gn_ldflags_RELEASE@ ]
|
|
}
|
|
}
|
|
group("@gn_group@") {
|
|
public_configs = [ ":vcpkg_@gn_group@" ]
|
|
all_dependent_configs = [ ":vcpkg_@gn_group@_link_libraries" ]
|
|
}
|