On 3/3/2011 9:59 AM, gekso wrote:
No, only one solution (someproject.sln) for all three targets.. 2.8.3 version

2011/3/3 Robert Bielik<[email protected]>:
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.


You need to add PROJECT commands in each of the sub-project that you want a solution for. The project command will cause CMake to create a new .sln file.

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