Flix01 / imgui

Dear ImGui Addons Branch = plain unmodified dear imgui plus some extra addon.
https://github.com/Flix01/imgui/wiki/ImGui-Addons-Branch-Home
MIT License
396 stars 34 forks source link

Defining NO_IMGUI_ADDONS does not make imguivariouscontrols a "yes_addon" #39

Closed JMendyk closed 6 years ago

JMendyk commented 6 years ago

When I define NO_IMGUI_ADDONS, imguivariouscontrols is still being by addons/imgui_user.h included.

Steps to reproduce: Execute gcc with NO_IMGUI_ADDONS defined and -MM flag (which lists dependencies of given header/source file).

gcc -MM addons/imgui_user.h -DNO_IMGUI_ADDONS

Output:

imgui_user.o: addons/imgui_user.h \
 addons/./imguivariouscontrols/imguivariouscontrols.h

imguivariouscontrols.h is included despite defining NO_IMGUI_ADDONS.

Edit: I created pull request to solve this issue.

Flix01 commented 6 years ago

Thanks for your pull request! Merged.