Closed MrPointer closed 5 years ago
@Nihlus Could you give this a try in your project?
That seems to work, but it's still failing when I attempt a call to find_arduino_library
afterwards.
@Nihlus Does this function somehow relate to testing this feature? Because you may be talking about #56 If so - Could you please attach the CMake file you're using?
This feature works fine :)
On Fri, 7 Dec 2018 at 23:54, Timor Gruber notifications@github.com wrote:
@Nihlus https://github.com/Nihlus Does this function somehow relate to testing this feature? Because you may be talking about #56 https://github.com/arduino-cmake/Arduino-CMake-NG/issues/56 If so - Could you please attach the CMake file you're using?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/arduino-cmake/Arduino-CMake-NG/pull/60#issuecomment-445390590, or mute the thread https://github.com/notifications/unsubscribe-auth/ACO2TMsLF2emHIPcyVLdCF4RflCDYrRWks5u2vG6gaJpZM4Y9cjN .
Now one can create a library target using the
add_arduino_library
function without providing any sources to it at creation time. It's important to note though that sources must be provided sometime using thetarget_sources
function, otherwise execution will fail.Fixes #57