arduino-cmake / Arduino-CMake-NG

CMake-Based framework for Arduino platforms
MIT License
138 stars 39 forks source link

Added ability to create libraries without sources #60

Closed MrPointer closed 5 years ago

MrPointer commented 5 years ago

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 the target_sources function, otherwise execution will fail.

Fixes #57

MrPointer commented 5 years ago

@Nihlus Could you give this a try in your project?

Nihlus commented 5 years ago

That seems to work, but it's still failing when I attempt a call to find_arduino_library afterwards.

MrPointer commented 5 years ago

@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?

Nihlus commented 5 years ago

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 .