which both have their own Makefile and CMakeLists.
I tried Visual Studio but I just can't merge both Makefiles into one. How can I import such a library?
Use cmake to build each in execute_process() command, then link with the make one manually, and point the cmake one to the config dir.
is that a good idea?
as you wont be re-using the arguments (compiler, linker, flags and whatnot) passed to cmake
If the ome of the projects isn't a cmake one, well might have to build it from scratch to use it. but if it's cmake to cmake, add_subdirectory() would do the trick I would think.
im talking about the case where the library doesn't use cmake
Обсуждают сегодня