miguelditoo
miguelditoo

Reputation: 37

Building symengine with CMake's add_subdirectory() in a project

I want to build symengine (https://github.com/symengine/symengine) in a C++ project.
I want to use CMake for that purpose.
And I want to use the CMake function

add_subdirectory(<path/to/symengine/clone/dir>)

for that since we do that with all external libraries in our project.

I am aware that symengine recommends to use find_package() for that purpose (https://github.com/symengine/symengine/wiki/Using-SymEngine-from-a-Cpp-project), yet we do not want to use pre-built stuff in the project.

Upvotes: 1

Views: 39

Answers (0)

Related Questions