<div dir="ltr">Hi,<div><br></div><div>I have a library that already has a build setup. On windows it uses .bat file that invokes VC compiler and builds a lib file. I would like to first call this bat file during the build process and then use this library in rest of the CMake project. After a research I think I need 2 things:</div>
<div><br></div><div>- custom command or custom target (not sure which actually)</div><div><br></div><div>- add_library with IMPORTED paramater pointing to a path with lib file generated by previous step</div><div><br></div>
<div>unfortunately I am not able to make it work. Custom target/command are not called.  How to make this work?<br clear="all"><div><br></div>Regards,</div><div style>Szymon Gatner</div></div>