forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
corehost: Build intermediate library to avoid building twice (dotnet#…
…2123) Some files are built twice in the hosting layer, so create two separate static libraries that are then linked with all targets that need them. Fixes [core-setup/8276](https://github.com/dotnet/core-setup/issues/8276).
- Loading branch information
Showing
25 changed files
with
107 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Licensed to the .NET Foundation under one or more agreements. | ||
# The .NET Foundation licenses this file to you under the MIT license. | ||
# See the LICENSE file in the project root for more information. | ||
|
||
project(hostcommon) | ||
|
||
set(DOTNET_PROJECT_NAME "hostcommon") | ||
|
||
# Include directories | ||
include_directories(../fxr) | ||
include_directories(../json) | ||
|
||
# CMake does not recommend using globbing since it messes with the freshness checks | ||
set(SOURCES | ||
../json_parser.cpp | ||
../deps_format.cpp | ||
../deps_entry.cpp | ||
../host_startup_info.cpp | ||
../roll_forward_option.cpp | ||
../fx_definition.cpp | ||
../fx_reference.cpp | ||
../fxr/fx_ver.cpp | ||
../version.cpp | ||
../version_compatibility_range.cpp | ||
../runtime_config.cpp | ||
) | ||
|
||
set(HEADERS | ||
../json_parser.h | ||
../deps_format.h | ||
../deps_entry.h | ||
../host_startup_info.h | ||
../roll_forward_option.h | ||
../fx_definition.h | ||
../fx_reference.h | ||
../fxr/fx_ver.h | ||
../version.h | ||
../version_compatibility_range.h | ||
../runtime_config.h | ||
) | ||
|
||
set(SKIP_VERSIONING 1) | ||
include(../lib_static.cmake) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Licensed to the .NET Foundation under one or more agreements. | ||
# The .NET Foundation licenses this file to you under the MIT license. | ||
# See the LICENSE file in the project root for more information. | ||
|
||
project(hostmisc) | ||
|
||
set(DOTNET_PROJECT_NAME "hostmisc") | ||
|
||
# CMake does not recommend using globbing since it messes with the freshness checks | ||
set(SOURCES | ||
trace.cpp | ||
utils.cpp | ||
../fxr/fx_ver.cpp | ||
) | ||
|
||
set(HEADERS | ||
trace.h | ||
utils.h | ||
pal.h | ||
../../error_codes.h | ||
../fxr/fx_ver.h | ||
) | ||
|
||
if(CLR_CMAKE_TARGET_WIN32) | ||
list(APPEND SOURCES | ||
pal.windows.cpp | ||
longfile.windows.cpp) | ||
list(APPEND HEADERS | ||
longfile.h) | ||
else() | ||
list(APPEND SOURCES | ||
pal.unix.cpp | ||
${VERSION_FILE_PATH}) | ||
endif() | ||
|
||
set(SKIP_VERSIONING 1) | ||
include(../lib_static.cmake) | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters