diff options
author | Mike Danes <onemihaid@hotmail.com> | 2015-12-12 15:12:10 +0200 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2015-12-13 00:06:09 +0200 |
commit | d9604b22438b263077e180156160456418935a42 (patch) | |
tree | 26939517913d7f005d8d44aa2a368e6dd595aba7 /src/binder | |
parent | ade2cc7a51171c0ba264ecd72c7351d8bbda457f (diff) | |
download | coreclr-d9604b22438b263077e180156160456418935a42.tar.gz coreclr-d9604b22438b263077e180156160456418935a42.tar.bz2 coreclr-d9604b22438b263077e180156160456418935a42.zip |
Remove unnecessary files from build and disable LNK4221
Some files have their contents ifdefed out because some CLR features
(remoting, CAS, fusion etc.) are not present (and they'll probably never
be) in CoreCLR. A few others are DAC, CrossGen or arch specific so they
have been moved to the appropiate file lists.
Diffstat (limited to 'src/binder')
-rw-r--r-- | src/binder/CMakeLists.txt | 14 | ||||
-rw-r--r-- | src/binder/v3binder_crossgen/CMakeLists.txt | 2 |
2 files changed, 12 insertions, 4 deletions
diff --git a/src/binder/CMakeLists.txt b/src/binder/CMakeLists.txt index 5dbd09dac4..9026958ab1 100644 --- a/src/binder/CMakeLists.txt +++ b/src/binder/CMakeLists.txt @@ -14,7 +14,7 @@ endif() include_directories(BEFORE "../vm") include_directories(BEFORE "inc") -set(BINDER_SOURCES +set(BINDER_COMMON_SOURCES variables.cpp utils.cpp assemblyname.cpp @@ -32,13 +32,22 @@ set(BINDER_SOURCES compatibility.cpp textualidentityparser.cpp assemblyidentitycache.cpp - clrprivbinderassemblyloadcontext.cpp coreclrbindercommon.cpp fusionassemblyname.cpp fusionhelpers.cpp ) +set(BINDER_SOURCES + ${BINDER_COMMON_SOURCES} + clrprivbinderassemblyloadcontext.cpp +) + +set(BINDER_CROSSGEN_SOURCES + ${BINDER_COMMON_SOURCES} +) + convert_to_absolute_path(BINDER_SOURCES ${BINDER_SOURCES}) +convert_to_absolute_path(BINDER_CROSSGEN_SOURCES ${BINDER_CROSSGEN_SOURCES}) if(CLR_CMAKE_PLATFORM_UNIX) add_compile_options(-fPIC) @@ -46,4 +55,3 @@ endif(CLR_CMAKE_PLATFORM_UNIX) add_subdirectory(v3binder) add_subdirectory(v3binder_crossgen) - diff --git a/src/binder/v3binder_crossgen/CMakeLists.txt b/src/binder/v3binder_crossgen/CMakeLists.txt index 811d2db834..aee5adf52d 100644 --- a/src/binder/v3binder_crossgen/CMakeLists.txt +++ b/src/binder/v3binder_crossgen/CMakeLists.txt @@ -2,5 +2,5 @@ include(${CLR_DIR}/crossgen.cmake) add_library(v3binder_crossgen STATIC - ${BINDER_SOURCES} + ${BINDER_CROSSGEN_SOURCES} ) |