Skip to content

Commit

Permalink
Add VxWorks as a platform expression (#1427)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neumann-A authored Jun 14, 2024
1 parent 717b820 commit 8a25087
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vcpkg/platform-expression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ namespace vcpkg::PlatformExpression
emscripten,
ios,
qnx,
vxworks,

static_link,
static_crt,
Expand Down Expand Up @@ -64,6 +65,7 @@ namespace vcpkg::PlatformExpression
{"emscripten", Identifier::emscripten},
{"ios", Identifier::ios},
{"qnx", Identifier::qnx},
{"vxworks", Identifier::vxworks},
{"static", Identifier::static_link},
{"staticcrt", Identifier::static_crt},
{"native", Identifier::native},
Expand Down Expand Up @@ -567,6 +569,7 @@ namespace vcpkg::PlatformExpression
return true_if_exists_and_equal("VCPKG_CMAKE_SYSTEM_NAME", "Emscripten");
case Identifier::ios: return true_if_exists_and_equal("VCPKG_CMAKE_SYSTEM_NAME", "iOS");
case Identifier::qnx: return true_if_exists_and_equal("VCPKG_CMAKE_SYSTEM_NAME", "QNX");
case Identifier::vxworks: return true_if_exists_and_equal("VCPKG_CMAKE_SYSTEM_NAME", "VxWorks");
case Identifier::wasm32: return true_if_exists_and_equal("VCPKG_TARGET_ARCHITECTURE", "wasm32");
case Identifier::static_link:
return true_if_exists_and_equal("VCPKG_LIBRARY_LINKAGE", "static");
Expand Down

0 comments on commit 8a25087

Please sign in to comment.