[CMake] How to update librarian section of project properties for a visual studio project using cmake?

J. Caleb Wherry calebwherry at gmail.com
Tue May 15 16:18:02 EDT 2018


If you want an official CMake response, take it from Brad King himself:

https://gitlab.kitware.com/cmake/cmake/issues/16931

His second comment is interesting, I haven't tried the path of trying to
trick it into thinking it is an object file. That might be the way to go!

-Caleb

On Tue, May 15, 2018 at 3:44 PM, Ritesh Singh <rinkuwithsingh at gmail.com>
wrote:

> Hi,
>
> I am creating a static library which in turn depends on several other
> libraries. So on Windows in Visual studio for my master library I have
> updated Librarian section of project properties to add the other libraries
> as additional dependencies. If I update Librarian section manually then I
> am able to create the master library successfully, but I am not able to
> figure out how to update Librarian from cmake. Now I want to do same
> thing using the cmake, I tried several options but nothing worked yet.
>
> Any help would be appreciated.
>
> I have posted these couple of questions and still waiting for the response:
>
> How to update Librarian section of project properties for a Visual studio
> project using cmake?
> https://stackoverflow.com/q/50346060/2657912?sem=2
>
> CMake not linking static library to other static libraries
> https://stackoverflow.com/q/50341118/2657912?sem=2
>
> Thank you!
>
> Regards,
> Ritesh
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> https://cmake.org/mailman/listinfo/cmake
>
>


-- 
J. Caleb Wherry
*Scientific Software Engineer*

<http://www.calebwherry.com>
http://www.calebwherry.com
+1 (615) 708-5651
calebwherry at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20180515/bed0274d/attachment.html>


More information about the CMake mailing list