[CMake] few solutions with cmake

Robert Bielik robert.bielik at xponaut.se
Thu Mar 3 09:52:48 EST 2011


Anton Sibilev skrev 2011-03-03 15:49:
> Hello! One more question.. For example I have such structure:
>
> folder:base
> ....CMakeLists.txt (with PROJECT(someproject))
> ....folder:lib1
> ........CMakeLists.txt
> ....folder:lib2
> ........CMakeLists.txt
> ....folder:app
> ........CMakeLists.txt
>
> and result is someproject.sln with 3 projects lib1, lib2, app. 'app'
> depends on 'lib2'. I want to make additional solution for 'app' and
> its dependencies (lib2), without lib1.
> Can I make somehow 2 solutions?

Isn't that already provided ? Check beneath the 'app' folder where you binaries are built.

/Rob

> _______________________________________________
> 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



More information about the CMake mailing list