GridTools / cpp_bindgen

Library for generating C and Fortran bindings for C++ functions from C++
Other
14 stars 4 forks source link

Don't install cpp_bindgen via user using FetchContent #30

Open havogt opened 5 years ago

havogt commented 5 years ago

cpp_bindgen does not compile anything, but just installs sources which are then (automatically) compiled by the user.

In the case where the user uses FetchContent, the install target of cpp_bindgen will be called, which installs the sources of cpp_bindgen to the location defined by the user-CMake. This doesn't harm but might be confusing.