-
Notifications
You must be signed in to change notification settings - Fork 3
Switch inject-browser-sdk to submodule; consolidate deps #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ef7dd8e
Switch inject-browser-sdk to submodule; consolidate deps
pawelchcki 2641675
Address Copilot review on deps consolidation
pawelchcki 752bcc6
ci: init only required submodules in GHA workflows
pawelchcki 77a26c5
docs: note private inject-browser-sdk submodule in contributing guide
pawelchcki 1330904
Simplify fmt.cmake to FetchContent_MakeAvailable
pawelchcki File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,22 @@ | ||
| include(${CMAKE_SOURCE_DIR}/cmake/deps/fmt.cmake) | ||
|
|
||
| add_subdirectory(dd-trace-cpp) | ||
|
|
||
| # Force POSITION_INDEPENDENT_CODE (PIC) because mod_datadog.so is loaded via | ||
| # dlopen, but dd-trace-cpp sets this based on BUILD_SHARED_LIBS, whereas we | ||
| # link with the static library. | ||
| set_target_properties(dd-trace-cpp-objects PROPERTIES POSITION_INDEPENDENT_CODE ON) | ||
|
|
||
| if (HTTPD_DATADOG_ENABLE_RUM) | ||
| if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/inject-browser-sdk/CMakeLists.txt") | ||
| message(FATAL_ERROR | ||
| "deps/inject-browser-sdk submodule is not initialized. " | ||
| "Run: git submodule update --init --recursive") | ||
| endif () | ||
| # mod_datadog/CMakeLists.txt references ${injectbrowsersdk_SOURCE_DIR}, which | ||
| # FetchContent used to set; replicate it for the submodule layout. | ||
| set(injectbrowsersdk_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/inject-browser-sdk" CACHE INTERNAL "") | ||
| add_subdirectory(inject-browser-sdk EXCLUDE_FROM_ALL) | ||
|
|
||
| include(${CMAKE_SOURCE_DIR}/cmake/deps/rapidjson.cmake) | ||
| endif () |
Submodule inject-browser-sdk
added at
49245e
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.