H'H
H'H

Reputation: 1680

using waf in my CMake for C++ project

I am working on a project written in c++ and using CMake to compile and make to build source files. I also have an external library which use "waf" for compiling and building. I am wondering How I can include this external library in my CMakeList file and use it withing the main project.

Thanks for you r help in advance.

Upvotes: 1

Views: 562

Answers (1)

ComicSansMS
ComicSansMS

Reputation: 54589

Take a look at CMake's ExternalProject module.

This can be used to build arbitrary third-party dependencies from within CMake, even if they use a build system different from CMake themselves.

Upvotes: 2

Related Questions