summaryrefslogtreecommitdiff
path: root/src/ildasm/dasm.rc
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@microsoft.com>2015-11-24 12:34:08 -0800
committerKyungwoo Lee <kyulee@microsoft.com>2015-11-25 11:58:52 -0800
commit1b6658714821566dd9ab78dcf1fe96fcb0f8772a (patch)
treec27daab52b3dbadd9cdf7620cb7b94ffceb2d62b /src/ildasm/dasm.rc
parent6936820475b8c6b66de1807b0d123c195e18b868 (diff)
downloadcoreclr-1b6658714821566dd9ab78dcf1fe96fcb0f8772a.tar.gz
coreclr-1b6658714821566dd9ab78dcf1fe96fcb0f8772a.tar.bz2
coreclr-1b6658714821566dd9ab78dcf1fe96fcb0f8772a.zip
Enable ILDASM for Windows
This enables building ILDASM with Cmake for Windows. This ILDASM now depends on CoreCLR targeting cross-platform and thus I dropped some features like GUI/PDB -- default output is console. Metadata related APIs in CoreCLR are directly exported, and used in ILDASM: MetaDataGetDispenser GetMetaDataInternalInterface GetMetaDataInternalInterfaceFromPublic GetMetaDataPublicInterfaceFromInternal The code path is diverged by a definition FEATURE_CORECLR. There are still Window specific components. Among others, resource file/dll generation is the one that should be ported.
Diffstat (limited to 'src/ildasm/dasm.rc')
-rw-r--r--src/ildasm/dasm.rc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ildasm/dasm.rc b/src/ildasm/dasm.rc
index a1619cff90..9de2a73b64 100644
--- a/src/ildasm/dasm.rc
+++ b/src/ildasm/dasm.rc
@@ -11,7 +11,9 @@
//
// Generated from the TEXTINCLUDE 2 resource.
//
+#ifndef FEATURE_CORECLR
#include "afxres.h"
+#endif
#include <winresrc.h>
/////////////////////////////////////////////////////////////////////////////
@@ -23,8 +25,6 @@
#include <fxver.h>
#include <fxver.rc>
-#include <copyrightstring.rc>
-
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
@@ -59,7 +59,7 @@ END
#endif // APSTUDIO_INVOKED
-#ifndef FEATURE_PAL
+#if !defined(FEATURE_PAL) && !defined(FEATURE_CORECLR)
/////////////////////////////////////////////////////////////////////////////
@@ -281,7 +281,7 @@ BEGIN
END
#endif // FX_VFT == VFT_DLL
-#endif // !FEATURE_PAL
+#endif // !defined(FEATURE_PAL) && !defined(FEATURE_CORECLR)
#if FX_VFT == VFT_DLL
STRINGTABLE DISCARDABLE