If you're working on weapon systems that will be used to attack, say, Nazi Germany, and you know or expect that they will also kill innocent civilians, then you are de-facto endorsing that murdering[0] innocent civilians is worth it to stop Nazi Germany, which is a resonable, if debatable, position.
If you're working on weapon systems that (you know or expect) will be just be directly used for murdering[1] innocent civilians, then you're endorsing murdering innocent civilians.
If you don't know where on that scale things are, then you're reasoning under uncertainty, and your ethics are going to have to deal with that.
0: technically most of those would actually be manslaughter, going by the usual definitions, but a: not all, b: that's not a verb.
If you're working on weapon systems that (you know or expect) will be just be directly used for murdering[1] innocent civilians, then you're endorsing murdering innocent civilians.
If you don't know where on that scale things are, then you're reasoning under uncertainty, and your ethics are going to have to deal with that.
0: technically most of those would actually be manslaughter, going by the usual definitions, but a: not all, b: that's not a verb.
1: nope, just murder