[CMake] top level make

2012-03-11 Thread Totte Karlsson

Hi,
My project depends on several third party libraries, e.g. vtk. I wonder, if it 
is possible to setup using CMake so that when building my project, necessary 
third party libs are built as well.


Or is it advisable to keep it separate?

My src folder structure is
top\
-\mySource
-\ThirdParty\vtk
-\ThirdParty\SomeOther libs

Cheers,
Totte

--

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


Re: [CMake] top level make

2012-03-11 Thread Michael Hertling
On 03/11/2012 10:27 PM, Totte Karlsson wrote:
 Hi,
 My project depends on several third party libraries, e.g. vtk. I wonder, if 
 it 
 is possible to setup using CMake so that when building my project, necessary 
 third party libs are built as well.
 
 Or is it advisable to keep it separate?
 
 My src folder structure is
 top\
 -\mySource
 -\ThirdParty\vtk
 -\ThirdParty\SomeOther libs
 
 Cheers,
 Totte

See the ExternalProject module [1].

Regards,

Michael

 [1] http://www.cmake.org/cmake/help/cmake-2-8-docs.html#module:ExternalProject
--

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


Re: [CMake] top level make

2012-03-11 Thread Totte Karlsson

See the ExternalProject module [1].


[1] http://www.cmake.org/cmake/help/cmake-2-8-docs.html#module:ExternalProject

cool!

Thanks,
Totte
--

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