[CMake] few solutions with cmake

gekso ev.93kso at gmail.com
Thu Mar 3 10:04:13 EST 2011


David, it has helped me, thanks :)

2011/3/3 David Cole <david.cole at kitware.com>:
> 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"
> _______________________________________________
> 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