-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: CompilationRelated to compilation of Arduino sketches Type: DuplicateAnother item already exists for this topic arduino-builderThe tool used to handle the Arduino sketch compilation process arduino-cliRelated to the arduino-cli tool feature requestA request to make an enhancement (not a bug fix)
Milestone
@wandrson
Description
I am attempting to modify my Entropy library to allow the user to decide if they want to include floating point functions for the library. I placed conditional defines around the relavent code; however, it wouldn't link. I determined that the source level #define was not being passed to the libraries cpp compile, though it was passed to the libraries header file.
My current solution is to require the user to comment/uncomment the header file for the library, but this is cumbersome, and problematic. It would be nice if the compilation for library code included the defines made by the Arduino sketch.
Metadata
Metadata
Assignees
Labels
Component: CompilationRelated to compilation of Arduino sketches Type: DuplicateAnother item already exists for this topic arduino-builderThe tool used to handle the Arduino sketch compilation process arduino-cliRelated to the arduino-cli tool feature requestA request to make an enhancement (not a bug fix)