diff --git a/docs/workflow/requirements/linux-requirements.md b/docs/workflow/requirements/linux-requirements.md index 8a801f89f4e406..7ae133a269c3ce 100644 --- a/docs/workflow/requirements/linux-requirements.md +++ b/docs/workflow/requirements/linux-requirements.md @@ -62,7 +62,7 @@ Minimum RAM required to build is 1GB. The build is known to fail on 512 MB VMs ( Toolchain Setup --------------- -Add Kitware's APT feed to your configuration for a newer version of CMake. See their instructions at . Also, add LLVM/s APT feed to your configuration for a newer version of CMake. See their instructions as . +Building the repo requires CMake 3.14.2 or newer on Linux. Add Kitware's APT feed to your configuration for a newer version of CMake. See their instructions at . Also, add LLVM/s APT feed to your configuration for a newer version of CMake. See their instructions as . Install the following packages for the toolchain: diff --git a/src/coreclr/CMakeLists.txt b/src/coreclr/CMakeLists.txt index da119edca81478..2929f7eda5bdde 100644 --- a/src/coreclr/CMakeLists.txt +++ b/src/coreclr/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14) +cmake_minimum_required(VERSION 3.14.2) cmake_policy(SET CMP0042 NEW) diff --git a/src/coreclr/src/ToolBox/SOS/DacTableGen/CMakeLists.txt b/src/coreclr/src/ToolBox/SOS/DacTableGen/CMakeLists.txt index 39597ce243fcb5..dcd39e346c98e4 100644 --- a/src/coreclr/src/ToolBox/SOS/DacTableGen/CMakeLists.txt +++ b/src/coreclr/src/ToolBox/SOS/DacTableGen/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 3.8) # This project is only included on Win32 platforms so we can have a higher CMake version requirement since we already require a newer CMake version on Windows for various reasons. # Quick note: The CMake C# support is using the CSC bundled with the MSBuild that the native build runs on, not the one supplied by the local .NET SDK. project(DacTableGen LANGUAGES CSharp) diff --git a/src/coreclr/src/pal/CMakeLists.txt b/src/coreclr/src/pal/CMakeLists.txt index a510d250816b63..ca4a35da8619a4 100644 --- a/src/coreclr/src/pal/CMakeLists.txt +++ b/src/coreclr/src/pal/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12.2) - project(COREPAL) include(../../clrfeatures.cmake) diff --git a/src/coreclr/src/pal/prebuilt/inc/CMakeLists.txt b/src/coreclr/src/pal/prebuilt/inc/CMakeLists.txt index ae9892bb779e7d..79f8e541e02a81 100644 --- a/src/coreclr/src/pal/prebuilt/inc/CMakeLists.txt +++ b/src/coreclr/src/pal/prebuilt/inc/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12.2) - project(COREPAL) _install (FILES corerror.h corprof.h DESTINATION inc) diff --git a/src/coreclr/src/pal/src/CMakeLists.txt b/src/coreclr/src/pal/src/CMakeLists.txt index 9486244da0b5b7..095b1941a3adff 100644 --- a/src/coreclr/src/pal/src/CMakeLists.txt +++ b/src/coreclr/src/pal/src/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12.2) - if(CMAKE_SYSTEM_NAME STREQUAL Darwin OR CMAKE_SYSTEM_NAME STREQUAL FreeBSD) # On OSX and *BSD, we use the libunwind that's part of the OS set(CLR_CMAKE_USE_SYSTEM_LIBUNWIND 1) diff --git a/src/coreclr/src/pal/src/eventprovider/CMakeLists.txt b/src/coreclr/src/pal/src/eventprovider/CMakeLists.txt index bd820a81649d08..3f5b0310d62075 100644 --- a/src/coreclr/src/pal/src/eventprovider/CMakeLists.txt +++ b/src/coreclr/src/pal/src/eventprovider/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12) - set(EVENT_MANIFEST ${VM_DIR}/ClrEtwAll.man) if(CLR_CMAKE_PLATFORM_LINUX OR CLR_CMAKE_PLATFORM_FREEBSD) diff --git a/src/coreclr/src/pal/src/eventprovider/dummyprovider/CMakeLists.txt b/src/coreclr/src/pal/src/eventprovider/dummyprovider/CMakeLists.txt index 40636fddbf799d..39b9826d1ab5a0 100644 --- a/src/coreclr/src/pal/src/eventprovider/dummyprovider/CMakeLists.txt +++ b/src/coreclr/src/pal/src/eventprovider/dummyprovider/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12) - include(FindPython) set (GENERATE_SCRIPT ${CLR_DIR}/src/scripts/genDummyProvider.py) diff --git a/src/coreclr/src/pal/src/eventprovider/lttngprovider/CMakeLists.txt b/src/coreclr/src/pal/src/eventprovider/lttngprovider/CMakeLists.txt index e3d20ab68770a1..0b350d959f6ed6 100644 --- a/src/coreclr/src/pal/src/eventprovider/lttngprovider/CMakeLists.txt +++ b/src/coreclr/src/pal/src/eventprovider/lttngprovider/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12) - include(FindPython) set (GENERATE_SCRIPT ${CLR_DIR}/src/scripts/genLttngProvider.py) diff --git a/src/coreclr/src/pal/src/libunwind/src/CMakeLists.txt b/src/coreclr/src/pal/src/libunwind/src/CMakeLists.txt index 334aca5eb1fccd..99ba79b2038333 100644 --- a/src/coreclr/src/pal/src/libunwind/src/CMakeLists.txt +++ b/src/coreclr/src/pal/src/libunwind/src/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12.2) - project(unwind) set(CMAKE_INCLUDE_CURRENT_DIR ON) diff --git a/src/coreclr/src/pal/tests/CMakeLists.txt b/src/coreclr/src/pal/tests/CMakeLists.txt index be35c11014f887..22e07c54030626 100644 --- a/src/coreclr/src/pal/tests/CMakeLists.txt +++ b/src/coreclr/src/pal/tests/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.12.2) +cmake_minimum_required(VERSION 3.14.2) if(CLR_CMAKE_PLATFORM_ARCH_I386) set(PAL_CMAKE_PLATFORM_ARCH_I386 1) diff --git a/src/coreclr/src/pal/tests/palsuite/CMakeLists.txt b/src/coreclr/src/pal/tests/palsuite/CMakeLists.txt index 0b67d9480a263d..e70fd12d872c3f 100644 --- a/src/coreclr/src/pal/tests/palsuite/CMakeLists.txt +++ b/src/coreclr/src/pal/tests/palsuite/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12.2) - project(PALTESTSUITE) set(CMAKE_INCLUDE_CURRENT_DIR ON) diff --git a/src/coreclr/src/vm/eventing/CMakeLists.txt b/src/coreclr/src/vm/eventing/CMakeLists.txt index 380a2820dee1df..bb90721a63f2c2 100644 --- a/src/coreclr/src/vm/eventing/CMakeLists.txt +++ b/src/coreclr/src/vm/eventing/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12) - set(EVENT_MANIFEST ${VM_DIR}/ClrEtwAll.man) set(EVENT_EXCLUSIONS ${VM_DIR}/ClrEtwAllMeta.lst) diff --git a/src/coreclr/src/vm/eventing/EtwProvider/CMakeLists.txt b/src/coreclr/src/vm/eventing/EtwProvider/CMakeLists.txt index 8289309730eaa1..34a067e1ec5427 100644 --- a/src/coreclr/src/vm/eventing/EtwProvider/CMakeLists.txt +++ b/src/coreclr/src/vm/eventing/EtwProvider/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12) - include(FindPython) set(ETW_PROVIDER_SCRIPT ${CLR_DIR}/src/scripts/genEtwProvider.py) diff --git a/src/coreclr/src/vm/eventing/eventpipe/CMakeLists.txt b/src/coreclr/src/vm/eventing/eventpipe/CMakeLists.txt index 3ce136226d4ec6..3e75643e3f7afb 100644 --- a/src/coreclr/src/vm/eventing/eventpipe/CMakeLists.txt +++ b/src/coreclr/src/vm/eventing/eventpipe/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required(VERSION 2.8.12.2) - include(FindPython) set(CMAKE_INCLUDE_CURRENT_DIR ON) diff --git a/src/coreclr/tests/CMakeLists.txt b/src/coreclr/tests/CMakeLists.txt index bda7ab8cae9637..88c08149481d30 100644 --- a/src/coreclr/tests/CMakeLists.txt +++ b/src/coreclr/tests/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14) +cmake_minimum_required(VERSION 3.14.2) cmake_policy(SET CMP0042 NEW) project(Tests) diff --git a/src/coreclr/tests/src/Common/Platform/CMakeLists.txt b/src/coreclr/tests/src/Common/Platform/CMakeLists.txt index 4aeab2d3b03776..1cb92e32f57061 100755 --- a/src/coreclr/tests/src/Common/Platform/CMakeLists.txt +++ b/src/coreclr/tests/src/Common/Platform/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (platformdefines) set(SOURCES platformdefines.cpp) diff --git a/src/coreclr/tests/src/Common/hostpolicymock/CMakeLists.txt b/src/coreclr/tests/src/Common/hostpolicymock/CMakeLists.txt index 0913bf5f2eb250..ba75fe9e492141 100644 --- a/src/coreclr/tests/src/Common/hostpolicymock/CMakeLists.txt +++ b/src/coreclr/tests/src/Common/hostpolicymock/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 2.6) project (hostpolicy) include_directories(${INC_PLATFORM_DIR}) diff --git a/src/coreclr/tests/src/Exceptions/ForeignThread/CMakeLists.txt b/src/coreclr/tests/src/Exceptions/ForeignThread/CMakeLists.txt index a8ab5a12a63310..39ee068b45c490 100644 --- a/src/coreclr/tests/src/Exceptions/ForeignThread/CMakeLists.txt +++ b/src/coreclr/tests/src/Exceptions/ForeignThread/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - project (ForeignThreadExceptionsNative) include_directories(${INC_PLATFORM_DIR}) diff --git a/src/coreclr/tests/src/Interop/ArrayMarshalling/BoolArray/CMakeLists.txt b/src/coreclr/tests/src/Interop/ArrayMarshalling/BoolArray/CMakeLists.txt index 021ad352344669..50a43d1ffac680 100644 --- a/src/coreclr/tests/src/Interop/ArrayMarshalling/BoolArray/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/ArrayMarshalling/BoolArray/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (MarshalBoolArrayNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES MarshalBoolArrayNative.cpp) diff --git a/src/coreclr/tests/src/Interop/ArrayMarshalling/ByValArray/CMakeLists.txt b/src/coreclr/tests/src/Interop/ArrayMarshalling/ByValArray/CMakeLists.txt index 5f8d5d4e2c114e..5bf14969d89770 100644 --- a/src/coreclr/tests/src/Interop/ArrayMarshalling/ByValArray/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/ArrayMarshalling/ByValArray/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (MarshalArrayByValNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES MarshalArrayByValNative.cpp) diff --git a/src/coreclr/tests/src/Interop/ArrayMarshalling/SafeArray/CMakeLists.txt b/src/coreclr/tests/src/Interop/ArrayMarshalling/SafeArray/CMakeLists.txt index bb80d2ed0b6a14..3c28de43313660 100644 --- a/src/coreclr/tests/src/Interop/ArrayMarshalling/SafeArray/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/ArrayMarshalling/SafeArray/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (SafeArrayNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES SafeArrayNative.cpp RecordNative.cpp) diff --git a/src/coreclr/tests/src/Interop/BestFitMapping/CMakeLists.txt b/src/coreclr/tests/src/Interop/BestFitMapping/CMakeLists.txt index f2fe36f70e27bd..05f50045072a1e 100755 --- a/src/coreclr/tests/src/Interop/BestFitMapping/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/BestFitMapping/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (BestFitMappingNative) set(SOURCES BestFitMappingNative.cpp ) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") diff --git a/src/coreclr/tests/src/Interop/COM/NativeClients/DefaultInterfaces/CMakeLists.txt b/src/coreclr/tests/src/Interop/COM/NativeClients/DefaultInterfaces/CMakeLists.txt index e1448218f05d61..38954f3d1d2352 100644 --- a/src/coreclr/tests/src/Interop/COM/NativeClients/DefaultInterfaces/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/COM/NativeClients/DefaultInterfaces/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - project (COMClientDefaultInterfaces) include_directories( ${INC_PLATFORM_DIR} ) include_directories( "../../ServerContracts" ) diff --git a/src/coreclr/tests/src/Interop/COM/NativeClients/Dispatch/CMakeLists.txt b/src/coreclr/tests/src/Interop/COM/NativeClients/Dispatch/CMakeLists.txt index e6d874591f3882..a8a8bba03ccfa0 100644 --- a/src/coreclr/tests/src/Interop/COM/NativeClients/Dispatch/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/COM/NativeClients/Dispatch/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - include_directories( ${INC_PLATFORM_DIR} ) include_directories( "../../ServerContracts" ) include_directories( "../../NativeServer" ) diff --git a/src/coreclr/tests/src/Interop/COM/NativeClients/Licensing/CMakeLists.txt b/src/coreclr/tests/src/Interop/COM/NativeClients/Licensing/CMakeLists.txt index 237b6142687f2c..d850c7ee067a16 100644 --- a/src/coreclr/tests/src/Interop/COM/NativeClients/Licensing/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/COM/NativeClients/Licensing/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - project (COMClientLicensing) include_directories( ${INC_PLATFORM_DIR} ) include_directories( "../../ServerContracts" ) diff --git a/src/coreclr/tests/src/Interop/COM/NativeClients/Primitives/CMakeLists.txt b/src/coreclr/tests/src/Interop/COM/NativeClients/Primitives/CMakeLists.txt index 58089170b8c868..57af5d8af9b7bd 100644 --- a/src/coreclr/tests/src/Interop/COM/NativeClients/Primitives/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/COM/NativeClients/Primitives/CMakeLists.txt @@ -1,5 +1,3 @@ -cmake_minimum_required (VERSION 2.6) - project (COMClientPrimitives) include_directories( ${INC_PLATFORM_DIR} ) include_directories( "../../ServerContracts" ) diff --git a/src/coreclr/tests/src/Interop/COM/NativeServer/CMakeLists.txt b/src/coreclr/tests/src/Interop/COM/NativeServer/CMakeLists.txt index 368248d9723246..4874baf456baab 100644 --- a/src/coreclr/tests/src/Interop/COM/NativeServer/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/COM/NativeServer/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (COMNativeServer) include_directories( ${INC_PLATFORM_DIR} ) include_directories( "../ServerContracts" ) diff --git a/src/coreclr/tests/src/Interop/DllImportAttribute/DllImportPath/CMakeLists.txt b/src/coreclr/tests/src/Interop/DllImportAttribute/DllImportPath/CMakeLists.txt index 1fd3775ec2daed..ad67362d08a27e 100644 --- a/src/coreclr/tests/src/Interop/DllImportAttribute/DllImportPath/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/DllImportAttribute/DllImportPath/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (DllImportPath) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/DllImportAttribute/ExactSpelling/CMakeLists.txt b/src/coreclr/tests/src/Interop/DllImportAttribute/ExactSpelling/CMakeLists.txt index 95648097d96e9d..87309b6edc9577 100644 --- a/src/coreclr/tests/src/Interop/DllImportAttribute/ExactSpelling/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/DllImportAttribute/ExactSpelling/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (ExactSpellingNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") diff --git a/src/coreclr/tests/src/Interop/ExecInDefAppDom/CMakeLists.txt b/src/coreclr/tests/src/Interop/ExecInDefAppDom/CMakeLists.txt index 85cc2d86cb3ae1..206a58dc1ca597 100644 --- a/src/coreclr/tests/src/Interop/ExecInDefAppDom/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/ExecInDefAppDom/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (ExecInDefAppDomDll) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES ExecInDefAppDomDll.cpp ) diff --git a/src/coreclr/tests/src/Interop/FuncPtrAsDelegateParam/CMakeLists.txt b/src/coreclr/tests/src/Interop/FuncPtrAsDelegateParam/CMakeLists.txt index 25a6b83bab8694..db130523bf1d51 100644 --- a/src/coreclr/tests/src/Interop/FuncPtrAsDelegateParam/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/FuncPtrAsDelegateParam/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (FuncPtrAsDelegateParamNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES FuncPtrAsDelegateParamNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/ICustomMarshaler/ConflictingNames/CMakeLists.txt b/src/coreclr/tests/src/Interop/ICustomMarshaler/ConflictingNames/CMakeLists.txt index b1743b761ba05a..b9b2343e648ae5 100644 --- a/src/coreclr/tests/src/Interop/ICustomMarshaler/ConflictingNames/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/ICustomMarshaler/ConflictingNames/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (CustomMarshalersConflictingNames) include_directories(${INC_PLATFORM_DIR}) set(SOURCES CustomMarshalerNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/IJW/CopyConstructorMarshaler/CMakeLists.txt b/src/coreclr/tests/src/Interop/IJW/CopyConstructorMarshaler/CMakeLists.txt index 807f3a982d4e42..d04364e65f8eca 100644 --- a/src/coreclr/tests/src/Interop/IJW/CopyConstructorMarshaler/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/IJW/CopyConstructorMarshaler/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (CopyConstructorMarshaler) include("../IJW.cmake") diff --git a/src/coreclr/tests/src/Interop/IJW/IjwNativeCallingManagedDll/CMakeLists.txt b/src/coreclr/tests/src/Interop/IJW/IjwNativeCallingManagedDll/CMakeLists.txt index cc62aa1f5f50c3..c2c791ca566fce 100644 --- a/src/coreclr/tests/src/Interop/IJW/IjwNativeCallingManagedDll/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/IJW/IjwNativeCallingManagedDll/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (IjwNativeCallingManagedDll) include("../IJW.cmake") diff --git a/src/coreclr/tests/src/Interop/IJW/IjwNativeDll/CMakeLists.txt b/src/coreclr/tests/src/Interop/IJW/IjwNativeDll/CMakeLists.txt index ef72059d82d85d..b843a03eb5f2db 100644 --- a/src/coreclr/tests/src/Interop/IJW/IjwNativeDll/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/IJW/IjwNativeDll/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (IjwNativeDll) include("../IJW.cmake") diff --git a/src/coreclr/tests/src/Interop/IJW/NativeVarargs/CMakeLists.txt b/src/coreclr/tests/src/Interop/IJW/NativeVarargs/CMakeLists.txt index c7cb1e356652b8..4defade96497de 100644 --- a/src/coreclr/tests/src/Interop/IJW/NativeVarargs/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/IJW/NativeVarargs/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (IjwNativeVarargs) include("../IJW.cmake") diff --git a/src/coreclr/tests/src/Interop/IJW/ijwhostmock/CMakeLists.txt b/src/coreclr/tests/src/Interop/IJW/ijwhostmock/CMakeLists.txt index bdcf920dc104fb..df4b1934195729 100644 --- a/src/coreclr/tests/src/Interop/IJW/ijwhostmock/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/IJW/ijwhostmock/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (mscoree) include_directories( ${INC_PLATFORM_DIR} ) set(SOURCES mscoree.cpp) diff --git a/src/coreclr/tests/src/Interop/LayoutClass/CMakeLists.txt b/src/coreclr/tests/src/Interop/LayoutClass/CMakeLists.txt index 5626d66387b1a6..fa4dab93391938 100644 --- a/src/coreclr/tests/src/Interop/LayoutClass/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/LayoutClass/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (LayoutClassNative) include_directories(${INC_PLATFORM_DIR}) set(SOURCES LayoutClassNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/MarshalAPI/FunctionPointer/CMakeLists.txt b/src/coreclr/tests/src/Interop/MarshalAPI/FunctionPointer/CMakeLists.txt index fbcb51e7878019..1455eadd733117 100644 --- a/src/coreclr/tests/src/Interop/MarshalAPI/FunctionPointer/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/MarshalAPI/FunctionPointer/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (FunctionPointerNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES FunctionPointerNative.cpp) diff --git a/src/coreclr/tests/src/Interop/MarshalAPI/IUnknown/CMakeLists.txt b/src/coreclr/tests/src/Interop/MarshalAPI/IUnknown/CMakeLists.txt index 6dfecd17faffa4..233055eb0d5cb1 100644 --- a/src/coreclr/tests/src/Interop/MarshalAPI/IUnknown/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/MarshalAPI/IUnknown/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (IUnknownNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES IUnknownNative.cpp) diff --git a/src/coreclr/tests/src/Interop/NativeCallable/CMakeLists.txt b/src/coreclr/tests/src/Interop/NativeCallable/CMakeLists.txt index 5a178d2ca13650..d428cd0178ce21 100644 --- a/src/coreclr/tests/src/Interop/NativeCallable/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/NativeCallable/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (NativeCallableDll) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES NativeCallableDll.cpp ) diff --git a/src/coreclr/tests/src/Interop/NativeLibrary/CMakeLists.txt b/src/coreclr/tests/src/Interop/NativeLibrary/CMakeLists.txt index b08f7b3020288d..7701efc955993c 100644 --- a/src/coreclr/tests/src/Interop/NativeLibrary/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/NativeLibrary/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (NativeLibrary) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES NativeLibrary.cpp) diff --git a/src/coreclr/tests/src/Interop/NativeLibraryResolveCallback/CMakeLists.txt b/src/coreclr/tests/src/Interop/NativeLibraryResolveCallback/CMakeLists.txt index b3f3409e3e0fd1..9d30a77d9ef9b0 100644 --- a/src/coreclr/tests/src/Interop/NativeLibraryResolveCallback/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/NativeLibraryResolveCallback/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (ResolveLib) include_directories(${INC_PLATFORM_DIR}) set(SOURCES ResolveLib.cpp) diff --git a/src/coreclr/tests/src/Interop/NativeLibraryResolveEvent/CMakeLists.txt b/src/coreclr/tests/src/Interop/NativeLibraryResolveEvent/CMakeLists.txt index 20935806ca18a8..9f84f14712f6f2 100644 --- a/src/coreclr/tests/src/Interop/NativeLibraryResolveEvent/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/NativeLibraryResolveEvent/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (ResolvedLib) include_directories(${INC_PLATFORM_DIR}) set(SOURCES ResolvedLib.cpp) diff --git a/src/coreclr/tests/src/Interop/PInvoke/Array/MarshalArrayAsField/LPArrayNative/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Array/MarshalArrayAsField/LPArrayNative/CMakeLists.txt index b332bcb4c4e95a..325aba26bc0060 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Array/MarshalArrayAsField/LPArrayNative/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Array/MarshalArrayAsField/LPArrayNative/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (MarshalArrayByValArrayNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") include_directories("../..") diff --git a/src/coreclr/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/LPArrayNative/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/LPArrayNative/CMakeLists.txt index 414726138fee4b..8c4e61381f9598 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/LPArrayNative/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Array/MarshalArrayAsParam/LPArrayNative/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (MarshalArrayLPArrayNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") include_directories("../..") diff --git a/src/coreclr/tests/src/Interop/PInvoke/ArrayWithOffset/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/ArrayWithOffset/CMakeLists.txt index 937c3c1736fbc6..fd79648bfa1826 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/ArrayWithOffset/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/ArrayWithOffset/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (ArrayWithOffsetNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/AsAny/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/AsAny/CMakeLists.txt index 81820edf993293..f136f92ba0066a 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/AsAny/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/AsAny/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (AsAnyNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/Attributes/LCID/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Attributes/LCID/CMakeLists.txt index 0aa07914cf1b84..5ea33f134bef11 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Attributes/LCID/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Attributes/LCID/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (LCIDNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/Attributes/SuppressGCTransition/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Attributes/SuppressGCTransition/CMakeLists.txt index 75ebd1ab6f083e..08892034d0365b 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Attributes/SuppressGCTransition/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Attributes/SuppressGCTransition/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (SuppressGCTransitionNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/BestFitMapping/Char/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/BestFitMapping/Char/CMakeLists.txt index 37c6b13861f824..72c385ba3cf4e3 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/BestFitMapping/Char/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/BestFitMapping/Char/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (Char_BestFitMappingNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/BestFitMapping/LPStr/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/BestFitMapping/LPStr/CMakeLists.txt index 971de04ce1210a..c345e1b6354fa9 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/BestFitMapping/LPStr/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/BestFitMapping/LPStr/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (LPStr_BestFitMappingNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/CriticalHandles/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/CriticalHandles/CMakeLists.txt index f704c03c100be8..e57c7146a5bc5a 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/CriticalHandles/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/CriticalHandles/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (CriticalHandlesNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/CustomMarshalers/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/CustomMarshalers/CMakeLists.txt index bd32dd51279138..6535bc389488aa 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/CustomMarshalers/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/CustomMarshalers/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (CustomMarshalersNative) include_directories(${INC_PLATFORM_DIR}) set(SOURCES CustomMarshalersNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/PInvoke/DateTime/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/DateTime/CMakeLists.txt index b547be1f824220..6b3018ac44e6dc 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/DateTime/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/DateTime/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (NativeDateTime) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/Decimal/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Decimal/CMakeLists.txt index d3c40fc6d9380a..1ea463f5936758 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Decimal/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Decimal/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES DecimalTestNative.cpp diff --git a/src/coreclr/tests/src/Interop/PInvoke/Delegate/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Delegate/CMakeLists.txt index ba53afc5660763..cdc107d700eb69 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Delegate/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Delegate/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES DelegateTestNative.cpp diff --git a/src/coreclr/tests/src/Interop/PInvoke/Generics/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Generics/CMakeLists.txt index 60a39035ee1919..a667affd921757 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Generics/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Generics/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (GenericsNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") if(CLR_CMAKE_TARGET_ARCH_I386) diff --git a/src/coreclr/tests/src/Interop/PInvoke/IEnumerator/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/IEnumerator/CMakeLists.txt index c040698d2abf53..41b3799675d1cf 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/IEnumerator/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/IEnumerator/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (IEnumeratorNative) include_directories(${INC_PLATFORM_DIR}) set(SOURCES IEnumeratorNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/HandleRef/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/HandleRef/CMakeLists.txt index b4a03d7c374025..e4975485c62510 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/HandleRef/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/HandleRef/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (HandleRefNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/MultipleAssembliesWithSamePInvoke/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/MultipleAssembliesWithSamePInvoke/CMakeLists.txt index 253c9a93098392..fb6e84958422d1 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/MultipleAssembliesWithSamePInvoke/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/MultipleAssembliesWithSamePInvoke/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (MAWSPINative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/ThisCall/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/ThisCall/CMakeLists.txt index a8908b2143478a..305104d226fc09 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/ThisCall/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Miscellaneous/ThisCall/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (ThisCallNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/CMakeLists.txt index 6630f9ca813a43..924b6a8f7f32e2 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/NativeCallManagedComVisible/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (ComVisibleNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/PInvoke/Primitives/Int/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Primitives/Int/CMakeLists.txt index 5d6513fec6de43..25cfea57d8c618 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Primitives/Int/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Primitives/Int/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (PInvokeIntNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES PInvokeIntNative.cpp) diff --git a/src/coreclr/tests/src/Interop/PInvoke/Primitives/RuntimeHandles/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Primitives/RuntimeHandles/CMakeLists.txt index b9dca0a33c425e..9b22fecb263478 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Primitives/RuntimeHandles/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Primitives/RuntimeHandles/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (RuntimeHandlesNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES RuntimeHandlesNative.cpp) diff --git a/src/coreclr/tests/src/Interop/PInvoke/SafeHandles/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/SafeHandles/CMakeLists.txt index 8382ed4982dcae..5ebde4def44cdd 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/SafeHandles/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/SafeHandles/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES SafeHandleNative.cpp diff --git a/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByOut/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByOut/CMakeLists.txt index 52a6b3e00f0727..89c6ee61d46532 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByOut/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByOut/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (PInvokePassingByOutNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") include_directories("..") diff --git a/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByRef/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByRef/CMakeLists.txt index 083a6bf39a16e5..e0daa377b3e08d 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByRef/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/PInvoke/PassingByRef/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (PInvokePassingByRefNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") include_directories("..") diff --git a/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByOut/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByOut/CMakeLists.txt index 151d42f06c3d23..a2871bbf92309f 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByOut/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByOut/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (RPIP_ByOutNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") include_directories("..") diff --git a/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByRef/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByRef/CMakeLists.txt index 3176cfc826e96b..172be23050eab6 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByRef/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/SizeParamIndex/ReversePInvoke/PassingByRef/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (RPIP_ByRefNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") include_directories("..") diff --git a/src/coreclr/tests/src/Interop/PInvoke/Varargs/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Varargs/CMakeLists.txt index 2a627c0520cb27..010dcc40ec6521 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Varargs/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Varargs/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (VarargsNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES VarargsNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/PInvoke/Variant/CMakeLists.txt b/src/coreclr/tests/src/Interop/PInvoke/Variant/CMakeLists.txt index 4edbe61b18a07d..9eaff11b99458d 100644 --- a/src/coreclr/tests/src/Interop/PInvoke/Variant/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PInvoke/Variant/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (VariantNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES VariantNative.cpp) diff --git a/src/coreclr/tests/src/Interop/PrimitiveMarshalling/Bool/CMakeLists.txt b/src/coreclr/tests/src/Interop/PrimitiveMarshalling/Bool/CMakeLists.txt index 7e5c2571307feb..efafb84e4a27e6 100644 --- a/src/coreclr/tests/src/Interop/PrimitiveMarshalling/Bool/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PrimitiveMarshalling/Bool/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (NativeBool) set(SOURCES BoolNative.cpp ) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") diff --git a/src/coreclr/tests/src/Interop/PrimitiveMarshalling/EnumMarshalling/CMakeLists.txt b/src/coreclr/tests/src/Interop/PrimitiveMarshalling/EnumMarshalling/CMakeLists.txt index 92f21f908af493..70b8d31b91d22b 100644 --- a/src/coreclr/tests/src/Interop/PrimitiveMarshalling/EnumMarshalling/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PrimitiveMarshalling/EnumMarshalling/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (MarshalEnumNative) set(SOURCES MarshalEnumNative.cpp ) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") diff --git a/src/coreclr/tests/src/Interop/PrimitiveMarshalling/UIntPtr/CMakeLists.txt b/src/coreclr/tests/src/Interop/PrimitiveMarshalling/UIntPtr/CMakeLists.txt index 2f706af2c138c3..b8d4314ae90efa 100644 --- a/src/coreclr/tests/src/Interop/PrimitiveMarshalling/UIntPtr/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/PrimitiveMarshalling/UIntPtr/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (UIntPtrNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES UIntPtrNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/RefCharArray/CMakeLists.txt b/src/coreclr/tests/src/Interop/RefCharArray/CMakeLists.txt index a366c31d81665a..3e2a7756e79bf0 100755 --- a/src/coreclr/tests/src/Interop/RefCharArray/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/RefCharArray/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (RefCharArrayNative) set(SOURCES RefCharArrayNative.cpp ) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") diff --git a/src/coreclr/tests/src/Interop/RefInt/CMakeLists.txt b/src/coreclr/tests/src/Interop/RefInt/CMakeLists.txt index af63eff930825b..99de22de7547b0 100755 --- a/src/coreclr/tests/src/Interop/RefInt/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/RefInt/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (RefIntNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES RefIntNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/SimpleStruct/CMakeLists.txt b/src/coreclr/tests/src/Interop/SimpleStruct/CMakeLists.txt index a0ebd66d25206e..6d5f14a52726b9 100644 --- a/src/coreclr/tests/src/Interop/SimpleStruct/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/SimpleStruct/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (SimpleStructNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES SimpleStructNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/SizeConst/CMakeLists.txt b/src/coreclr/tests/src/Interop/SizeConst/CMakeLists.txt index 720e8f6ba8535b..0ae1ca80f4d812 100644 --- a/src/coreclr/tests/src/Interop/SizeConst/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/SizeConst/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (SizeConstNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES SizeConstNative.cpp) diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/AnsiBSTR/CMakeLists.txt b/src/coreclr/tests/src/Interop/StringMarshalling/AnsiBSTR/CMakeLists.txt index 621fed88f8d882..a85e22110ef373 100644 --- a/src/coreclr/tests/src/Interop/StringMarshalling/AnsiBSTR/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StringMarshalling/AnsiBSTR/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (AnsiBStrTestNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES AnsiBStrTestNative.cpp) diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/BSTR/CMakeLists.txt b/src/coreclr/tests/src/Interop/StringMarshalling/BSTR/CMakeLists.txt index 9b3616b5c239cc..6b8ade5b888825 100644 --- a/src/coreclr/tests/src/Interop/StringMarshalling/BSTR/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StringMarshalling/BSTR/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES BStrTestNative.cpp) diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/CMakeLists.txt b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/CMakeLists.txt index 78de806a7a24d1..88ec002ec5edf2 100644 --- a/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StringMarshalling/LPSTR/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) set(SOURCES LPStrTestNative.cpp ) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/CMakeLists.txt b/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/CMakeLists.txt index bbd99644a3f61a..1bddeac704a8ac 100644 --- a/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StringMarshalling/LPTSTR/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) set(SOURCES LPTStrTestNative.cpp ) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/UTF8/CMakeLists.txt b/src/coreclr/tests/src/Interop/StringMarshalling/UTF8/CMakeLists.txt index 03b47546e41cba..83011495be0d04 100644 --- a/src/coreclr/tests/src/Interop/StringMarshalling/UTF8/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StringMarshalling/UTF8/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (UTF8TestNative) set(SOURCES UTF8TestNative.cpp ) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") diff --git a/src/coreclr/tests/src/Interop/StringMarshalling/VBByRefStr/CMakeLists.txt b/src/coreclr/tests/src/Interop/StringMarshalling/VBByRefStr/CMakeLists.txt index f736342844714b..6096d773566b17 100644 --- a/src/coreclr/tests/src/Interop/StringMarshalling/VBByRefStr/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StringMarshalling/VBByRefStr/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (VBByRefStrNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES VBByRefStrNative.cpp ) diff --git a/src/coreclr/tests/src/Interop/StructMarshalling/PInvoke/CMakeLists.txt b/src/coreclr/tests/src/Interop/StructMarshalling/PInvoke/CMakeLists.txt index 5ea19af6641438..9941369defd260 100644 --- a/src/coreclr/tests/src/Interop/StructMarshalling/PInvoke/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StructMarshalling/PInvoke/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (MarshalStructAsParam) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES MarshalStructAsParamDLL.cpp) diff --git a/src/coreclr/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/CMakeLists.txt b/src/coreclr/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/CMakeLists.txt index 2f4907271d9d73..c2a31950a70be8 100644 --- a/src/coreclr/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalExpStruct/CMakeLists.txt @@ -1,5 +1,4 @@ -cmake_minimum_required (VERSION 2.6) project (ReversePInvokeNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/CMakeLists.txt b/src/coreclr/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/CMakeLists.txt index 397a73b673dcab..ef11ce1acb6521 100644 --- a/src/coreclr/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/StructMarshalling/ReversePInvoke/MarshalSeqStruct/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (SeqPInvokeNative) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") set(SOURCES diff --git a/src/coreclr/tests/src/Interop/WinRT/NativeComponent/CMakeLists.txt b/src/coreclr/tests/src/Interop/WinRT/NativeComponent/CMakeLists.txt index 536e4c4ee59c61..4ed71ac8eb47dc 100644 --- a/src/coreclr/tests/src/Interop/WinRT/NativeComponent/CMakeLists.txt +++ b/src/coreclr/tests/src/Interop/WinRT/NativeComponent/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.8.12) project (WinRTNativeComponent) include_directories( ${INC_PLATFORM_DIR} ) include ("${CLR_INTEROP_TEST_ROOT}/Interop.cmake") diff --git a/src/coreclr/tests/src/JIT/Directed/StructABI/CMakeLists.txt b/src/coreclr/tests/src/JIT/Directed/StructABI/CMakeLists.txt index b4952d58503268..a0de07860513a6 100644 --- a/src/coreclr/tests/src/JIT/Directed/StructABI/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/Directed/StructABI/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (StructABILib) include_directories(${INC_PLATFORM_DIR}) diff --git a/src/coreclr/tests/src/JIT/Directed/arglist/CMakeLists.txt b/src/coreclr/tests/src/JIT/Directed/arglist/CMakeLists.txt index c627a624d21818..ccecdb536df15a 100644 --- a/src/coreclr/tests/src/JIT/Directed/arglist/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/Directed/arglist/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (varargnative) include_directories(${INC_PLATFORM_DIR}) diff --git a/src/coreclr/tests/src/JIT/Directed/pinning/object-pin/CMakeLists.txt b/src/coreclr/tests/src/JIT/Directed/pinning/object-pin/CMakeLists.txt index ff4a430eb1b4f7..c17fe6fc415149 100644 --- a/src/coreclr/tests/src/JIT/Directed/pinning/object-pin/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/Directed/pinning/object-pin/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 2.6) project(object_pin_mirror) set(CMAKE_SHARED_LIBRARY_PREFIX "") diff --git a/src/coreclr/tests/src/JIT/Directed/pinvoke/CMakeLists.txt b/src/coreclr/tests/src/JIT/Directed/pinvoke/CMakeLists.txt index 9ed78ec3d431c5..7616aef865e5e0 100644 --- a/src/coreclr/tests/src/JIT/Directed/pinvoke/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/Directed/pinvoke/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 2.6) project(PInvokeExampleNative) set(CMAKE_SHARED_LIBRARY_PREFIX "") diff --git a/src/coreclr/tests/src/JIT/Methodical/gc_poll/CMakeLists.txt b/src/coreclr/tests/src/JIT/Methodical/gc_poll/CMakeLists.txt index b832809e06435e..13049b20763450 100644 --- a/src/coreclr/tests/src/JIT/Methodical/gc_poll/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/Methodical/gc_poll/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (GCPollNative) set(SOURCES diff --git a/src/coreclr/tests/src/JIT/Methodical/structs/systemvbringup/CMakeLists.txt b/src/coreclr/tests/src/JIT/Methodical/structs/systemvbringup/CMakeLists.txt index f4a3253b12a6cf..6ed3b60ff63bd4 100644 --- a/src/coreclr/tests/src/JIT/Methodical/structs/systemvbringup/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/Methodical/structs/systemvbringup/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 2.6) project(jitstructtests) set(CMAKE_SHARED_LIBRARY_PREFIX "") diff --git a/src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M02/b108129/CMakeLists.txt b/src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M02/b108129/CMakeLists.txt index 7fddee3af431c0..656e0b0df1f65d 100644 --- a/src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M02/b108129/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/Regression/VS-ia64-JIT/V1.2-M02/b108129/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 2.6) project(b108129_test2) include_directories(${INC_PLATFORM_DIR}) set(CMAKE_SHARED_LIBRARY_PREFIX "") diff --git a/src/coreclr/tests/src/JIT/SIMD/CMakeLists.txt b/src/coreclr/tests/src/JIT/SIMD/CMakeLists.txt index 555703b920fa5d..a5127be36f4658 100755 --- a/src/coreclr/tests/src/JIT/SIMD/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/SIMD/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) project (Vector3TestNative) include_directories(${INC_PLATFORM_DIR}) set(SOURCES Vector3TestNative.cpp ) diff --git a/src/coreclr/tests/src/JIT/jit64/hfa/main/dll/CMakeLists.txt b/src/coreclr/tests/src/JIT/jit64/hfa/main/dll/CMakeLists.txt index 096f8761d8678c..2751523d47d3e5 100644 --- a/src/coreclr/tests/src/JIT/jit64/hfa/main/dll/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/jit64/hfa/main/dll/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 2.6) project(hfa_interop) set(CMAKE_SHARED_LIBRARY_PREFIX "") diff --git a/src/coreclr/tests/src/JIT/jit64/mcc/interop/CMakeLists.txt b/src/coreclr/tests/src/JIT/jit64/mcc/interop/CMakeLists.txt index 0e4219949d9b08..f8abfa223caa1c 100644 --- a/src/coreclr/tests/src/JIT/jit64/mcc/interop/CMakeLists.txt +++ b/src/coreclr/tests/src/JIT/jit64/mcc/interop/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 2.6) project(mcc_native) set(CMAKE_SHARED_LIBRARY_PREFIX "") diff --git a/src/coreclr/tests/src/Loader/NativeLibs/CMakeLists.txt b/src/coreclr/tests/src/Loader/NativeLibs/CMakeLists.txt index dffde9ada10168..905e25c68023ed 100644 --- a/src/coreclr/tests/src/Loader/NativeLibs/CMakeLists.txt +++ b/src/coreclr/tests/src/Loader/NativeLibs/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required(VERSION 2.6) project(FromNativePaths_lib) set(CMAKE_SHARED_LIBRARY_PREFIX "") diff --git a/src/coreclr/tests/src/baseservices/exceptions/regressions/Dev11/147911/CMakeLists.txt b/src/coreclr/tests/src/baseservices/exceptions/regressions/Dev11/147911/CMakeLists.txt index 1bbbd915d2058c..432dd1cb64324b 100644 --- a/src/coreclr/tests/src/baseservices/exceptions/regressions/Dev11/147911/CMakeLists.txt +++ b/src/coreclr/tests/src/baseservices/exceptions/regressions/Dev11/147911/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) if(WIN32) project (fpcw) include_directories(${INC_PLATFORM_DIR}) diff --git a/src/coreclr/tests/src/baseservices/exceptions/regressions/V1/SEH/VJ/CMakeLists.txt b/src/coreclr/tests/src/baseservices/exceptions/regressions/V1/SEH/VJ/CMakeLists.txt index fa7315e4c7d9f7..bfe25327916e84 100644 --- a/src/coreclr/tests/src/baseservices/exceptions/regressions/V1/SEH/VJ/CMakeLists.txt +++ b/src/coreclr/tests/src/baseservices/exceptions/regressions/V1/SEH/VJ/CMakeLists.txt @@ -1,4 +1,3 @@ -cmake_minimum_required (VERSION 2.6) if (WIN32) project (Unmanaged) include_directories(${INC_PLATFORM_DIR}) diff --git a/src/installer/corehost/CMakeLists.txt b/src/installer/corehost/CMakeLists.txt index 2b8473f47e9eb7..eccefce32ad0a3 100644 --- a/src/installer/corehost/CMakeLists.txt +++ b/src/installer/corehost/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required (VERSION 3.14) +cmake_minimum_required(VERSION 3.14.2) project(corehost) diff --git a/src/installer/corehost/cli/apphost/CMakeLists.txt b/src/installer/corehost/cli/apphost/CMakeLists.txt index 552fd51b86a6fa..241c994f436b74 100644 --- a/src/installer/corehost/cli/apphost/CMakeLists.txt +++ b/src/installer/corehost/cli/apphost/CMakeLists.txt @@ -2,7 +2,6 @@ # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. -cmake_minimum_required (VERSION 2.6) project(apphost) set(DOTNET_PROJECT_NAME "apphost") diff --git a/src/installer/corehost/cli/comhost/CMakeLists.txt b/src/installer/corehost/cli/comhost/CMakeLists.txt index 2c7e0c9f30fe5a..6be26bb349ee0d 100644 --- a/src/installer/corehost/cli/comhost/CMakeLists.txt +++ b/src/installer/corehost/cli/comhost/CMakeLists.txt @@ -2,7 +2,6 @@ # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. -cmake_minimum_required (VERSION 2.6) project(comhost) set(DOTNET_PROJECT_NAME "comhost") @@ -48,4 +47,4 @@ if (WIN32) endif() install(TARGETS comhost DESTINATION corehost) -install_symbols(comhost corehost) \ No newline at end of file +install_symbols(comhost corehost) diff --git a/src/installer/corehost/cli/dotnet/CMakeLists.txt b/src/installer/corehost/cli/dotnet/CMakeLists.txt index 319d735810a4a3..9750bf61d70816 100644 --- a/src/installer/corehost/cli/dotnet/CMakeLists.txt +++ b/src/installer/corehost/cli/dotnet/CMakeLists.txt @@ -2,7 +2,6 @@ # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. -cmake_minimum_required (VERSION 2.6) project(dotnet) set(DOTNET_PROJECT_NAME "dotnet") diff --git a/src/installer/corehost/cli/fxr/CMakeLists.txt b/src/installer/corehost/cli/fxr/CMakeLists.txt index 4a44e7bc91d79c..ee83dc4fee9887 100644 --- a/src/installer/corehost/cli/fxr/CMakeLists.txt +++ b/src/installer/corehost/cli/fxr/CMakeLists.txt @@ -2,7 +2,6 @@ # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. -cmake_minimum_required (VERSION 2.6) project(hostfxr) set(DOTNET_PROJECT_NAME "hostfxr") diff --git a/src/installer/corehost/cli/hostpolicy/CMakeLists.txt b/src/installer/corehost/cli/hostpolicy/CMakeLists.txt index 7713cbe3155579..da157c93f8a1f9 100644 --- a/src/installer/corehost/cli/hostpolicy/CMakeLists.txt +++ b/src/installer/corehost/cli/hostpolicy/CMakeLists.txt @@ -2,7 +2,6 @@ # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. -cmake_minimum_required (VERSION 2.6) project(hostpolicy) set(DOTNET_PROJECT_NAME "hostpolicy") diff --git a/src/installer/corehost/cli/nethost/CMakeLists.txt b/src/installer/corehost/cli/nethost/CMakeLists.txt index 7473958e260035..8fff8ea49eb668 100644 --- a/src/installer/corehost/cli/nethost/CMakeLists.txt +++ b/src/installer/corehost/cli/nethost/CMakeLists.txt @@ -2,7 +2,6 @@ # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. -cmake_minimum_required (VERSION 2.6) project(nethost) set(DOTNET_PROJECT_NAME "nethost") diff --git a/src/installer/corehost/cli/test/mockcoreclr/CMakeLists.txt b/src/installer/corehost/cli/test/mockcoreclr/CMakeLists.txt index d4fef6862932d6..016cf8ce123625 100644 --- a/src/installer/corehost/cli/test/mockcoreclr/CMakeLists.txt +++ b/src/installer/corehost/cli/test/mockcoreclr/CMakeLists.txt @@ -2,7 +2,6 @@ # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. -cmake_minimum_required (VERSION 2.6) project(mockcoreclr) set(DOTNET_PROJECT_NAME "mockcoreclr") diff --git a/src/installer/corehost/cli/test/mockhostpolicy/CMakeLists.txt b/src/installer/corehost/cli/test/mockhostpolicy/CMakeLists.txt index 4e4e7c227ba574..282f477cc596fe 100644 --- a/src/installer/corehost/cli/test/mockhostpolicy/CMakeLists.txt +++ b/src/installer/corehost/cli/test/mockhostpolicy/CMakeLists.txt @@ -2,7 +2,6 @@ # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. -cmake_minimum_required (VERSION 2.6) project(mockhostpolicy) set(DOTNET_PROJECT_NAME "mockhostpolicy") diff --git a/src/installer/corehost/cli/test/nativehost/CMakeLists.txt b/src/installer/corehost/cli/test/nativehost/CMakeLists.txt index a60cb8407ab1d8..04d34fdf1d88b2 100644 --- a/src/installer/corehost/cli/test/nativehost/CMakeLists.txt +++ b/src/installer/corehost/cli/test/nativehost/CMakeLists.txt @@ -2,7 +2,6 @@ # The .NET Foundation licenses this file to you under the MIT license. # See the LICENSE file in the project root for more information. -cmake_minimum_required (VERSION 2.8.12) project(nativehost) set(DOTNET_PROJECT_NAME "nativehost") @@ -51,4 +50,4 @@ target_link_libraries(${DOTNET_PROJECT_NAME} nethost) # Specify non-default Windows libs to be used for Arm/Arm64 builds if (WIN32 AND (CLI_CMAKE_PLATFORM_ARCH_ARM OR CLI_CMAKE_PLATFORM_ARCH_ARM64)) target_link_libraries(${DOTNET_PROJECT_NAME} Advapi32.lib Ole32.lib OleAut32.lib) -endif() \ No newline at end of file +endif() diff --git a/src/installer/corehost/cli/test_fx_ver/CMakeLists.txt b/src/installer/corehost/cli/test_fx_ver/CMakeLists.txt index d7812c5f32edc1..d7d8db0171d9d9 100644 --- a/src/installer/corehost/cli/test_fx_ver/CMakeLists.txt +++ b/src/installer/corehost/cli/test_fx_ver/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (c) .NET Foundation and contributors. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for full license information. -cmake_minimum_required (VERSION 2.6) project(test_fx_ver) set(EXE_NAME "test_fx_ver") diff --git a/src/installer/corehost/cli/winrthost/CMakeLists.txt b/src/installer/corehost/cli/winrthost/CMakeLists.txt index 473a47c72b2b26..0ef36ddba12e23 100644 --- a/src/installer/corehost/cli/winrthost/CMakeLists.txt +++ b/src/installer/corehost/cli/winrthost/CMakeLists.txt @@ -1,7 +1,6 @@ # Copyright (c) .NET Foundation and contributors. All rights reserved. # Licensed under the MIT license. See LICENSE file in the project root for full license information. -cmake_minimum_required (VERSION 2.6) project(winrthost) set(DOTNET_PROJECT_NAME "winrthost") diff --git a/src/libraries/Native/Unix/CMakeLists.txt b/src/libraries/Native/Unix/CMakeLists.txt index e21cedae75f8a1..ae80db3fd96872 100644 --- a/src/libraries/Native/Unix/CMakeLists.txt +++ b/src/libraries/Native/Unix/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.14) +cmake_minimum_required(VERSION 3.14.2) cmake_policy(SET CMP0042 NEW) project(CoreFX C) diff --git a/src/libraries/Native/Windows/CMakeLists.txt b/src/libraries/Native/Windows/CMakeLists.txt index 1d0099abfaea64..90546ba9159418 100644 --- a/src/libraries/Native/Windows/CMakeLists.txt +++ b/src/libraries/Native/Windows/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.14.2) # C Compiler flags SET (CMAKE_C_FLAGS_INIT "/W0 /FC")