Repository navigation
build(pj4): add PowerShell build scripts and fetch plotjuggler_sdk from the Conan remote - #45
Merged
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Build pj4 against the released
plotjuggler_sdkConan package from theplotjuggler-conanremote instead of a sibling checkout or a git-tag clone, and add PowerShell counterparts ofbuild.sh,test.shandpackage.sh, so a Windows build no longer needs theGit Bash (VS Dev)profile.Target PlotJuggler version
pj3/)pj4/)3rdparty/,docs/, root files)Plugin(s) affected
Type of change
feat— new featurefix— bug fixrefactor— no behavior changedocs— documentation onlybuild— CMake / vcpkg / CIBreaking changes
Build workflow only; no API, series naming or file-format change.
pj4/scripts/ensure_sdk.shis removed, together with itsFORCE_SDKandSDK_LOCAL_DIRenvironment variables.conan installnow fetchesplotjuggler_sdk/<SDK_VERSION>from the remote, so a contributor must runconan remote add plotjuggler-conan https://plotjuggler.jfrog.io/artifactory/api/conan/plotjuggler-conanonce.../../plotjuggler_sdkcheckout is no longer picked up automatically. Use./build.sh --sdk-path <dir>(or./build.ps1 -SdkPath <dir>) to build against an unreleased SDK.Changes
conanfile.pyrequiresplotjuggler_sdk/<SDK_VERSION>fromplotjuggler-conan.ensure_sdk.shis deleted.build.sh --sdk-path DIRrunsconan createfor the checkout asplotjuggler_sdk/<DIR/VERSION>@local/devand passes the reference toconanfile.pythroughPJ_SDK_REF. The@local/devchannel keeps it from shadowing the released package.build.shnow parses arguments with awhile/shiftloop to take the value of--sdk-path.build.ps1(-Debug,-SdkPath, plugin names),test.ps1andpackage.ps1, with the same behavior and output layout as the shell scripts.release-pj4.yamlchanges; theBuildstep still calls./build.sh.pj4/docs/build.mdandpj4/CLAUDE.mddescribe the remote setup,--sdk-path, and the PowerShell scripts; they drop the sibling-workspace layout and theGit Bash (VS Dev)instructions.Testing