On Fri, Oct 18, 2013 at 6:34 AM, Olaf Ryder <[email protected]> wrote:

> Here's the problem I'm trying to solve:
>
> * External Project A has no dependencies and generates LibraryA
> * External Project B is dependent on LibraryA
>

I worked around a similar issue to this with a project that required
wxWidgets, which using a binary to build the compile and linker flags
rathern than pkgconfig or other method.

I wrapped my whole main project in a "if(NOT BOOTSTRAP_WXWIDGETS)" build
the project. If BOOTSTRAP_WXWIDGETS it true, then it skips the main build
and builds wxWidgets instead. You still have to run cmake and make twice,
but it works.

http://sourceforge.net/p/freetel/code/HEAD/tree/fdmdv2/CMakeLists.txt

Richard
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to