Convert all usages of target_link_libraries to use PUBLIC/PRIVATE specifiers (#81924)
authorJeremy Koritzinsky <jekoritz@microsoft.com>
Fri, 24 Feb 2023 23:33:00 +0000 (15:33 -0800)
committerGitHub <noreply@github.com>
Fri, 24 Feb 2023 23:33:00 +0000 (15:33 -0800)
commite11c3349ef717c854e43be18daf85923cda9f01a
treec7d7eca2a6a51b9ea017ea2ed3bb35671e438256
parent4dd649b45c8f430a1f2ad48c68baea9a94c5fb6a
Convert all usages of target_link_libraries to use PUBLIC/PRIVATE specifiers (#81924)

Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
121 files changed:
src/coreclr/debug/createdump/CMakeLists.txt
src/coreclr/dlls/mscordbi/CMakeLists.txt
src/coreclr/gc/CMakeLists.txt
src/coreclr/gc/sample/CMakeLists.txt
src/coreclr/hosts/corerun/CMakeLists.txt
src/coreclr/hosts/coreshim/CMakeLists.txt
src/coreclr/ilasm/CMakeLists.txt
src/coreclr/ildasm/exe/CMakeLists.txt
src/coreclr/jit/CMakeLists.txt
src/coreclr/pal/src/CMakeLists.txt
src/coreclr/pal/src/eventprovider/lttngprovider/CMakeLists.txt
src/coreclr/pal/tests/palsuite/CMakeLists.txt
src/coreclr/pal/tests/palsuite/eventprovider/CMakeLists.txt
src/coreclr/pal/tests/palsuite/exception_handling/pal_sxs/test1/CMakeLists.txt
src/coreclr/tools/StressLogAnalyzer/CMakeLists.txt
src/coreclr/tools/superpmi/mcs/CMakeLists.txt
src/coreclr/tools/superpmi/superpmi-shim-collector/CMakeLists.txt
src/coreclr/tools/superpmi/superpmi-shim-counter/CMakeLists.txt
src/coreclr/tools/superpmi/superpmi-shim-simple/CMakeLists.txt
src/coreclr/tools/superpmi/superpmi/CMakeLists.txt
src/coreclr/utilcode/CMakeLists.txt
src/mono/dlls/dbgshim/CMakeLists.txt
src/mono/dlls/mscordbi/CMakeLists.txt
src/mono/mono/eventpipe/test/CMakeLists.txt
src/mono/mono/mini/CMakeLists.txt
src/mono/mono/profiler/CMakeLists.txt
src/mono/wasi/runtime/CMakeLists.txt
src/mono/wasm/runtime/CMakeLists.txt
src/native/corehost/apphost/standalone/CMakeLists.txt
src/native/corehost/apphost/static/CMakeLists.txt
src/native/corehost/comhost/CMakeLists.txt
src/native/corehost/common.cmake
src/native/corehost/fxr/standalone/CMakeLists.txt
src/native/corehost/hostpolicy/standalone/CMakeLists.txt
src/native/corehost/ijwhost/CMakeLists.txt
src/native/corehost/test/comsxs/CMakeLists.txt
src/native/corehost/test/fx_ver/CMakeLists.txt
src/native/corehost/test/ijw/CMakeLists.txt
src/native/corehost/test/nativehost/CMakeLists.txt
src/native/libs/System.Globalization.Native/CMakeLists.txt
src/native/libs/System.IO.Compression.Native/CMakeLists.txt
src/native/libs/System.Native/CMakeLists.txt
src/native/libs/System.Net.Security.Native/CMakeLists.txt
src/native/libs/System.Security.Cryptography.Native.Android/CMakeLists.txt
src/native/libs/System.Security.Cryptography.Native.Apple/CMakeLists.txt
src/native/libs/System.Security.Cryptography.Native/CMakeLists.txt
src/native/libs/build-native.cmd
src/tasks/AndroidAppBuilder/Templates/CMakeLists-android.txt
src/tasks/AppleAppBuilder/Templates/CMakeLists.txt.template
src/tests/Interop/ArrayMarshalling/BoolArray/CMakeLists.txt
src/tests/Interop/ArrayMarshalling/SafeArray/CMakeLists.txt
src/tests/Interop/BestFitMapping/CMakeLists.txt
src/tests/Interop/COM/ComWrappers/MockReferenceTrackerRuntime/CMakeLists.txt
src/tests/Interop/COM/ComWrappers/WeakReference/CMakeLists.txt
src/tests/Interop/COM/Dynamic/Server/CMakeLists.txt
src/tests/Interop/COM/NativeClients/DefaultInterfaces/CMakeLists.txt
src/tests/Interop/COM/NativeClients/Dispatch/CMakeLists.txt
src/tests/Interop/COM/NativeClients/Events/CMakeLists.txt
src/tests/Interop/COM/NativeClients/Licensing/CMakeLists.txt
src/tests/Interop/COM/NativeClients/Primitives/CMakeLists.txt
src/tests/Interop/COM/NativeServer/CMakeLists.txt
src/tests/Interop/DisabledRuntimeMarshalling/CMakeLists.txt
src/tests/Interop/DllImportAttribute/DllImportPath/CMakeLists.txt
src/tests/Interop/DllImportAttribute/ExactSpelling/CMakeLists.txt
src/tests/Interop/ExecInDefAppDom/CMakeLists.txt
src/tests/Interop/FuncPtrAsDelegateParam/CMakeLists.txt
src/tests/Interop/ICustomMarshaler/ConflictingNames/CMakeLists.txt
src/tests/Interop/ICustomMarshaler/Primitives/CMakeLists.txt
src/tests/Interop/IJW/CopyConstructorMarshaler/CMakeLists.txt
src/tests/Interop/IJW/IjwNativeCallingManagedDll/CMakeLists.txt
src/tests/Interop/IJW/IjwNativeDll/CMakeLists.txt
src/tests/Interop/IJW/NativeVarargs/CMakeLists.txt
src/tests/Interop/IJW/ijwhostmock/CMakeLists.txt
src/tests/Interop/LayoutClass/CMakeLists.txt
src/tests/Interop/MarshalAPI/FunctionPointer/CMakeLists.txt
src/tests/Interop/MarshalAPI/IUnknown/CMakeLists.txt
src/tests/Interop/MonoAPI/Native/mono-embedding-api-test/CMakeLists.txt
src/tests/Interop/NativeLibrary/NativeLibraryToLoad/CMakeLists.txt
src/tests/Interop/ObjectiveC/AutoReleaseTest/CMakeLists.txt
src/tests/Interop/ObjectiveC/ObjectiveCMarshalAPI/CMakeLists.txt
src/tests/Interop/PInvoke/Array/MarshalArrayAsField/LPArrayNative/CMakeLists.txt
src/tests/Interop/PInvoke/Array/MarshalArrayAsParam/LPArrayNative/CMakeLists.txt
src/tests/Interop/PInvoke/ArrayWithOffset/CMakeLists.txt
src/tests/Interop/PInvoke/AsAny/CMakeLists.txt
src/tests/Interop/PInvoke/Attributes/LCID/CMakeLists.txt
src/tests/Interop/PInvoke/BestFitMapping/Char/CMakeLists.txt
src/tests/Interop/PInvoke/BestFitMapping/LPStr/CMakeLists.txt
src/tests/Interop/PInvoke/CriticalHandles/CMakeLists.txt
src/tests/Interop/PInvoke/CustomMarshalers/CMakeLists.txt
src/tests/Interop/PInvoke/DateTime/CMakeLists.txt
src/tests/Interop/PInvoke/Decimal/CMakeLists.txt
src/tests/Interop/PInvoke/Delegate/CMakeLists.txt
src/tests/Interop/PInvoke/IEnumerator/CMakeLists.txt
src/tests/Interop/PInvoke/SafeHandles/CMakeLists.txt
src/tests/Interop/PInvoke/SetLastError/CMakeLists.txt
src/tests/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByOut/CMakeLists.txt
src/tests/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByRef/CMakeLists.txt
src/tests/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByOut/CMakeLists.txt
src/tests/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByRef/CMakeLists.txt
src/tests/Interop/PInvoke/Varargs/CMakeLists.txt
src/tests/Interop/PInvoke/Variant/CMakeLists.txt
src/tests/Interop/PInvoke/Vector2_3_4/CMakeLists.txt
src/tests/Interop/PrimitiveMarshalling/Bool/CMakeLists.txt
src/tests/Interop/PrimitiveMarshalling/EnumMarshalling/CMakeLists.txt
src/tests/Interop/PrimitiveMarshalling/UIntPtr/CMakeLists.txt
src/tests/Interop/RefCharArray/CMakeLists.txt
src/tests/Interop/SimpleStruct/CMakeLists.txt
src/tests/Interop/StringMarshalling/AnsiBSTR/CMakeLists.txt
src/tests/Interop/StringMarshalling/BSTR/CMakeLists.txt
src/tests/Interop/StringMarshalling/LPSTR/CMakeLists.txt
src/tests/Interop/StringMarshalling/LPTSTR/CMakeLists.txt
src/tests/Interop/StringMarshalling/UTF8/CMakeLists.txt
src/tests/Interop/StringMarshalling/VBByRefStr/CMakeLists.txt
src/tests/Interop/StructMarshalling/PInvoke/CMakeLists.txt
src/tests/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/CMakeLists.txt
src/tests/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/CMakeLists.txt
src/tests/Interop/SuppressGCTransition/CMakeLists.txt
src/tests/Interop/UnmanagedCallConv/CMakeLists.txt
src/tests/Interop/UnmanagedCallersOnly/CMakeLists.txt
src/tests/nativeaot/SmokeTests/PInvoke/CMakeLists.txt
src/tests/nativeaot/SmokeTests/SharedLibrary/CMakeLists.txt