2008/11/3 Daniel Blankensteiner <[EMAIL PROTECTED]>:
> Hi all
>
> I have read most of the "Mastering Cmake" book and googled, but I couldn't
> find an answer, so I hope someone here can help me.
>
> I'm building a lib and want to include other static libs, so that it's all
> in one file, but I currently have two problems.
>
> 1. The dependencies to the static libs are not included in my VS-solution 
> file.

I do not understand that question without an example,
do you mean that your lib is not rebuilt when "vendord.lib" is changed?


> 2. When I build my lib I get no output (no static or shared lib is
> created).

It looks like your lib does not contains any compiled source files but
only headers
(.hpp)

> set (SRC_FILES
>        mylib/channel.hpp
>        mylib/net/IP.hpp
> )

So CMake has nothing to compile thus nothing to build.
Try add at one "to-be-compiled" file to your lib.

Are channel.hpp IP.hpp headers or not?


-- 
Erk
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to