Use platformdefines through lib instead of cpp (dotnet/coreclr#19948)
authorLuqun Lou <luqunl@users.noreply.github.com>
Wed, 26 Sep 2018 16:32:26 +0000 (09:32 -0700)
committerGitHub <noreply@github.com>
Wed, 26 Sep 2018 16:32:26 +0000 (09:32 -0700)
commit723d0bed0af17d222fd5250e8b94d3168d7c892a
tree1e0dbf32f30679629375618a08d290c33780633e
parent8c237373b746fcd72207f15961a622acf3821e6b
Use platformdefines through lib instead of cpp (dotnet/coreclr#19948)

* Use platformdefines through lib instead of cpp

* add a dummy export function

* Remove dummy export

* Compile as Static Library

* revert platformdefines.cpp file

* remove DLL_EXPORT

Commit migrated from https://github.com/dotnet/coreclr/commit/e2a45dce9a853c3eead8aa635317f5615d60bdb6
src/coreclr/tests/src/Common/Platform/CMakeLists.txt [new file with mode: 0755]
src/coreclr/tests/src/Interop/CMakeLists.txt
src/coreclr/tests/src/Interop/FuncPtrAsDelegateParam/FuncPtrAsDelegateParamNative.cpp
src/coreclr/tests/src/Interop/StructMarshalling/PInvoke/MarshalStructAsParamDLL.h