-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Expected Behavior:
In a header-only template, the libname.a file should not be generated when compiling
Actual Behavior:
In a header-only template, a libname.a file is generated and included in the template zip. This may sometimes, but not always, cause projects which have the template installed to not compile, as it does not recognize the file and attempts to handle it as a linker script.
Steps to reproduce:
- Create an empty PROS project
- Set
IS_LIBRARYto1 - Set
LIBNAMEtoheaderonly - Add
headeronly.hto theincludedirectory, and toTEMPLATE_FILES - Run
pros make; pros make template - Run
pros c fetch headeronly@1.0.0.zip - Extract
headeronly@1.0.0.zip - Observe
headeronly.ainfirmwaredirectory
System information:
Windows 11: Reproduced
Linux (Ubuntu, Arch): Reproduced
macOS: unknown
PROS Version: 3.5.4
Metadata
Metadata
Assignees
Labels
No labels