summaryrefslogtreecommitdiff
path: root/src/ildasm/rcdll
diff options
context:
space:
mode:
Diffstat (limited to 'src/ildasm/rcdll')
-rw-r--r--src/ildasm/rcdll/CMakeLists.txt27
-rw-r--r--src/ildasm/rcdll/ildasmrc.nativeproj19
2 files changed, 46 insertions, 0 deletions
diff --git a/src/ildasm/rcdll/CMakeLists.txt b/src/ildasm/rcdll/CMakeLists.txt
new file mode 100644
index 0000000000..5fb49daedc
--- /dev/null
+++ b/src/ildasm/rcdll/CMakeLists.txt
@@ -0,0 +1,27 @@
+project(ildasmrc)
+
+add_definitions(-DUNICODE)
+add_definitions(-D_UNICODE)
+add_definitions(-D_FEATURE_NO_HOST)
+add_definitions(-D__ILDASM__)
+
+add_definitions(-DFEATURE_CORECLR)
+add_definitions(-DFX_VFT=VFT_DLL)
+
+add_definitions(-DFX_VER_INTERNALNAME_STR=ildasmrc.dll)
+
+set(ILDASM_RESOURCES
+ ../dasm.rc
+)
+
+add_library_clr(ildasmrc
+ SHARED
+ ${ILDASM_RESOURCES}
+)
+
+target_link_libraries(ildasmrc
+ ${STATIC_MT_CRT_LIB}
+ ${STATIC_MT_VCRT_LIB}
+)
+
+install_clr (ildasmrc) \ No newline at end of file
diff --git a/src/ildasm/rcdll/ildasmrc.nativeproj b/src/ildasm/rcdll/ildasmrc.nativeproj
new file mode 100644
index 0000000000..9fae17ca1f
--- /dev/null
+++ b/src/ildasm/rcdll/ildasmrc.nativeproj
@@ -0,0 +1,19 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="dogfood">
+ <!--Import the settings-->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.props" />
+ <!--Leaf project Properties-->
+ <PropertyGroup>
+ <IsDesktopTool>true</IsDesktopTool>
+ <OutputName>ildasmrc</OutputName>
+ <TargetType>DYNLINK</TargetType>
+ <LinkSubsystem>windows</LinkSubsystem>
+ <RCAdditionalOptions>$(RCAdditionalOptions) -r</RCAdditionalOptions>
+ <LinkResourceOnlyDll>true</LinkResourceOnlyDll>
+ </PropertyGroup>
+ <!--Leaf Project Items-->
+ <ItemGroup>
+ <RCResourceFile Include="..\dasm.rc" />
+ </ItemGroup>
+ <!--Import the targets-->
+ <Import Project="$(_NTDRIVE)$(_NTROOT)\ndp\clr\clr.targets" />
+</Project>