These changes provide a little more flexibility when specifying dependencies. I am currently porting some of my projects to mingw which already has libusb and hidapi available.
So far so good, there is only one more outstanding issue. When using ExternalProject_Add, none of the parent projects settings are passed on. I was thinking of adding a new variable CABL_EXT_CMAKE_ARGS to pass these through the add*() functions. I need this to get around a cmake issue with mingw and to specify the cmake generator (so I can use ninja all round). What do you think?
Heya!
These changes provide a little more flexibility when specifying dependencies. I am currently porting some of my projects to mingw which already has libusb and hidapi available.
So far so good, there is only one more outstanding issue. When using ExternalProject_Add, none of the parent projects settings are passed on. I was thinking of adding a new variable CABL_EXT_CMAKE_ARGS to pass these through the add*() functions. I need this to get around a cmake issue with mingw and to specify the cmake generator (so I can use ninja all round). What do you think?
This change is