Skip to content

Fix macOS/iOS test GoogleTest includes - #1518

Open
bmehta001 wants to merge 1 commit into
microsoft:mainfrom
bmehta001:bmehta001-fix-macos-ios-test-gtest
Open

Fix macOS/iOS test GoogleTest includes#1518
bmehta001 wants to merge 1 commit into
microsoft:mainfrom
bmehta001:bmehta001-fix-macos-ios-test-gtest

Conversation

@bmehta001

Copy link
Copy Markdown
Contributor

Summary\n\n- Attach GoogleTest/GoogleMock include paths to FuncTests and UnitTests through a target-level interface configuration.\n- Fail at configure time with a clear message when the GoogleTest submodule is unavailable.\n- Use canonical CMake 4.3+ SQLite3::SQLite3 targets, with compatibility aliases for older CMake versions.\n\nThis is intentionally focused on the macOS/iOS test build and does not modify the timestamp changes in #1516.\n\n## Validation\n\n- CMake 4.4 configure succeeds with both test targets enabled.\n- Functional test sources, including APITest.cpp, compile with the propagated GoogleTest headers.\n- Full Windows link was blocked by the existing legacy out/gtest/gtest.lib path convention.

Attach GoogleTest include paths to test targets and use the canonical SQLite3 target while retaining compatibility with older CMake releases.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@bmehta001
bmehta001 requested a review from a team as a code owner August 5, 2026 04:02
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.

1 participant