[CMake] few solutions with cmake
David Cole
david.cole at kitware.com
Thu Mar 3 09:57:52 EST 2011
On Thu, Mar 3, 2011 at 9:52 AM, Robert Bielik <robert.bielik at xponaut.se> wrote:
> 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
>
> _______________________________________________
> 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
>
Solution files correspond to "project" commands in CMakeLists.txt.
Add a "project" command at the top of "app/CMakeLists.txt"
More information about the CMake
mailing list