Hi all,<div><br></div><div>I have some questions regarding the use of CPack and CMake.</div><div><br></div><div>What I&#39;d like to do is have the a target execute multiple cpack configurations (additionally, have a possibility to execute only one configuration).</div>
<div>The cpack config can use a component to do filtering on the artifacts needed for one target. The set of artifacts needs to end up in a directory in the project.</div><div><br></div><div>For example, I have three libraries/targets:</div>
<div><br></div><div>- A</div><div>- B</div><div>- C</div><div><br></div><div>Then I have 2 deployment targets (CPack configs):</div><div> </div><div>- Deploy1</div><div>- Deploy2</div><div><br></div><div>The result has to be something like:</div>
<div><br></div><div>- Deploy1: A and B in a directory named Deploy1</div><div>- Deploy2: A and C in a directory named Deploy2</div><div><br></div><div><br></div><div>I currently have a solution which uses a macro and copies the artifacts to the correct directory, but custom targets always assume &quot;out-of-date&quot;. Is it possible to introduce a target which depends on several others targets and uses their &quot;out-of-date&quot; state?</div>
<div><br></div><div>Also, can CPack be used to deploy to an exploded directory? There doesn&#39;t seem to be a Directory Generator.</div><div><br></div><div>TiA!</div><div><div><br></div>-- <br>Met vriendelijke groet,<br>
<br>Alexander Broekhuis<br>
</div>