Hi,

could anybody give me a hint or an example on how to
use a static lib inside a project?

I need to create a static lib, which is only used inside
a project for different executables.

Let's say a project like the following:

src
  static_lib
    lib.cpp
    lib.hpp
  executable1
    main.cpp
  executable2
    main.cpp

The lib should be static and used only inside this project.

I hope I could make it clear :)

Thanks and best regards,

Matthias



Attachment: signature.asc
Description: This is a digitally signed message part

--

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