Hi,
I created a pipeline to build and deploy a .pcwlx from C++ (Realtime Program / Component)
This .pcwlx was built in a environment that had all those SDKs installed (a docker container with just plcncli and the SDKs would be installed on the fly). This worked well, but didn’t scale.
I’m looking to build first (multiple SDKs in parallel) and deploy later, combining the artifacts from build-step into a single library supporting multiple targets.
I have several build-artifacts in the bin-folder, but when I deploy for a target SDK I don’t have installed I get warnings.
root@90cfaeab441c:/workspaces/plcnext/# plcncli deploy --target 'AXCF3152,2024.0.4' --output out --files "AXCF3152_24.0.4.108/*|."
The project in /workspaces/plcnext does not contain a valid target. Without a valid target port structures from within the SDK can not be generated and automatic include detection will not work as well.
For the target AXCF3152,2024.0.4 no corresponding SDK was found. Please make sure you provided the complete version string. The reason no SDK was found is:
Could not find the version '2024.0.4' of the target 'AXCF3152'. Available versions are: 23.0.2.56.
Setting up the targets in the plcnext.proj manually, seems to have the desired effect, but that feels like a hack. Is there a way to invoke ‘plcncli deploy’ so it accepts this; allowing me to say: “Create a .pcwlx for this list of targets and search for the binaries here, here and here, without having the SDK available” ?