[Cmake] Hopefully simple CMake problem

William A. Hoffman billlist at nycap.rr.com
Tue, 09 Mar 2004 16:31:32 -0500


CMake really does not work that way.
Normally, out of source builds are used for that type of thing.

So, you would have your source tree:

source/...

Then, you would create and run cmake on several binary trees:

linux
win32

cd linux
ccmake ../source
cd ..
cd win32
CMakeSetup ../source

-Bill


At 04:00 PM 3/9/2004, Dejan Lekic wrote:
>Hehe, thanks Andy! :)
>I have already found (partially) solution... However i've found that it doesn't solve all my problems. In generated library i do not have objects from platform/linux per example. If you recall my project structure, in /lib/librtk.a i would like to have objects from /src/core as well as /src/core/platform/linux ... I'll try to find out how to fix this problem by myself, so i don't bother people around for every problem i have. :)
>
>Best regards, and thanks again!
>
>Dejan
>_______________________________________________
>Cmake mailing list
>Cmake at www.cmake.org
>http://www.cmake.org/mailman/listinfo/cmake