Hi,

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:

- custom command or custom target (not sure which actually)

- add_library with IMPORTED paramater pointing to a path with lib file
generated by previous step

unfortunately I am not able to make it work. Custom target/command are not
called.  How to make this work?

Regards,
Szymon Gatner
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to