Skip to content

Pass CDT_CONTRACT_INCLUDE_PATH to contract builds#273

Open
heifner wants to merge 1 commit intomasterfrom
fix/pass-cdt-contract-include-path
Open

Pass CDT_CONTRACT_INCLUDE_PATH to contract builds#273
heifner wants to merge 1 commit intomasterfrom
fix/pass-cdt-contract-include-path

Conversation

@heifner
Copy link
Copy Markdown
Contributor

@heifner heifner commented Mar 26, 2026

Summary

  • Sets CDT_CONTRACT_INCLUDE_PATH from the vcpkg include directory and forwards it to contract external projects via CDT_CMAKE_ARGS
  • Enables the CDT toolchain to locate vcpkg-provided headers (e.g. magic_enum) when using a CDT build directory as CDT_ROOT
  • Reformats CDT_CMAKE_ARGS for readability

Companion to Wire-Network/wire-cdt#44.

Set CDT_CONTRACT_INCLUDE_PATH from vcpkg include directory and forward
it to the CDT toolchain so contract builds can locate vcpkg-provided
headers (e.g. magic_enum) when using a CDT build directory as CDT_ROOT.

Also reformats CDT_CMAKE_ARGS for readability.

Companion to Wire-Network/wire-cdt#44.
@heifner heifner requested a review from jglanz March 26, 2026 16:14
Copy link
Copy Markdown
Collaborator

@jglanz jglanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect, no issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants