Add mockcoreclr.def
authorSteve MacLean <Steve.MacLean@microsoft.com>
Fri, 19 Apr 2019 03:49:41 +0000 (23:49 -0400)
committerSteve MacLean <Steve.MacLean@microsoft.com>
Fri, 19 Apr 2019 03:49:41 +0000 (23:49 -0400)
Commit migrated from https://github.com/dotnet/core-setup/commit/df54a7e811c9c9faf6a03e3294f2114c89ba2c3c

src/installer/corehost/cli/test/mockcoreclr/CMakeLists.txt
src/installer/corehost/cli/test/mockcoreclr/mockcoreclr.def [new file with mode: 0644]

index 6e0294b..d4fef68 100644 (file)
@@ -11,6 +11,11 @@ set(SOURCES
     ./mockcoreclr.cpp
 )
 
+if(WIN32)
+    list(APPEND SOURCES
+        mockcoreclr.def)
+endif()
+
 include(../testlib.cmake)
 
 install(TARGETS mockcoreclr DESTINATION corehost_test)
diff --git a/src/installer/corehost/cli/test/mockcoreclr/mockcoreclr.def b/src/installer/corehost/cli/test/mockcoreclr/mockcoreclr.def
new file mode 100644 (file)
index 0000000..ffcb982
--- /dev/null
@@ -0,0 +1,9 @@
+; Licensed to the .NET Foundation under one or more agreements.
+; The .NET Foundation licenses this file to you under the MIT license.
+; See the LICENSE file in the project root for more information.
+
+EXPORTS
+        coreclr_create_delegate
+        coreclr_execute_assembly
+        coreclr_initialize
+        coreclr_shutdown_2