projects
/
sdk
/
tools
/
netcoredbg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0636159
)
Add missing `clr_unknown_arch()` to clrdefinitions.cmake
author
Andrey Okoshkin
<a.okoshkin@samsung.com>
Wed, 31 Jan 2018 15:12:21 +0000
(18:12 +0300)
committer
Andrey Okoshkin
<a.okoshkin@samsung.com>
Wed, 31 Jan 2018 15:12:21 +0000
(18:12 +0300)
clrdefinitions.cmake
patch
|
blob
|
history
diff --git
a/clrdefinitions.cmake
b/clrdefinitions.cmake
index e077efc168789909bf38b7f6e67f3a359382fc14..97729d60aefe38a72d843f413696784ca2cd8f1f 100644
(file)
--- a/
clrdefinitions.cmake
+++ b/
clrdefinitions.cmake
@@
-1,3
+1,13
@@
+function(clr_unknown_arch)
+ if (WIN32)
+ message(FATAL_ERROR "Only AMD64, ARM64, ARM and I386 are supported")
+ elseif(CLR_CROSS_COMPONENTS_BUILD)
+ message(FATAL_ERROR "Only AMD64, I386 host are supported for linux cross-architecture component")
+ else()
+ message(FATAL_ERROR "Only AMD64, ARM64 and ARM are supported")
+ endif()
+endfunction()
+
if (CLR_CMAKE_TARGET_ARCH_AMD64)
if (CLR_CMAKE_PLATFORM_UNIX)
add_definitions(-DDBG_TARGET_AMD64_UNIX)