early-access version 2853
This commit is contained in:
29
externals/vcpkg/ports/boost-context/b2-options.cmake.in
vendored
Executable file
29
externals/vcpkg/ports/boost-context/b2-options.cmake.in
vendored
Executable file
@@ -0,0 +1,29 @@
|
||||
|
||||
if(@VCPKG_TARGET_IS_WINDOWS@)
|
||||
list(APPEND B2_OPTIONS
|
||||
abi=ms
|
||||
binary-format=pe
|
||||
)
|
||||
endif()
|
||||
|
||||
if(@VCPKG_TARGET_IS_OSX@)
|
||||
list(APPEND B2_OPTIONS
|
||||
abi=sysv
|
||||
binary-format=mach-o
|
||||
)
|
||||
endif()
|
||||
|
||||
if("@VCPKG_TARGET_IS_LINUX@" STREQUAL "ON" OR "@VCPKG_TARGET_IS_ANDROID@" STREQUAL "ON")
|
||||
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "arm64")
|
||||
list(APPEND B2_OPTIONS
|
||||
abi=aapcs
|
||||
)
|
||||
elseif(VCPKG_TARGET_ARCHITECTURE STREQUAL "x86" OR VCPKG_TARGET_ARCHITECTURE STREQUAL "x64")
|
||||
list(APPEND B2_OPTIONS
|
||||
abi=sysv
|
||||
)
|
||||
endif()
|
||||
list(APPEND B2_OPTIONS
|
||||
binary-format=elf
|
||||
)
|
||||
endif()
|
Reference in New Issue
Block a user