-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite the corehost CMake system to be more "Modern CMake"y and less…
… MSBuild-y (#102475) Co-authored-by: Elinor Fung <elfung@microsoft.com>
- Loading branch information
1 parent
9b74f42
commit 8f2ca60
Showing
35 changed files
with
303 additions
and
388 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 was deleted.
Oops, something went wrong.
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,23 @@ | ||
#ifndef PAL_HOST_CONFIGURE_H_INCLUDED | ||
#define PAL_HOST_CONFIGURE_H_INCLUDED | ||
|
||
#cmakedefine01 CLR_SINGLE_FILE_HOST_ONLY | ||
|
||
#ifdef CLR_SINGLE_FILE_HOST_ONLY | ||
// When hosting components are all statically linked, | ||
// the versioning information is irrelevant and may only come up in tracing. | ||
// so we will use "static" | ||
#define HOST_POLICY_PKG_NAME "static" | ||
#define HOST_POLICY_PKG_REL_DIR "static" | ||
#define REPO_COMMIT_HASH "static" | ||
#else | ||
#define HOST_POLICY_PKG_NAME "runtime.@CLI_CMAKE_PKG_RID@.Microsoft.NETCore.DotNetHostPolicy" | ||
#define HOST_POLICY_PKG_REL_DIR "runtime.@CLI_CMAKE_PKG_RID@/native" | ||
#define REPO_COMMIT_HASH "@CLI_CMAKE_COMMIT_HASH@" | ||
#endif | ||
|
||
#define FALLBACK_HOST_OS "@CLI_CMAKE_FALLBACK_OS@" | ||
#define CURRENT_OS_NAME "@CLR_CMAKE_TARGET_OS@" | ||
#define CURRENT_ARCH_NAME "@CLR_CMAKE_TARGET_ARCH@" | ||
|
||
#endif // PAL_HOST_CONFIGURE_H_INCLUDED |
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
Oops, something went wrong.