Skip to content

Commit

Permalink
Add install includes only macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed Apr 28, 2024
1 parent 71494b1 commit 386a4f3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Makefile.macros
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ define INSTALL_PROJECT_LIBRARIES
endef

###################################################
# Install .hpp files to the $(INSTALL_INCLUDEDIR) folder
# Install all .hpp files to the $(INSTALL_INCLUDEDIR) folder
# TODO need glob regex
#
define INSTALL_PROJECT_HEADERS
Expand All @@ -279,6 +279,14 @@ define INSTALL_PROJECT_HEADERS
-name "*.[hit]pp" -o -name "*.incl" -o -name "*.h" -o -name "*.hh" -o -name "*.hxx")
endef

###################################################
# Install hpp files from include folder to the $(INSTALL_INCLUDEDIR) folder
#
define INSTALL_PROJECT_INCLUDES
@$(call print-to,"Installing","headers","$(INSTALL_INCLUDEDIR)","")
@$(call INSTALL_FOLDER,include,$(INSTALL_INCLUDEDIR))
endef

###################################################
# Install folder and files of third part libraries
#
Expand Down

0 comments on commit 386a4f3

Please sign in to comment.