[Cmake] Hopefully simple CMake problem

Andy Cedilnik andy.cedilnik at kitware.com
Tue, 09 Mar 2004 12:35:34 -0500


Hi Dejan,

Have you tried setting LIBRARY_OUTPUT_PATH?

			Andy

On Tue, 2004-03-09 at 11:44, Dejan Lekic wrote:
> Hi to all developers on The List!
> 
> Recently i came to problem i didn't know how to solve with CMake. I 
> really hope this could be somehow tweaked... My knowledge of CMake is 
> still not good.
> 
> My source tree looks like this:
> |-- lib
> |-- rtk
> |-- scripts
> |-- src
> |   |-- core
> |   |   `-- platform
> |   |       |-- linux
> |   |       `-- win32
> |   `-- device
> |       |-- linux
> |       `-- win32
> |-- test
> |   `-- core
> |       `-- CMakeTmp
> `-- uml
> 
> So far i've managed to make library librtk somewhere in ./src/core 
> (although i would like to have it in ./lib - but that is not so much 
> important now - i can live with it for now). However, when i added 
> platform/* my library is (on GNU/Linux) created in 
> ./src/core/platform/linux ... C++ source files are in ./src/core and 
> ./src/core/platform/(win32|linux), headers are all in ./rtk .
> 
> I would really apriciate any hint/help/suggestion here. I have easily 
> managed to do this with autotools, but i prefer CMake over autotools 
> because it is IMHO more clean/easy.
> 
> Later i intend to add few more libraries, most notably librtk_device 
> which would contain stuff from ./src/core/device/(linux|win32|sdl) .
> 
> Please, help... :(
> 
> Dejan Lekic
>   http://dejan.nu6.org
> 
> _______________________________________________
> Cmake mailing list
> Cmake at www.cmake.org
> http://www.cmake.org/mailman/listinfo/cmake