Add header files to ildasm, ilasm vcxproj (#20052)
authorJacek Blaszczynski <biosciencenow@outlook.com>
Tue, 25 Sep 2018 17:11:26 +0000 (19:11 +0200)
committerAaron Robinson <arobins@microsoft.com>
Tue, 25 Sep 2018 17:11:26 +0000 (10:11 -0700)
src/ilasm/CMakeLists.txt
src/ildasm/exe/CMakeLists.txt

index 9e99d02..e67267a 100644 (file)
@@ -24,7 +24,24 @@ set(ILASM_SOURCES
   assembler.cpp
   prebuilt/asmparse.cpp
 )
+
+set(ILASM_HEADERS
+  asmenum.h
+  asmman.hpp
+  asmparse.h
+  asmtemplates.h
+  assembler.h
+  binstr.h
+  class.hpp
+  ilasmpch.h
+  method.hpp
+  nvpair.h
+  typar.hpp
+)
+
 if(WIN32)
+  list(APPEND ILASM_SOURCES ${ILASM_HEADERS})
+
   set(ILASM_RESOURCES Native.rc)
   add_definitions(-DFX_VER_INTERNALNAME_STR=ilasm.exe)
 endif(WIN32)
@@ -81,4 +98,3 @@ else()
 endif(CLR_CMAKE_PLATFORM_UNIX)
 
 install_clr(ilasm)
-
index bf09be5..196f239 100644 (file)
@@ -35,6 +35,20 @@ set(ILDASM_SOURCES
     ../windasm.cpp
 )
 
+set(ILDASM_HEADERS
+    ../ceeload.h
+    ../dasm_sz.h
+    ../dis.h
+    ../dynamicarray.h
+    ../ildasmpch.h
+    ../resource.h
+    ../util.hpp
+)
+
+if (WIN32)
+    list(APPEND ILDASM_SOURCES ${ILDASM_HEADERS})
+endif(WIN32)
+
 _add_executable(ildasm
     ${ILDASM_SOURCES}
     ${ILDASM_RESOURCES}