summaryrefslogtreecommitdiff
path: root/src/strongname
diff options
context:
space:
mode:
authorJohn Chen <jochen@microsoft.com>2015-04-20 08:36:31 -0700
committerJohn Chen <jochen@microsoft.com>2015-04-20 08:36:31 -0700
commit10ad17e525b7c5f6432e3c1b0a453d291e5d78b6 (patch)
tree46315b7efcfd5b6da8382cc0bb5b659c6d3d5d5c /src/strongname
parent6288f3d99995661184d90d542511ff37905ef299 (diff)
downloadcoreclr-10ad17e525b7c5f6432e3c1b0a453d291e5d78b6.tar.gz
coreclr-10ad17e525b7c5f6432e3c1b0a453d291e5d78b6.tar.bz2
coreclr-10ad17e525b7c5f6432e3c1b0a453d291e5d78b6.zip
Enable build crossgen.exe from build.cmd.
Adds and modifies CMakeLists.txt files to enable building of crossgen.exe from build.cmd for x64 processor on Windows. Also adds a step in build.cmd to generate native image for mscorlib. [tfs-changeset: 1456454]
Diffstat (limited to 'src/strongname')
-rw-r--r--src/strongname/api/CMakeLists.txt5
-rw-r--r--src/strongname/api/crossgen/CMakeLists.txt3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/strongname/api/CMakeLists.txt b/src/strongname/api/CMakeLists.txt
index 1eeed75267..9b1a49025e 100644
--- a/src/strongname/api/CMakeLists.txt
+++ b/src/strongname/api/CMakeLists.txt
@@ -23,4 +23,7 @@ if(CLR_CMAKE_PLATFORM_UNIX)
endif(CLR_CMAKE_PLATFORM_UNIX)
add_subdirectory(dac)
-add_subdirectory(wks) \ No newline at end of file
+add_subdirectory(wks)
+if(WIN32)
+ add_subdirectory(crossgen)
+endif(WIN32)
diff --git a/src/strongname/api/crossgen/CMakeLists.txt b/src/strongname/api/crossgen/CMakeLists.txt
new file mode 100644
index 0000000000..4436ed1689
--- /dev/null
+++ b/src/strongname/api/crossgen/CMakeLists.txt
@@ -0,0 +1,3 @@
+include(${CLR_DIR}/crossgen.cmake)
+
+add_library(strongname_crossgen ${STRONGNAME_SOURCES})