Hi David
Thank you for the response, I thought that I was doing something wrong. I
mean it's documented and I followed the docs as close as possible to write
my scripts but there's literally no mention about how to solve this
external/ internal project setup in the official docs.
I saw some
Build the second thing as an ExternalProject, too, and use the DEPENDS keyword
to make it build after the first thing.
Don't try to mix-and-match external projects and non-external projects in the
same CMake configure... It's just too much work to get things working in a
reasonable
If you download, compile and install a cmake project through external
project
How can I make sure that the external project is built before something
that depends on that external project?
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
Hello,
I'm using CMake to build OCaml libraries.
For that, I use a macro that I call in my CMakeLists.txt
As I have dependencies between my different libraries, I wrote my
CMakeLists.txt so the build happens in the right order, but when building,
libraries are built depending on alphabetical
On 06/27/2011 11:31 AM, Maxime Lecourt wrote:
Hello,
I'm using CMake to build OCaml libraries.
For that, I use a macro that I call in my CMakeLists.txt
As I have dependencies between my different libraries, I wrote my
CMakeLists.txt so the build happens in the right order, but when
2011/6/27 Michael Wild them...@gmail.com
On 06/27/2011 11:31 AM, Maxime Lecourt wrote:
Hello,
I'm using CMake to build OCaml libraries.
For that, I use a macro that I call in my CMakeLists.txt
As I have dependencies between my different libraries, I wrote my
CMakeLists.txt so the
On 06/27/2011 12:00 PM, Maxime Lecourt wrote:
2011/6/27 Michael Wild them...@gmail.com mailto:them...@gmail.com
On 06/27/2011 11:31 AM, Maxime Lecourt wrote:
Hello,
I'm using CMake to build OCaml libraries.
For that, I use a macro that I call in my
Hello,
is it possible to influence the build-order of MSVC from
CMakeLists.txt-files?
The top-level CMakeLists.txt looks like this:
ADD_SUBDIRECTORY(lib1)
ADD_SUBDIRECTORY(lib2)
ADD_SUBDIRECTORY(lib3)
ADD_SUBDIRECTORY(lib4)
ADD_SUBDIRECTORY(prog)
prog depends on the libs. lib3 depends on lib1
Micha,
Use
*target_link_librarieshttp://www.cmake.org/cmake/help/cmake2.6docs.html#command:target_link_libraries
* and
*add_dependencieshttp://www.cmake.org/cmake/help/cmake2.6docs.html#command:add_dependencies
* to fix project build order.
2009/1/26 Micha Renner micha.ren...@t-online.de
Am Montag, den 26.01.2009, 16:22 +0200 schrieb Dmytro Ovdiienko:
Micha,
Use target_link_libraries and add_dependencies to fix project build
order.
I think, that this doesn't work in the case here.
For target_link_libraries I need a library. If prog is first in build
process then there are
10 matches
Mail list logo