Hi,

I (and someone else) stumbled upon a problem when using the Azure IOTHUB
SDK for C on a Linux platform using cmake 3.10+:

https://github.com/Azure/azure-iot-sdk-c/issues/505

The problem seems to be triggered by having two .def-files as
add_library()-source-files.

During the build cmake generates a command which does:

  cmake -E __create_def

This fails as unknown to cmake.

Is this a cmake-bug or is Azure using .def-files the wrong way?

A quick additional test show that the problem is coming from having
2 .def-files as sources. Having just one is OK.

--
Patrick.



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to