[CMake] Custom dependencies (gcc -M)

2019-11-18 Thread Niklas Claesson
Hi, How do I add dependencies of a C header file to a custom target? Thanks - Niklas -- Powered by kitware.com/cmake Kitware offers various services to support the CMake community. For more information on each offering, please visit https://cmake.org/services Visit other Kitware open-source

[CMake] Calling external build system

2019-10-09 Thread Niklas Claesson
Hello, I'm creating a static library (*.a) with a separate build system (cargo). That build system also produces a dependency file in the Makefile format (also produced by `gcc -M`). Is it possible to include this file into the generated makefiles either through a makefile inclusion or through cma