From: dberzano Date: Thu, 29 Jan 2015 17:41:53 +0000 (+0100) Subject: PAR: list of headers from CMake X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=a05f4fbd60290b2dfcfa9783288bf5e4bac160be PAR: list of headers from CMake Like that we can include also the "extra headers", i.e. those header files with no corresponding .cxx --- diff --git a/cmake/GenParFile.cmake b/cmake/GenParFile.cmake index ccea4d3452f..15951abeb2f 100644 --- a/cmake/GenParFile.cmake +++ b/cmake/GenParFile.cmake @@ -27,9 +27,11 @@ function(add_target_parfile PARMODULE PARSOURCES PARHEADERS PARLINKDEF PARLIBDEP # Export variables: used in configure_file() set(PARMODULE "${PARMODULE}") string(REPLACE ";" " " PARSOURCES_FLAT "${PARSOURCES}") + string(REPLACE ";" " " PARHEADERS_FLAT "${PARHEADERS}") #message(STATUS "[add_target_parfile] Library (space-separated): ${PARMODULE}") #message(STATUS "[add_target_parfile] Sources (list): ${PARSOURCES}") + #message(STATUS "[add_target_parfile] Headers (list): ${PARHEADERS}") #message(STATUS "[add_target_parfile] Dependencies (space-separated): ${PARLIBDEPS}") if(NOT "${ARGV5}" STREQUAL "") diff --git a/cmake/PARfiles/Makefile.in b/cmake/PARfiles/Makefile.in index b5f330e714a..e3ce33b091d 100644 --- a/cmake/PARfiles/Makefile.in +++ b/cmake/PARfiles/Makefile.in @@ -29,10 +29,9 @@ ifneq ($(FASTJET),) ROOT_DEFINES += -DHAVE_FASTJET endif -# Exclude generated dictionaries from the list of sources SRCS := @PARSOURCES_FLAT@ +HDRS := @PARHEADERS_FLAT@ -HDRS := $(SRCS:.cxx=.h) DHDR := $(PAR_MODULE)LinkDef.h SRCS += G__$(PAR_MODULE).cxx