summaryrefslogtreecommitdiff
path: root/src/dlls/clretwrc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dlls/clretwrc')
-rw-r--r--src/dlls/clretwrc/.gitmirror1
-rw-r--r--src/dlls/clretwrc/CMakeLists.txt23
-rw-r--r--src/dlls/clretwrc/clretwrc.nativeproj27
-rw-r--r--src/dlls/clretwrc/clretwrc.rc9
4 files changed, 60 insertions, 0 deletions
diff --git a/src/dlls/clretwrc/.gitmirror b/src/dlls/clretwrc/.gitmirror
new file mode 100644
index 0000000000..f507630f94
--- /dev/null
+++ b/src/dlls/clretwrc/.gitmirror
@@ -0,0 +1 @@
+Only contents of this folder, excluding subfolders, will be mirrored by the Git-TFS Mirror. \ No newline at end of file
diff --git a/src/dlls/clretwrc/CMakeLists.txt b/src/dlls/clretwrc/CMakeLists.txt
new file mode 100644
index 0000000000..b1f7a49088
--- /dev/null
+++ b/src/dlls/clretwrc/CMakeLists.txt
@@ -0,0 +1,23 @@
+include_directories(${CMAKE_CURRENT_BINARY_DIR})
+
+if(WIN32)
+ # remove /ltcg from resource-only libraries
+ string(REPLACE "/LTCG" "" CMAKE_SHARED_LINKER_FLAGS_RELEASE ${CMAKE_SHARED_LINKER_FLAGS_RELEASE})
+ string(REPLACE "/LTCG" "" CMAKE_STATIC_LINKER_FLAGS_RELEASE ${CMAKE_STATIC_LINKER_FLAGS_RELEASE})
+ string(REPLACE "/LTCG" "" CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO ${CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO})
+ string(REPLACE "/LTCG" "" CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO ${CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO})
+
+ # remove /guard:cf from resource-only libraries
+ string(REPLACE "/guard:cf" "" CMAKE_SHARED_LINKER_FLAGS ${CMAKE_SHARED_LINKER_FLAGS})
+
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /NOENTRY")
+endif(WIN32)
+
+add_definitions(-DFX_VER_INTERNALNAME_STR=clretwrc.dll)
+
+add_library_clr(clretwrc SHARED
+ clretwrc.rc
+)
+
+# add the install targets
+install_clr(clretwrc) \ No newline at end of file
diff --git a/src/dlls/clretwrc/clretwrc.nativeproj b/src/dlls/clretwrc/clretwrc.nativeproj
new file mode 100644
index 0000000000..6a9b227258
--- /dev/null
+++ b/src/dlls/clretwrc/clretwrc.nativeproj
@@ -0,0 +1,27 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="dogfood">
+ <!--*****************************************************-->
+ <!--This MSBuild project file was automatically generated-->
+ <!--from the original SOURCES/DIRS file by the KBC tool.-->
+ <!--*****************************************************-->
+ <!--Import the settings-->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />
+ <!--Leaf project Properties-->
+ <PropertyGroup>
+ <BuildCoreBinaries>true</BuildCoreBinaries>
+ <BuildSysBinaries>true</BuildSysBinaries>
+ <OutputName>clretwrc</OutputName>
+ <DllDef>$(OutputName).def</DllDef>
+ <TargetType>DYNLINK</TargetType>
+ <LinkSubsystem>windows</LinkSubsystem>
+ <LinkResourceOnlyDll>true</LinkResourceOnlyDll>
+ <IsProjectKLibrary>true</IsProjectKLibrary>
+ <IsTestNetCoreRuntimeLibrary>true</IsTestNetCoreRuntimeLibrary>
+ <IsPhoneLibrary>true</IsPhoneLibrary>
+ </PropertyGroup>
+ <!--Leaf Project Items-->
+ <ItemGroup>
+ <RCResourceFile Include="clretwrc.rc" />
+ </ItemGroup>
+ <!--Import the targets-->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.targets" />
+</Project>
diff --git a/src/dlls/clretwrc/clretwrc.rc b/src/dlls/clretwrc/clretwrc.rc
new file mode 100644
index 0000000000..3c6f69b9d0
--- /dev/null
+++ b/src/dlls/clretwrc/clretwrc.rc
@@ -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.
+
+#define FX_VER_FILEDESCRIPTION_STR "Microsoft .NET Runtime resources\0"
+
+#include <fxver.h>
+#include <fxver.rc>
+#include "ClrEtwAll.rc"