summaryrefslogtreecommitdiff
path: root/src/ilasm
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@microsoft.com>2016-06-02 10:02:58 -0700
committerKyungwoo Lee <kyulee@microsoft.com>2016-06-02 10:47:40 -0700
commit1bdc6eb40691b1fd0d19f5e137815d6bcfe359f5 (patch)
tree73539a134f4c46ff5d890440dad5b3c61ab9b01f /src/ilasm
parent4f975716f66f235d7ed45025ed29444fb297f41b (diff)
downloadcoreclr-1bdc6eb40691b1fd0d19f5e137815d6bcfe359f5.tar.gz
coreclr-1bdc6eb40691b1fd0d19f5e137815d6bcfe359f5.tar.bz2
coreclr-1bdc6eb40691b1fd0d19f5e137815d6bcfe359f5.zip
Fix Details for ILAsm/ILDasm/ClrJit Binaries
Fixes https://github.com/dotnet/coreclr/issues/5408
Diffstat (limited to 'src/ilasm')
-rw-r--r--src/ilasm/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ilasm/CMakeLists.txt b/src/ilasm/CMakeLists.txt
index f9c6ba97af..34ec7997c4 100644
--- a/src/ilasm/CMakeLists.txt
+++ b/src/ilasm/CMakeLists.txt
@@ -24,6 +24,11 @@ set(ILASM_SOURCES
assembler.cpp
prebuilt/asmparse.c
)
+if(WIN32)
+ set(ILASM_RESOURCES Native.rc)
+ add_definitions(-DFX_VER_INTERNALNAME_STR=ilasm.exe)
+endif(WIN32)
+
set_source_files_properties( prebuilt/asmparse.c PROPERTIES LANGUAGE CXX )
if(CLR_CMAKE_PLATFORM_UNIX)
@@ -40,6 +45,7 @@ endif(CLR_CMAKE_PLATFORM_UNIX)
_add_executable(ilasm
${ILASM_SOURCES}
+ ${ILASM_RESOURCES}
)
set(ILASM_LINK_LIBRARIES